miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Specific miniBB Support Forums / Specific /   

Integration with TinyButStrong

Author phiphou
Registered
#1 | Posted: 20 Jul 2006 15:18 | Edited by: phiphou 
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 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
Check out the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB