What conditional to hide Reputation bars in MEMBERINFO

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • telc
    Senior Member
    • Oct 2001
    • 239
    • 3.5.x

    What conditional to hide Reputation bars in MEMBERINFO

    Can Use Reputation YES NO

    If this option is disabled for a usergroup, it hides the the ability to leave Rep. But I would also like to hide this usergroup from seeing other people Rep bars.

    I fixed the issue in POSTBIT, but I am not sure what conditional to use in the MEMBERINFO template to hide the reputation bars.
  • Jose Amaral Rego
    Senior Member
    • Feb 2005
    • 11058
    • 1.1.x

    #2
    # find in template: MEMBERINFO
    # add usergroup conditional statement to code
    # replace X,Y,Z with usergroup(id)s'

    Code:
    [COLOR="#0000ff"]<if condition="$userinfo['reputationdisplay'] [COLOR="Red"]AND is_member_of($vbulletin->userinfo, array([COLOR="#008000"]X, Y, Z[/COLOR]))[/COLOR]"><div align="center">$userinfo[reputationdisplay]</div></if>[/COLOR]

    Comment

    • telc
      Senior Member
      • Oct 2001
      • 239
      • 3.5.x

      #3
      Thanks

      Comment

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