The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
if canadmin tag
IIRC in vb3 templates, you could wrap a piece of code with a <ifcanadmin> tag, or something similar, so that only users who are in a group with admincp access (can admin) could see what's wrapped inside
is there anything similar in vb4, because it would be extremely useful to me thank you |
#2
|
|||
|
|||
Have not seen it for vb4. Can you link to where you have seen this on here if it is here. But the code for vb3 might work for vb4 depends what vb4 version you have if it does not work would not be hard making it work
|
#4
|
|||
|
|||
^sorry for the late answer, yes that worked nicely, thanks ^^
however I ended opting for an array or users Code:
<vb:if condition="in_array($bbuserinfo['userid'], array(1, 2, ...))">...</vb:if> |
Благодарность от: | ||
MarkFL |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|