• 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.

Slavik

XenForo moderator
Staff member
#1
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.
 

Slavik

XenForo moderator
Staff member
#4
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.
 

Brogan

XenForo moderator
Staff member
#5
The value needs to be higher than any other group the user is a member of.

How are they being banned?
 

Mike

XenForo developer
Staff member
#6
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?
 

Mike

XenForo developer
Staff member
#7
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).
 

Slavik

XenForo moderator
Staff member
#9
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).
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?
 

Vincent

Well-known member
#10
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?
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 :)
 

Brogan

XenForo moderator
Staff member
#11
Once a custom user title has been set, changing the permission makes no difference.

You will have to reset it in the ACP.
 
#14
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?
 

Divvens

Well-known member
#17
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?
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
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/
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?
 

Divvens

Well-known member
#19
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?
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
Admin CP -> Users -> User groups -> Select usergroup
View attachment 25091
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.
Okay, mate when I get home and site fixed ill will.try it