PDA

View Full Version : Display based on usergroup?


ronoxQ
11-06-2006, 12:04 AM
Hi, everybody!

Is there a way to display text only when a user belongs to a certain usergroup? What about a certain number of posts?

Thanks as always!

Rory

Adrian Schneider
11-06-2006, 12:06 AM
<if condition="is_member_of($vbulletin->userinfo, x)">this text is only shown to users in primary/secondary group X</if><if condition="$vbulletin->userinfo['posts'] > 50">this text is only shown to users with more than 50 posts</if>

ronoxQ
11-07-2006, 10:41 PM
Sweet! Thanks, SA!