PDA

View Full Version : IF group = ADMIN, then DISPLAY this


Duncan
12-03-2010, 11:35 PM
Hi,

This is functioning properly on my other vB 4.0 board. However, on my newer version one it doesn't work.

<vb:if condition="is_member_of($vbulletin->userinfo, 6,7,5,10)">
{vb:raw vsachatbox}
</vb:if>

When I take the IF statement out, it works. I am using an admin account, and that account usergroup ID = 6.

Why won't this work any more? How can I make it work?

OOPS: Forgive me, this should be in the template/style editing forum.

https://vborg.vbsupport.ru/showthread.php?t=253847

Basically,, what i'm trying to say is. After testing, I find that the solution posted here doesn't work on the latest version of vB. But maybe it does, and I just have the wrong syntax. But it works fine on my lower version 4.0 vBulletin forum.

Solution por favor?

ForumsMods
12-04-2010, 12:10 AM
Did you read the new announcement about vB 4.1.0 PL2?
http://www.vbulletin.com/forum/showthread.php?368175-vBulletin-4.1.0-PL2-Released

Duncan
12-04-2010, 07:11 AM
Thanks a ton1