The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    How to restrict a name tag?

    Anicetus
    Anicetus
    New Member


    Male Posts : 5
    Reputation : 1
    Language : Vietnamese & English
    Location : Vietnam

    Solved How to restrict a name tag?

    Post by Anicetus December 1st 2013, 3:41 am

    Hi,
    I would like to know if restricting a name tag ([tag]) is possible, if it is, how to do it? For example, I want only admins to wear [STAFF] tag, the tag would be disabled in registeration and registered users can't change their name adding that tag. However it can be added to specified users by me.

    Thank you,
    Anicetus.


    Last edited by Anicetus on December 2nd 2013, 2:55 pm; edited 1 time in total
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: How to restrict a name tag?

    Post by Ange Tuteur December 1st 2013, 3:05 pm

    Hello Anicetus,

    You can do this through the CSS stylesheet by selecting your group colors.

    Example:
    Users with a name color of #ff6600 will have a tag applied before their username.
    Code:
    a span[style="color:#FF6600"] strong:before{
    content:"[Staff] ";
    }
    The above code can be applied here:
    Administration panel > Display > Pictures and colors > Colors > CSS stylesheet

    So it works for your Administrator group you need to put your group color here:
    [style="color:#FF6600"]

    You can see your groups color here:
    AP > Users and groups > Group administration > Edit a group

    Find 'Group Members Color' copy the hex color and then paste it in the selector.

    Groups must colorize users for this method to work.
    Anicetus
    Anicetus
    New Member


    Male Posts : 5
    Reputation : 1
    Language : Vietnamese & English
    Location : Vietnam

    Solved Re: How to restrict a name tag?

    Post by Anicetus December 2nd 2013, 2:51 pm

    It works, thanks you!
    Base
    Base
    Forumaster


    Male Posts : 10383
    Reputation : 1695
    Language : English and French
    Location : United Kingdom, England

    Solved Re: How to restrict a name tag?

    Post by Base December 2nd 2013, 6:39 pm

    Solved => Archived

      Current date/time is September 22nd 2024, 11:26 pm