miniBB ® 

miniBB

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

Integration with TinyButStrong

 
Author phiphou
Partaker
#1 | Posted: 20 Jul 2006 15:18 
Hi everybody,

I'm trying to integrate MiniBB on a site that use the TinyButStrong template engine.

Whith TBS, I can do something like that :

-index.php:

<?php include_once('tbs_class.php') ;
$test = 'test.php' ;
$TBS = new clsTinyButStrong ;
$TBS->LoadTemplate('tbs_fr_exemples_script.htm') ;
$TBS->Show() ;
?>

-index.html:

<table>
<tr>
<td>[var.test;script=[val];subtpl]</td>
</tr>
</table>

-test.php:

<?php
echo 'This text is displayed by an external script.' ;
?>

So, if I replace $test = 'test.php' by '../miniBB/index.php' I can display miniBB home page well integrated in my template engine.

If I replace it by '../miniBB/index.php?action=registernew' I can display miniBB registration page.
The same for almost all the pages (I haven't tested all of them...)

But, if I replace it by '../miniBB/index.php?action=vtopic&forum=1', MiniBB always say me the forum does'nt exist (it's not true, I got 3 forums filled with many messages).
The same with '../miniBB/index.php?action=vthread&forum=1&topic=1'.

Can you help me ?

Regards...

Specific miniBB Support Forums / Specific /
 Integration with TinyButStrong
 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
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑