The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
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 ?
Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Use the Admin CP.
![]() Under every forum options you can set the style it's using. |
|
#3
|
||||
|
||||
|
it's not for style it's for smiley
![]() 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 |
|
#4
|
||||
|
||||
|
Ok then, just use that somewhere in forumdisplay.php and you're set.
|
|
#5
|
||||
|
||||
|
forumdisplay
i was thinking to newthread.php and newreply.php no ? |
|
#6
|
||||
|
||||
|
Oh right, it's for posting... then yes, the files you said.
But use $foruminfo['forumid'] because there is no $forumid in newreply.php. |
|
#7
|
||||
|
||||
|
ok thanks :up:
|
![]() |
|
|