1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

As Designed Banned usergroup title not taking effect.

Discussion in 'Resolved Bug Reports' started by Slavik, Feb 6, 2012.

  1. Slavik

    Slavik XenForo Moderator Staff Member

    So within the user discouragement options, it is set that once a user is banned they get added to a group labeled "Banned by Moderators"

    The Banned by Moderators group is set to change the users title to Banned and change the user name CSS to be a pink username.

    However, upon banning a user, this does not happen.
     
  2. Mike

    Mike XenForo Developer Staff Member

    Have you set the display styling priority high to ensure it overwrites?
     
  3. Slavik

    Slavik XenForo Moderator Staff Member

    Tried setting it to 0, 1 and 100... nothing seems to work.
     
  4. Slavik

    Slavik XenForo Moderator Staff Member

    Right, just re-entered the css.. correctly, bit of a nupty moment with a typo in the word color.

    The CSS now works correctly, however the user title remains the same.
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    The value needs to be higher than any other group the user is a member of.

    How are they being banned?
     
  6. Mike

    Mike XenForo Developer Staff Member

    Have they been added to the group?

    There have been some add-ons that have interfered with some user post-save stuff. Does rebuilding the user cache fix it?
     
  7. Mike

    Mike XenForo Developer Staff Member

    Well if the CSS works, then I see no reason for the user title not to work *unless* they have a custom user title. It doesn't override their title then (which is generally expected).
     
    CapnLuffy likes this.
  8. Divvens

    Divvens Well-Known Member

    The banned title/username css works perfectly for banned members on my board.
    banned.png
     
  9. Slavik

    Slavik XenForo Moderator Staff Member

    That would be it, they are using custom user titles.

    Is there any way to force this to be changed on banning even if it is custom?
     
  10. Vincent

    Vincent Well-Known Member

    Just a wild thought, but if you set "Can use Custom Titles" in the Banned User Group permissions to "Never", I think they will use the Banned Usergroup title :)
     
  11. Brogan

    Brogan XenForo Moderator Staff Member

    Once a custom user title has been set, changing the permission makes no difference.

    You will have to reset it in the ACP.
     
    Vincent likes this.
  12. Slavik

    Slavik XenForo Moderator Staff Member

    To the suggestions forum! :D
     
    Fuhrmann likes this.
  13. digitalpoint

    digitalpoint Well-Known Member

    Hmmm... that's rather unfortunate. Could be annoying if you give users the ability to change their own user title, but they get banned for something.
     
    Slavik and Kevin like this.
  14. JMPRockFm

    JMPRockFm Member

    In the new update can you add images for 'staff' like 'admin' and that? and banned users will have Banned in black and then an banned users images?
     
  15. Brogan

    Brogan XenForo Moderator Staff Member

  16. JMPRockFm

    JMPRockFm Member

  17. Divvens

    Divvens Well-Known Member

    You can either add images for groups via "User title overide" (Admin CP -> User group -> select a user group, the option is present there) using <img src="img link here" /> you'll have to disallow custom user titles so that the image for the group stays there and avoid users changing it :p

    If you just want titles instead of images that can also be done - http://xenforo.com/community/threads/user-status-ribbons-based-on-usergroups.11602/
     
  18. JMPRockFm

    JMPRockFm Member

    you'll have to disallow custom user titles so that the image for the group stays there and avoid users changing it :p

    And how do I do that? Even Know ill try it?
     
  19. Divvens

    Divvens Well-Known Member

    Admin CP -> Users -> User groups -> Select usergroup
    usertitle.png
    Set display styling priority as you wish (to know about display styling priority - http://xenforo.com/help/user-group-styling/). Click "use the following user title" and add your image code there.

    Go to your primary group under General Permissions there is the option of "Edit Custom Title", set it to (No) for your primary group. This will then disallow all groups to have a custom title (assuming you have extra groups as secondary). If all your groups are primary you'll have to do that permission change to all groups. This makes sure the image you want stays as the title for the usergroup and a user cannot change the title to something else.
     
  20. JMPRockFm

    JMPRockFm Member

    Okay, mate when I get home and site fixed ill will.try it
     

Share This Page