The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Force Style on non-forum page?
Hullo,
i?m currently using the following code in the file test_template.php to display a... well... test_template: <?php error_reporting(7); require('./global.php'); eval("dooutput(\"".gettemplate('test_template')."\ ");"); ?> Currently, the content is shown in the style the user has chosen. But is there a way to force a specific style to be shown, just for this page? Something like "dooutput (.getstyle(1));" |
#2
|
||||
|
||||
normally you should be able to put $styleid=xx; before the require global.php.
i think it'll work |
#3
|
|||
|
|||
Thanks, it worked.
But while i continue to surf the board, it does not return to the default-style the user has chosen. Any way to achieve this, too? |
#4
|
|||
|
|||
*push*
Still found no way to reset the style after leaving the specified page. Anyone has an idea? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|