15 years on The Web
miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
How To miniBB Support Forums / How To /   

how to intergate my miniBB!

Page  Page 1 of 2:  1  2  Next »  
Author _daPost
#1 | Posted: 10 Sep 2006 09:18 
I know read the manual. I have readed it, but i got still some problems. I don't know why but phBB and SMF are easy to intergrate but this miniBB (huh!)...

I wonder that can I just modify main_header.php and main_footer.php by putting my own code there? I'm using "Dynamic pagesystem" and i'm wondering how to include miniBB then

thx for help if u even try

Author Team
#2 | Posted: 10 Sep 2006 14:58 
hello :) you can simply modify miniBB main_header.html and main_footer.html templates and include footer & header HTML code from your site there.

Or else.. if you need to include miniBB as a php script inside some PHP file..

Use this code:


Insert it into the PHP file you're including miniBB in and change all



occurencies in the code above to your site's header and footer php files if these're needed.

For more detailed instructions we need to know the source of the script you're running on your website(the one you're including your board into) and the way you're trying to integrate the board.

Author Paul
Lead Developer
#3 | Posted: 10 Sep 2006 16:11 
Check this thread. It's easier than you can imagine.

Author _daPost
#4 | Posted: 11 Sep 2006 13:58 
11Sep200615:56 - Attached on mergeing:
how to intergate my miniBB details coz that was closed!

OK that "close of topic" came to early and I didn't get into it. I wanted to tell details but can't, so i tell them in new topic. Sorry.

So lets say that I have folder named "a" where is my page, coz i want to test it before releasing :). I have index.php and there is include-code which includes all other pages to there. So I have "Dynamic pagesystem". That means all my pages are .php-files.

So, like I said in earlier topic i want include my miniBB to my site. I tryed the code from the manual, but still... The problem is i DON'T have header.php and footer.php because of my "Dynamic pagesystem". Dynamic pagesystem has only one page with code where other pages are included.

I think that there is no possibility to include header and footer from templates-folder? So what I do?

The source code of my index.php is here:

Hietsikka.Com, se ainoa oikea...

if(!isset($_GET["sivu"])) { $sivu = "etusivu"; }
else { $sivu = $_GET["sivu"]; }
if(!file_exists($sivu . ".php")) { $sivu = "error"; }
include($sivu . ".php");

© 2003-2006, Hietsikka.Com.

Author Paul
Lead Developer
#5 | Posted: 11 Sep 2006 16:02 | Edited by: Paul 
Not worth to post your custom code here, because nobody from us will study it for free anyway.

We are providing only paid support on custom integrations. If you are unable to imagine how to do it yourself, we can do it for you for a small fee.

Author Da_post
#6 | Posted: 13 Sep 2006 14:22 
Ah, that's not custom code. That's odd... i thought that those who have used php a lot knows this "Dynamic pagesystem". I found it some years ago in one page. I have seen many many pages with this hint. And in all my guestbooks scripts what i have used..... there they tell how to get it inculded with this "Dynamic pagesystem".

I wonder if u looked at that php-code in center of my html-code and you will notice something....

Author Paul
Lead Developer
#7 | Posted: 13 Sep 2006 16:41 
Yes, I see

if(!isset($_GET["sivu"])) { $sivu = "etusivu"; }
else { $sivu = $_GET["sivu"]; }
if(!file_exists($sivu . ".php")) { $sivu = "error"; }
include($sivu . ".php");

It seems you're including some files depending on $sivu variable. So


And the link I've provided already mentions how to include the forum from your own file... Is it so difficult?

Author Anonymous
#8 | Posted: 17 Sep 2006 10:33 
Yeah, but i don't just know what went wrong. So i just edited header and footer.html -files :D Thank's anyway for help!

Author cryforhelp
#9 | Posted: 19 Sep 2006 13:55 
yeah its very nice to have problem again, i really like 'em :(

Now its says something "warnign no header output send". I edited header and footer.html, BUT not removed anything important (think so). Just default logo...

Author Paul
Lead Developer
#10 | Posted: 19 Sep 2006 17:27 
Very sleak description. I'm not unable even to catch the starting point of the problem.

Author icq238777372
#11 | Posted: 21 Sep 2006 10:36 
Oh, just pay them! 10 bux i wonder why not?

Author bigfella
#12 | Posted: 23 Sep 2006 04:51 
use an iframe ?
hope this link works :)

Author Jay
#13 | Posted: 25 Sep 2006 20:27 
Hi bigfella im searching for something similar to what u did, How did u make the forum table have a different width. I wanted to include it in an iframe but there is no way to change original width. U know where to change it?

Thx in advance

Author Paul
Lead Developer
#14 | Posted: 26 Sep 2006 02:44 
bb_default_style.css keeps all the widths and colors of the forum.

Author Jay
#15 | Posted: 26 Sep 2006 06:35 
Thx a lot, seems i was doing something wrong with adress because of using 2 different templates for different pages

Page  Page 1 of 2:  1  2  Next » 
How To miniBB Support Forums / How To / how to intergate my miniBB! Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.

Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB