The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How to...
Hello,
I want to show only selected usergrups example: usergroup 1 and 2 something in the forumhome template. How to make the <if contruction ? |
#2
|
|||
|
|||
Been asked many times, use the search feature. Anyway here:
Code:
<if condition="is_member_of($vbulletin->userinfo, 1, 2)"> Code to show usergroup 1 and 2 </if> |
#3
|
||||
|
||||
Ok, one more thing, how to display forum name, egz. my subforum is called: global and games
I have a global template where i want to display news, with thred name etc... i know all, but don't know how to display subforum name |
#4
|
|||
|
|||
The name of your board?
That is $vboptions[bbtitle] |
#5
|
||||
|
||||
Nope, the name of sub forum in witch is the thread
|
#6
|
|||
|
|||
Hmm try $foruminfo[title]
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|