The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
so i have various adverts and things i want to wrap with code that will make it so that if my members are in a certain V.I.P membership they won't see the content within the wrapped code?
|
#2
|
||||
|
||||
![]()
<a href="https://vborg.vbsupport.ru/showthread.php?t=215032" target="_blank">vBulletin Template Conditionals</a>
|
#3
|
|||
|
|||
![]()
If Usergroup Is or Is Not X
-------------------------- If the user is a member of the x usergroup then show the code. HTML Code: <if condition="$post['usergroupid'] == 6"></if> And then you can use the ! to tell it to not show it to the x usergroup but show it to everyone else. HTML Code: <if condition="$post['usergroupid'] != 6"></if> this is perfect however if they have a secondary usergroup it overides it how do i just set it upon primary only!? |
#4
|
|||
|
|||
![]()
so??????
|
#5
|
|||
|
|||
![]()
anyhelp?
|
#6
|
||||
|
||||
![]()
usergroupid is the primary group
membergroupids is the field that contains all the additional/secondary usergroups |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|