Skip to content
WJunction - Webmaster Forum

Help with Staff BBcode

Status
Not open for further replies.
Okay so im after a bbcode that will only show the message inside to certain usergroups
The conditional needed is:
Code:
<if condition="is_member_of($bbuserinfo, 6, 7, 10)">
i had a go but i failed :P
hers what i had
Code:
<div style="padding: 3px; background-color: #545454; border: 1px solid #1f1f1f; font-size: 1em;">
<div style="border-bottom: 1px solid #CCCCCC; margin-bottom: 3px; font-size: 0.8em; font-weight: bold; display: block;">
<if condition="is_member_of($bbuserinfo, 6, 7, 10)">
{param}
<else>
<p>You are not authorized to view this</p>
</if>
</div>
</div>
 
Status
Not open for further replies.

About the author

T
Active Member · Joined
Picked up photoshop about half a year ago. Now i do graphics design :) Graphics/Web Design
885
Messages
0
Reactions
16
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom