Code

Topics | PHP Social Discussion Web Template

Topics | PHP Social Discussion Web Template

Topics | PHP Social Discussion Web Template - 1

Topics | PHP Social Discussion Web Template - 2 Topics | PHP Social Discussion Web Template - 3 Topics | PHP Social Discussion Web Template - 4 Topics | PHP Social Discussion Web Template - 5 Topics | PHP Social Discussion Web Template - 6 Topics | PHP Social Discussion Web Template - 7

Topics | PHP Social Discussion Web Template - 8

Topics | PHP Social Discussion Web Template - 9
iOS, Android and Web versions can share the same Parse database on back4app

Topics | PHP Social Discussion Web Template - 10

Topics | PHP Social Discussion Web Template - 11


Topics | PHP Social Discussion Web Template - 12

25 May 2018
• Accordingly to the new EU GDPR terms, I've updated the 'tou.html' file and Documentation.
IMPORTANT: This means that if a User asks for his/her Account deletion, you must do it within 24 hours, as the GDPR's "Right to be forgotten" Article states (LINK: https://gdpr-info.eu/art-17-gdpr/)
21 March 2018
• Websites with Facebook login must have HTTPS enabled, so I've added this code on the top of the "index.php" file:
// Require https
if ($_SERVER['HTTPS'] != "on") {
    $url = "https://". $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
    header("Location: $url");
    exit;
}

• Edited "fb-callback.php" in order to work with the new "Use Strict Mode for Redirect URIs" function
• Added this line in the very bottom of the Configs.php:
    $_GLOBALS['FACEBOOK_CALLBACK_URL'] = $GLOBALS['WEBSITE_PATH'].'fb-callback.php';

• Updated the Documentation
7 March 2018
• Fixed a redirect issue in login.php and signup.php by moving ths line over the  alert-success div:
       header("Refresh:1; url=index.php");
3 Deecember 2017
• Updated the Facebook Login section of the Documentation
10 November 2017
• Edited comment.php by adding 2 'preg_replace()' functions in order to make http:// or https:// links clickable in the topic title and coments:
   // Make links clickable
   echo preg_replace('!(((f|ht)tp(s)?://)[-a-zA-Zа-яА-Я()0-9@:%_+.~#?&;//=]+)!i', '<a href="$1" target="_blank">$1</a>', $topic);      
1 November 2017
• Initial release | HTML/CSS/PHP
• Backend with Parse PHP SDK hosted on back4app.com


Made from iOS and Android apps makers, Topics is a Responsive HTML/CSS Website Template where users can browse random questions or even search them and join exciting conversations by posting/reading comments on each Topic.
This app allows users to earn special KARMA points based on created topics, posted comments and up-votes received for their topics/comments from other people.
It also has all the required report features for inappropriate topics, comments and/or users.

You may also use the Adminca CMS Panel for Parse apps as a great alternative to insert/edit data in your Parse Dashboard, after you’ll create your app on back4app, create a free account on http://adminca.com and create a new Panel, choose Self-hosted Parse server and paste your Host link, Application ID and Master Key in the relative fields (you can find them in Core Settings of your back4app dashboard)

Topics | PHP Social Discussion Web Template - 13

About Parse SDK and back4app

Read this article for more info about back4app and Parse SDK: https://hubpages.com/technology/Parse-SDK-will-not-shutdown-in-thanks-to-back4app

Can I host Parse Server on my own server?

Yes, although I don’t provide support for the setup process, you can read the official Guide here: http://parseplatform.org

What about free support for this template?

I can offer free support for bugs encountered in the original code. Instead, if you’ve edited the code and messed something up with it, I may apply some fee to fix it either via TeamViewer or by checking your app project files directly on my computer.



Topics | PHP Social Discussion Web Template - 14

• Fully Responsive
• Works with Parse Server hosted on back4app.com
• Subit Topics and send comments
• Up/down vote comments and Topics
• Account page with Edit profile feature, avatar image included
• Font Awesome icons
• Flat and modern Design
• Easy to customize
• Bootstrap
• HTML, CSS, PHP and Javascript
• Well commented code
• jQuery


Topics | PHP Social Discussion Web Template - 15

• You own domain and hosting with at least PHP 5.4 (GoDaddy and many other hosting providers have the latest version of PHP installed as default)
• A free account on back4app.com
• Basic knowledge of how the Parse Dashboard works: https://www.youtube.com/watch?v=TxeTFdSVCDA

Topics | PHP Social Discussion Web Template - 16

Topics | PHP Social Discussion Web Template - 17

Topics | PHP Social Discussion Web Template - 18

Topics | PHP Social Discussion Web Template - 19

by
by
by
by
by
by