![]() |
i have two differents template i want to show one if the forum id is XX and the other one if it's YY i have to put a if forumid=XX template = X else template = YY or there is better to do ?
|
Use the Admin CP. ;)
Under every forum options you can set the style it's using. |
it's not for style it's for smiley :D
i'm using an other system than the default of vb and i want to have for a specific categorie the smiley in newthread ... so i use this : if ($forumid == 18 || $forumid == 19 || $forumid == 20) { eval("\$smile_bible = \"".gettemplate('smile_bible')."\";"); } but i don't know if there is a better way |
Ok then, just use that somewhere in forumdisplay.php and you're set. :)
|
forumdisplay
i was thinking to newthread.php and newreply.php no ? |
Oh right, it's for posting... then yes, the files you said.
But use $foruminfo['forumid'] because there is no $forumid in newreply.php. |
ok thanks :up:
|
All times are GMT. The time now is 12:27 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|