The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vBulletin 4 - If Conditionals in CMS?
Hey Community,
i wanted to ask how to integrade Vb4 if Conditionals in my Vb4 CMS article? I want to post a self-host video but only usergroup 2 (member) should see this embed code. I have tried to post this code: <vb:if condition="$show['member']">My Video link</vb:if> and <vb:if condition="is_member_of($bbuserinfo, 2)">My Video link</vb:if> but it doesnt work. Is there an option to integrate it to cms articles? Templates Conditionals works fine ... regards |
#2
|
||||
|
||||
Thread moved to an appropriate forum.
Short answer is you cannot use conditionals in content (CMS Articles, Blogs, or Posts) they work only in templates. The long answer is to search for "Hide hack" or "Hide BBCode" there are some add-ons that allow for a BBCode to show content only to specific usergroups, but I am not sure they work in the CMS or not. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|