miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
How To miniBB Support Forums / How To /  
 

how to intergate my miniBB!

 
 
Page  Page 1 of 2:  1  2  Next »

Author _daPost
Guest
#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
8-)
#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:

https://www.minibb.com/forums/manual.html#includeindex


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

../inc/header.php

../inc/footer.php

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
Guest
#4 | Posted: 11 Sep 2006 13:58 
11 Sep 2006 15: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:

<html>
<head>
<title>Hietsikka.Com, se ainoa oikea...</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="Generator" content="Notepad,photoshopcs2">
<meta name="Author" content="Hietsikka.Com">
<meta http-equiv="Content-Language" content="fi">
<meta name="Copyright" content="Copyrights Jahuwebb">
<meta name="Description" content="Artikkeleita, arvosteluja, oppaita, hupia ja hyötyä!">
<meta name="Keywords" content="Hietsikka.com, videot, kotisivut, photoshop, buttoninvaihto, taustakuvat, kuvankäsittely, tietoturva, artikkelit, tietotekniikka, pelit, oppaat, hietsikka, arvostelut, kilpailut">
<meta name="Robots" content="All">
</head>
<body>
<table width="940px" height="194px" cellpadding="0" cellspacing="0" align="center">
<tr>
<td class="header">
</td>
</tr>
</table>



<table width="940px" height="1px" cellpadding="0" cellspacing="0" align="center">
<tr>
<td class="teksti">

<div class="valikko">
<!--[if lte IE 6]>
<link rel="stylesheet" media="all" type="text/css" href="tyyli_ie.css" />
<![endif]-->
<link rel="stylesheet" media="all" type="text/css" href="tyyli.css" />


<div class="menu">

<ul>
<li><a class="hide" href="index.php?sivu=etusivu">Hietsikka.Com</a>

<!--[if lte IE 6]>
<a href="index.php?sivu=etusivu">Hietsikka.Com
<table><tr><td>
<![endif]-->

<ul>
<li><a href="index.php?sivu=etusivu" title="informaatio">Informaatio</a></li>
<li><a href="index.php?sivu=yhteystiedot" title="yhteystiedot">Yhteystiedot!</a></li>
<li><a href="index.php?sivu=palaute" title="palaute">Anna palautetta!</a></li>

</ul>




<!--[if lte IE 6]>
</td></tr></table>
</a>
<![endif]-->







</li>

<li><a class="hide" href="index.php?sivu=arvostelut">Arvostelut</a>

<!--[if lte IE 6]>
<a href="index.php?sivu=arvostelut">Arvostelut
<table><tr><td>
<![endif]-->

<ul>
<li><a href="index.php?sivu=pelit" title="peliarvostelut">Peliarvostelut</a></li>
<li><a href="index.php?sivu=elokuvat" title="elokuvaarvostelut">Elokuva-arvostelut</a></li>
<li><a href="index.php?sivu=laitteet" title="laitearvostelut">Laitearvostelut</a></li>
<li><a href="index.php?sivu=sivut" title="sivuarvostelut">Sivuarvostelut</a></li>
</ul>

<!--[if lte IE 6]>
</td></tr></table>
</a>
<![endif]-->

</li>

<li><a class="hide" href="index.php?sivu=artikkelit">Artikkelit</a>

<!--[if lte IE 6]>
<a href="index.php?sivu=artikkelit">Artikkelit
<table><tr><td>
<![endif]-->



<!--[if lte IE 6]>
</td></tr></table>
</a>
<![endif]-->

</li>

<li><a class="hide" href="index.php?sivu=galleria">Galleria</a>

<!--[if lte IE 6]>
<a href="index.php?sivu=galleria">Galleria
<table><tr><td>
<![endif]-->

<ul>
<li><a href="index.php?sivu=taustakuvat" title="taustakuvat">Taustakuvat</a></li>

</ul>

<!--[if lte IE 6]>
</td></tr></table>
</a>
<![endif]-->

</li>

<li><a class="hide" href="index.php?sivu=oppaat">Oppaat</a>

<!--[if lte IE 6]>
<a href="index.php?sivu=oppaat">Oppaat
<table><tr><td>
<![endif]-->

<ul>
<li><a href="index.php?sivu=photoshop" title="photoshop">Photoshop oppaat</a></li>
<li><a href="index.php?sivu=kotisivut" title="kotisivut">Kotisivu oppaat</a></li>
<li><a href="index.php?sivu=piirrustus" title="piirrustus">Piirrustus oppaat</a></li>
<li><a href="index.php?sivu=muut" title="muut">Muut oppaat</a></li>

</ul>

<!--[if lte IE 6]>
</td></tr></table>
</a>
<![endif]-->

</li>

<li><a class="hide" href="index.php?sivu=hupi">Hupi</a>

<!--[if lte IE 6]>
<a href="index.php?sivu=hupi">Hupi
<table><tr><td>
<![endif]-->

<ul>
<li><a href="index.php?sivu=flash" title="flash">Flash esitykset</a></li>
<li><a href="index.php?sivu=videot" title="videot">Videot</a></li>
</ul>

<!--[if lte IE 6]>
</td></tr></table>
</a>
<![endif]-->

</li>

<li><a class="hide" href="index.php?sivu=hyoty">Hyöty</a>

<!--[if lte IE 6]>
<a href="index.php=sivu=hyoty">Hyöty
<table><tr><td>
<![endif]-->

<ul>
<li><a href="index.php?sivu=kuvankasittely" title="kuvankäsittely">Kuvankäsittely</a></li>
<li><a href="index.php?sivu=virustorjunta" title="virustorjunta">Virustorjunta</a></li>
<li><a href="index.php?sivu=selaimet" title="selaimet">Internet-selaimet</a></li>
<li><a href="index.php?sivu=ftpohjelmat" title="ftp">FTP-ohjelmat</a></li>
<li><a href="index.php?sivu=keskusteluohjelmat" title="keskusteluohjelmat">Keskusteluohjelmat</a></li>
</ul>

<!--[if lte IE 6]>
</td></tr></table>
</a>
<![endif]-->

</li>



<li><a class="hide" href="index.php?sivu=linkit">Linkit</a>

<!--[if lte IE 6]>
<a href="../opacity/index.html">Linkit
<table><tr><td>
<![endif]-->

<ul>
<li><a href="index.php?sivu=buttoninvaihto" title="Buttoninvaihto">Buttoninvaihto</a></li>
<li><a href="index.php?sivu=linkita" title="Linkinvaihto">Linkinvaihto</a></li>

</ul>

<!--[if lte IE 6]>
</td></tr></table>
</a>
<![endif]-->

</li>


<li><a class="hide" href="index.php?sivu=keskustelu">Keskustelu</a>

<!--[if lte IE 6]>
<a href="index.php?sivu=keskustelu">Keskustelu
<table><tr><td>
<![endif]-->

<ul>
<li><a href="../opacity/colours.html" title="colour wheel">Rekisteröidy</a></li>
<li><a href="../opacity/picturemenu.html" title="a menu using opacity">Kirjaudu sisään</a></li>

</ul>

<!--[if lte IE 6]>
</td></tr></table>
</a>
<![endif]-->

</li>

<li><a class="hide" href="http://www.hietsikka.com/jahuwebb/index.php?sivu=vieraskirja/vie w&zykpage=1">Vieraskirja</a>

<!--[if lte IE 6]>
<a href="http://www.hietsikka.com/jahuwebb/index.php?sivu=vieraskirja/vie w&zykpage=1">Vieraskirja
<table><tr><td>
<![endif]-->

<ul>
<li><a href="http://www.hietsikka.com/jahuwebb/index.php?sivu=vieraskirja/vie w&zykpage=1" title="lue">Lue</a></li>
<li><a href="http://www.hietsikka.com/jahuwebb/index.php?sivu=vieraskirja/vie w&zykpage=kirjoita" title="Kirjoita">Kirjoita</a></li>

</ul>

<!--[if lte IE 6]>
</td></tr></table>
</a>
<![endif]-->

</li>
</div>
</div>

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





</td>
</tr>
</table>
<table width="940" height="25" cellpadding="0" cellspacing="0" align="center">
<tr>
<td class="end">
© 2003-2006, Hietsikka.Com.
</td>
</tr>
</table>






</body>
</html>

Author Paul
Lead Developer 
#5 | Posted: 11 Sep 2006 16:02 
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
Guest
#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

if($sivu=='forums'){
include('./path_to_forums/index.php');
}

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

Author Anonymous
Guest
#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
Guest
#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
Partaker
#11 | Posted: 21 Sep 2006 10:36 
Oh, just pay them! 10 bux i wonder why not?

Author bigfella
Partaker
#12 | Posted: 23 Sep 2006 04:51 
use an iframe ?
hope this link works :)
http://www.au.up4.net/wr.html

Author Jay
Guest
#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
Guest
#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!
 Share Topic's Link

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


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑