I've tried all the methods of 'integrating' phpbb into a website, but none of them worked for me. So after looking at the example.php file and looking at the screenshot of what its doing, I think I need to add some sort of include or call on another link. This is all on my local server and NOT on the live site yet. Any thoughts or ides will be greatly appreciated,
Scrrenshot: my ourphpbb3.php:
Code: Select all
<?php
include( "./tng_begin.php"); // at the beginning only one point if TNG is on the same level as this file
if( !$cms['support'] )
$cms['tngpath'] = "./"; // same as above. Otherwise two points if this file is in a subfolder to the main directory
$yourtitle = "myphpbb3"; // or something else
$yourlink = "/ourphpbb3.php"; // do not forget the subfolder if this file is not in the main directory! (/subfolder/ourguestbook.php)
$logstring = "<a href=\"$yourlink\">$yourtitle</a>";
writelog($logstring);
preparebookmark($logstring);
tng_header( $yourtitle, $flags );
?>
<h1 class="header"><img src="img/tng_hist.gif" class="headericon"/> <?php echo $text['myphpbb3']; ?></h1><br clear="left"/>
<?php include('../phpBB3/styles/prosilver/template/index.html'); // one point as above. If using Lazarus Guestbook, Do not forget the folder name where the file gbinclude.php is located!
tng_footer( "" );
?>