Contributor Title

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Hamma
    Senior Member
    • Aug 2001
    • 144
    • 3.6.x

    Contributor Title

    I want to make it so that if a user is in a certain group it shows an extra title under their existing title. To do this I was attempting to use the is_member_of
    HTML Code:
    <if condition="is_member_of($bbuserinfo, 18)">Contributor<br></if>
    However I cant seem to get it working.. I am attempting to put this in the postbit_userinfo - so I'd imagine $bbuserinfo is something else I do not know.
  • tubedogg
    Senior Member
    • Feb 2001
    • 13602

    #2
    HTML Code:
    <if condition="$bbuserinfo[usergroupid] == 18">Contributer<br /></if>
    I'm not familiar with is_member_of but the above should work.

    Comment

    • Joe
      Senior Member
      • May 2000
      • 2435

      #3
      What about miltiple user groups, ie, 18 and 19?

      HTML Code:
      [color=#ff0000]<if condition=[/color][color=#0000ff]"$bbuserinfo[usergroupid] == 18,19"[/color][color=#ff0000]>[/color]Contributer[color=#000080]<br />[/color][color=#ff0000]</if>[/color]

      ??
      Bike Forums.net

      Comment

      • tubedogg
        Senior Member
        • Feb 2001
        • 13602

        #4
        $bbuserinfo[usergroupid] == 18 OR $bbuserinfo[usergroupid] == 19

        Comment

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