PDA

View Full Version : custom usergroup message


schmidt123a
02-19-2009, 05:09 PM
Hello.

My vbulletin version 3.7.4 I want to make custom message.

Example: when user register to forum on main page I want what it display message "You are registered user $username send sms to bla bla bla to become VIP"

and when he send this sms this message disappear,I already have this sms script all working,just need to add this message.

I think it should be something like:



if usergroup = x
there going message
else if he is already VIP message disappear



How to do this ?

thanks.

Seven Skins
02-19-2009, 05:14 PM
<if condition="is_member_of($bbuserinfo, 2)">
Message here
</if>

schmidt123a
02-19-2009, 05:26 PM
<if condition="is_member_of($bbuserinfo, 2)">
Message here
</if>

Thanks,and maybe know how to display username inside this message ?

Lynne
02-19-2009, 05:33 PM
Most likely $bbuserinfo[username]

Dismounted
02-20-2009, 03:27 AM
You may want to use the Notices feature.