![]() |
vBulletin If Tag?
on a page, how do I add an if for example
I want members to see a image saying staff only. but staff seeing a page with lets say a movie. |
If you're writing a php script, you can use something like:
Code:
if (!is_member_of($vbulletin->userinfo, 1, 2, 3) If you're using a template you can do something like: Code:
<vb:if condition="!is_memebr_of($bbuserinfo, 1, 2, 3)"> |
neither are working on Logicians WebTemplates :/
--------------- Added [DATE]1375557503[/DATE] at [TIME]1375557503[/TIME] --------------- bump |
Sorry, I don't know what Logicians WebTemplates is. The second thing I posted will only work in a vbulletin template.
The first is php code so it will work if you're writing your own php script. Does WebTemplates allow you to insert php code? Then something like the above might work if you're including the vbulletin files (like global.php). Of course you'd have to change the 1, 2, 3 in my examples to the actual usergroups you want. |
anyway of HTML ?
|
<a href="https://vborg.vbsupport.ru/showthread.php?t=289090" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=289090</a>
|
All times are GMT. The time now is 08:49 PM. |
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:
|