The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
SOLVED! - yes another user member restriction control IN template
Normal if i restrict acces to usergroups i use
Code:
<if condition="is_member_of($bbuserinfo, 2, 3)> stuff </if> works like a char, its a template running through vba.. now i want to restrict a botton to only registrered users so i thought replaceing the usergroups with 'userid' would just make the condition true.. but nope. didnt work. Code:
<if condition="is_member_of($bbuserinfo['userid'])> <div align="center"><a href="Elinks.php?do=input" class="botton">Add another row</a></div> </if> |
#2
|
|||
|
|||
Code:
<if condition="!$show['guest']"> or <if condition="$bbuserinfo['userid'] > 0"> |
#3
|
||||
|
||||
ohhh. well..
Tx Ted :up: |
#4
|
||||
|
||||
Code:
<if condition="$show['member']"> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|