UseBB Community

UseBB support, discussion and development

UseBB Inegration

Moderators: Gaia.

Post Reply

Page: 1

Author Post
Member
Registered: Apr 2009
Posts: 1
I am tring to integrate any kind of forum into my websites layout I read on a SMF forum that UseBB is easy to adapt can anyone provide a easy way of doing this .. or a link to a guide, I wish to get the forum looking like this example of an embedded forum on my site http://carmichaelcomputers.co.uk/forum.html .

I was reading an article posted here about this

Quote
I've made a (template) page (http://mywebsite/forumframework/)where only my website framework is showed and a tag where the body comes (forumcontent). So what I do is I grep the framework and place it around the forum.

The code is very simple, just 2 lines in sources/template.php almost on the bottom of the page above the "Compression and output" comments.
$framework = file_get_contents("http://mywebsite/forumframework/");
$this->body = str_replace("forumcontent",trim($this->body),stripslashes ($framework));


Can anyone explane this a bit better ?


Thank you.
Developer
Registered: Apr 2004
Posts: 2230
Location: Belgium
There would be no reason for making such code changes except for when you are using PHP extensively yourself and you know what you are doing.

If you want to adjust the forum's look to your website, just make a new template in the templates directory, eventually based off the default one.

Post Reply

Page: 1

UseBB Community is powered by UseBB 1 Forum Software