Announcement

Collapse
No announcement yet.

Thread Starter Conditionals in forumdisplay

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

  • Thread Starter Conditionals in forumdisplay

    What template do I need to edit in 3.5.0 to create a conditional for the thread starter in the forumdisplay page. The thread starter is currently in plain text underneath the Thread title. I would like to set some kind of conditional to BOLD and make red all Thread Starters that are in my "SPONSORS" usergroup.

    If I make this kind of conditional... will it make the forums slow? I really appreciate all your help and suggestions. Thanks.

  • #2
    The code you're looking for is:
    HTML Code:
    <span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]')">$thread[postusername]</span>
    in the threadbit template.

    Add your custom html around the $thread[postusername] part.

    And the conditional could be:
    Code:
    <if condition="is_member_of($bbuserinfo, 6)"><custom html>$thread[postusername]</custom html></if>
    6 is the usergroupid to match against.

    Comment

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