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
4 posters

    Color code picker for users

    Eternatus
    Eternatus
    New Member


    Posts : 9
    Reputation : 1
    Language : English, Spanish, Portuguese

    In progress Color code picker for users

    Post by Eternatus January 27th 2022, 10:18 am

    Good morning guys, I have a question and I don't know if you can help me, I'll explain a little ...

    As they know, there is a code that allows users to change the color of their NICK using their account ID, that I will leave next, and it is the one that I use in my forum

    Code:
    a[href="/u1"] span strong {
        color: #fff !important;
        font-style: italic!important;
        font-weight: 700!important;
        text-shadow: 0 0 4px #23aaf9;
    }


    but I was thinking if it could be done that the user himself could modify this nick color... the point is that I would like to create a group "special users" to which the members of this group exclusively have some option so that they can change the color of their nicks.
    Really, as it is a code applicable only by the administrators and they must directly edit it in the CSS of the forum, I thought if there would be a way to create a profile field that is active only for these "special users" of the group that I would create and through some javascript This profile field will be edited and through this the color of the user's nickname will change

    Obviously all this in order to make the forum more interactive and in a certain way put to good use the points earned by creating topics and stuff, since through this system I plan to give users access to that special group and that they themselves can change their nick colors.

    I really don't know if this is possible but that's why I wanted to come and ask you, since this kind of thing occurs to me but I don't have the knowledge to try to test or carry it out.



    Thank you very much for your attention and I hope I have published this in the right place, I continue working on learning the areas of the forum well, and an apology if this is not where I should put my doubt. blackeye Razz
    Jucarese
    Jucarese
    Hyperactive


    Male Posts : 2539
    Reputation : 118
    Language : spanish
    Location : SSF Admin

    In progress Re: Color code picker for users

    Post by Jucarese January 27th 2022, 10:52 am

    Hi,Users Management, can only make it an admin, so it is impossible to create that field that you ask, all the changes concerning users are made from the forum administration panel., You can create special groups and apply a color to the group and that users enter it every X topics automatically, and they would change color.
    Niko
    Niko
    Helper
    Helper


    Male Posts : 3231
    Reputation : 248
    Language : English, Italian, French
    Location : Italy

    In progress Re: Color code picker for users

    Post by Niko January 27th 2022, 11:46 am

    Dear @Eternatus

    I can try to write something for you in terms of Javascript Blush

    Give me time and I will try to do something Bow

    skouliki and TonnyKamper like this post

    كونان2000
    كونان2000
    Forumember


    Male Posts : 271
    Reputation : 113
    Language : Arabic

    In progress Re: Color code picker for users

    Post by ÙƒÙˆÙ†Ø§Ù†2000 January 27th 2022, 6:25 pm

    welcome
    Is this what is meant?
    Color code picker for users Animat15

    skouliki, Niko and TonnyKamper like this post

    Eternatus
    Eternatus
    New Member


    Posts : 9
    Reputation : 1
    Language : English, Spanish, Portuguese

    In progress Re: Color code picker for users

    Post by Eternatus January 27th 2022, 11:40 pm

    @jucarese Thank you very much for your answer, if I understand how the application of colors to users works, but the effects that I am looking for are those of the code that I mentioned before, since they are colors that are a little more striking and I would like to add the option to certain special users of my forum ...

    @كونان2000 Unfortunately no, that's what I'm looking for, it's a color change for the users' nicknames. blackeye


    @Niko Thank you very much for trying to help me, I will leave a little more description of what I am looking for, and also an extra option that is where I got the idea of ​​this a little from...

    There is a color generator that is applied to a specific text... this is from an external page and it allows you to have an idea of ​​the color that you are going to put in and what is going to come out, and at the end, it gives you the codes that you must use to get the result.

    The page I got this from was this::

    Color code picker for users Lq03pcM

    A little further down you will see the text you put and a previous result of what you will obtain

    Color code picker for users TXT8sEp

    The idea is that users who are added to a special group created in the administration panel by me, have the ability to edit that area, so what they edit and the color they put there is reflected in their NICK ...

    Color code picker for users ZuUS85b




    If I'm a little crazy, excuse me, it seems like an excellent idea to add extra things to the forum, and if it's complicated or impossible, I still appreciate the support and the attempt you had to help me, thank you very much for everything guys! cheers

    As a last thing, my forum is from the AwesomeBB version Smile .

    Niko likes this post

    Niko
    Niko
    Helper
    Helper


    Male Posts : 3231
    Reputation : 248
    Language : English, Italian, French
    Location : Italy

    In progress Re: Color code picker for users

    Post by Niko January 27th 2022, 11:45 pm

    @Eternatus I have something in my mind, but i am afraid it won’t be possible to be managed through groups. The problem is that the hypothetical javascript code would need to scan the group members to see if the user belongs to it, and it may work with a group of 20 members max max, but if you get too many members it will just crash.

    So if you plan to have only a few members it can be done (max 2-3 pages in the group members view to have an idea) - otherwise the other solution would be to manually add the users ID in the javascript ti enable them

    does this suit you?

    Eternatus likes this post

    Eternatus
    Eternatus
    New Member


    Posts : 9
    Reputation : 1
    Language : English, Spanish, Portuguese

    In progress Re: Color code picker for users

    Post by Eternatus January 28th 2022, 12:23 am

    @Niko What you mention about adding the ids to the javascript and that those users activate the option sounds incredible... and of course I could do it without a problem and they would already have the option to edit it...

    You mean to create a java where I as administrator enter the IDs of the users that I want to that java, and that only those users will see the option to edit the color that would be incredible!



    As an extra situation... saying that this javascript can be created, do you think there is a way to create an extra javascript, which allows a user other than administration to be able to add those IDs to the java...

    That is to say, a user, for example, a moderator, goes to a panel or a special page and there adds the user's ID and through that java, he can add the ID to the main java, I don't know if you understood me hehe

    Whether you add IDS or remove them as the case may be... of course this is as an extra.

    This more than anything in case I can't edit it myself, have trusted staff who can do it without having to give them access to the administration panel...

    And excuse my crazy mind and my fleeting imagination, but as I mentioned, the latter is merely to see the possibility if it can be done, if not, with what you mentioned first it would be incredible cheers blackeye
    Niko
    Niko
    Helper
    Helper


    Male Posts : 3231
    Reputation : 248
    Language : English, Italian, French
    Location : Italy

    In progress Re: Color code picker for users

    Post by Niko January 28th 2022, 2:03 am

    I will try to see what I can do or if something pops in my mind :thanks:

    But I will check and see tomorrow!

    Eternatus likes this post

    Eternatus
    Eternatus
    New Member


    Posts : 9
    Reputation : 1
    Language : English, Spanish, Portuguese

    In progress Re: Color code picker for users

    Post by Eternatus January 29th 2022, 8:25 am

    I only put this UP so that the topic is not taken as inactive blackeye

    Niko likes this post

    Niko
    Niko
    Helper
    Helper


    Male Posts : 3231
    Reputation : 248
    Language : English, Italian, French
    Location : Italy

    In progress Re: Color code picker for users

    Post by Niko January 30th 2022, 1:11 pm

    @Eternatus and team, I will probably be back on this after the 4th of February, as I have a very important professional exam on the previous day - and I'm a bit busy.

    But I will come back and help you Bouncy

    skouliki, Ape and TonnyKamper like this post

    Eternatus
    Eternatus
    New Member


    Posts : 9
    Reputation : 1
    Language : English, Spanish, Portuguese

    In progress Re: Color code picker for users

    Post by Eternatus January 31st 2022, 8:05 am

    Niko wrote:@Eternatus and team, I will probably be back on this after the 4th of February, as I have a very important professional exam on the previous day - and I'm a bit busy.

    But I will come back and help you Bouncy


    don't worry, I really appreciate the time you are taking to support me with this topic, good luck with the exams!! cheers

    Niko likes this post

    Eternatus
    Eternatus
    New Member


    Posts : 9
    Reputation : 1
    Language : English, Spanish, Portuguese

    In progress Re: Color code picker for users

    Post by Eternatus February 3rd 2022, 6:03 am

    I only put this UP so that the topic is not taken as inactive blackeye

    Niko likes this post

    Eternatus
    Eternatus
    New Member


    Posts : 9
    Reputation : 1
    Language : English, Spanish, Portuguese

    In progress Re: Color code picker for users

    Post by Eternatus February 8th 2022, 10:40 pm

    up

      Current date/time is September 23rd 2024, 7:19 am