![]() |
Content NOT viewable to usergroups!
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?
|
<a href="https://vborg.vbsupport.ru/showthread.php?t=215032" target="_blank">vBulletin Template Conditionals</a>
|
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!? |
so??????
|
anyhelp?
|
usergroupid is the primary group
membergroupids is the field that contains all the additional/secondary usergroups |
All times are GMT. The time now is 07:37 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|