This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Integration on PHPBB3 forum custom pages
#1

Took a while but I found out to integrate commentic on phpbb3 custom pages. I'm sharing this info if anyone else wants it

On your body.html page in the template file

Put this code in the very top of the page
Quote: <!-- PHP -->
session_start();
ob_start();
<!-- ENDPHP -->

Add the following inside the page:

Quote:<!-- PHP -->
$cmtx_identifier = '1';
$cmtx_reference = 'Page One';
$cmtx_path = 'comments/';
define('IN_COMMENTICS', 'true'); //no need to edit this line
require $cmtx_path . 'includes/commentics.php'; //no need to edit this line
<!-- ENDPHP -->

Add the following inside the head tag of your overall_header.html

Quote:<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="comments/css/stylesheet.css"/>

(the body pages don't have <head> tags cause it's in the overall_header)

Just a few small changes and it works perfectly Smile

You can see it on my pages on childchat.org

I'd like to find a way for commentic to use the forum's login - I'm sure it's possible and not too hard
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by paulkienitz
06-Dec-2024, 08:53 PM
Last Post by nsuomine
20-Jan-2023, 08:32 AM
Last Post by Steven
23-Jan-2019, 02:07 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)