Quote:
Originally Posted by DiscussNASCAR
usergroup conditionals. I think someone else may have posted it further up, but here's what we did. Only Admins and SM's can see it now
PHP Code:
<font size=1><if condition="$bbuserinfo['usergroupid'] == '5'">[<b>Current Warning Level:</b> $post[warning_level]/6 - <a href='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'><b>Warn $post[username]</b></a> - <a href='Warn.php?do=ViewWarnings&id=$post[userid]'><b>View $post[username]'s Warnings</b></a>]</if> <if condition="$bbuserinfo['usergroupid'] == '6'">[<b>Current Warning Level:</b> $post[warning_level]/6 - <a href='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'><b>Warn $post[username]</b></a> - <a href='Warn.php?do=ViewWarnings&id=$post[userid]'><b>View $post[username]'s Warnings</b></a>]</if> </font>
<if condition="$show['postcount']">? #<a
that's all in the postbit. Don't forget to change the $post[warning_level]/6 to whatever your max warning level is set to (ours is 6)
|
Sweet - thanks mate.
hey ZeroTolerance, can you please answer my q's from
this post.
Thanks.