Announcement

Collapse
No announcement yet.

Don't show titles if a user is in x usergroup

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

  • Don't show titles if a user is in x usergroup

    How would I do this. Basically (seeing as the user title doesn't allow images) I want to use the user rank instead to show an image but this leaves me with text saying Premium Memberships and a graphic with the same stuff on it.

    So I either want

    1. A way of not showing usertitles if the user is in x usergroup
    2. A way to add images into the user title
    3. The ability to not display user titles per usergroup.

    It's a usergroup defined user title. - if that's relevant.

    Thanks,
    Ed

  • #2
    Code:
    <if condition="$bbuserinfo['usergroupid'] == '[B][I]x[/I][/B]'"><else />show title</if>
    Replace the x with the usergroupid you want to hide it from.

    Comment


    • #3
      Probably phrased that badly. I don't want to hide the title from somebody, I want to hide the title for a usergroup from everybody.

      So all usergroups can see everybody's title unless they're in X usergroup.




      Negate this now. Putting the <img src html code in the user title didn't work - seems it needed an update counter. It's all good now.

      Thanks for the help

      Comment

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