Firefox PHP

Phorum and BBClone

Posted by cooldown 
Phorum and BBClone
May 31, 2007 02:39AM
hi everybody,
I am just wondering is there any way to integrate Phorum and BBClone? I couldn't do this.
Thank you in advance for suggestions.
Re: Phorum and BBClone
May 31, 2007 03:33AM
What is BBClone? That sounds like a phpBB clone. Why integrate two bulletin board systems if I may ask?


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Phorum and BBClone
May 31, 2007 12:31PM
sorry, BBClone is quite a useful web counter:
[bbclone.de]

I just wanted to have it on my website but it is not easy to integrate it with Phorum (and Wordpress).
Re: Phorum and BBClone
May 31, 2007 01:05PM
What's the problem then? What did you try and where did you get stuck? What I can read from the manual, is that you have to add some extra PHP code to each page. If that code is used to create some hidden element in the page, which is used for doing the page counting, then this could be as simple as adding the provided example code block to your footer.tpl template file.

The end of your footer.tpl could look like this:
<?php
 define("_BBC_PAGE_NAME", $_SERVER['REQUEST_URI']);
 define("_BBCLONE_DIR", "bbclone/");    // make this fit your bbclone dir
 define("COUNTER", _BBCLONE_DIR."mark_page.php");
 if (is_readable(COUNTER)) include_once(COUNTER);
?>

</body>
</html>
Based on the docs that I've read, I think this could do the trick.

For Wordpress, there seem to be guides on the web. Search for "wordpress bbclone" and you get for example this page.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Phorum and BBClone
June 01, 2007 12:23PM
Yes, everything is fine, since I am not very smart, last time I just messed up the first line, namely $_SERVER['REQUEST_URI].

Thank you for your help. And of course thank you for Phorum. The board is great.
Sorry, only registered users may post in this forum.

Click here to login