Announcement

Collapse
No announcement yet.

User rank specific to 1 forum

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • User rank specific to 1 forum

    Hello,

    Our board is looking to add a "Homework Help" type of forum. I'd like to post a specific user rank/image that only applies to one usergroup for one forum.

    I currently use this code for persons in donator secondary usergroup id 80:

    Code:
    <if condition="is_member_of($post, 80)"><br />
    <div align="center"><img src="images/ranks/donor.png" width="162" height="41" border="0"></div>
    </if>
    And I was wondering if this code can be modified to make the image posting conditional to 1 specific forum, forum id 502 for example (in addition to usergroup specific). Any advice would be greatly appreciated

  • #2
    Code:
    <if condition="is_member_of($post, 80) [color=red]AND $GLOBALS[forumid] == 502[/color]"><br />
    <div align="center"><img src="images/ranks/donor.png" width="162" height="41" border="0"></div>
    </if>

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X