The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Display Forum Name In Forum Display
Is there a way i can display the name of the forum when viewing the forum, in forumdisplay.
Say i had a forum called "Sports" and i clicked on it, then above the threads i want to put the forum name "Sports". Something like this, im using this in the SHOWTHREAD template, to display the thread name when viewing a thread. <h2>$thread[title]</h2> |
#2
|
||||
|
||||
Sure. I think it's just called $forum[title] or $foruminfo[title]. You can turn on the Description for the forums and it would be there, too.
|
#3
|
|||
|
|||
Thanks a lot Lynne, it was $foruminfo[title]...
On a side note, for the one im using this in the SHOWTHREAD template, to display the thread name when viewing a thread: <h2>$thread[title]</h2> Is there a way to only display it in certain forums? |
#4
|
||||
|
||||
Put a condition around it:
HTML Code:
<if condition="in_array($forumid, array(x, y, z))"> code to show title only in forumid x, y, or z </if> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|