Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Nov 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Username With Rainbow Orb (Random Color Name)



    As you can see on this picture. The last option request 6DIGIT codes so users can change their name with the color they want when they want and can also make a random background color.

    I would like to know. How can i code such a system on my forum?

    Thanks

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,979
    Thanks
    4
    Thanked 2,659 Times in 2,628 Posts
    That's mostly a JS functionality from the looks of it. The little square icon should open a colour chooser which will apply the appropriate hex to the input fields. Otherwise you simply type it in.

    The fields would be simply named something like fcolour and bcolour to see which is which and stored with the user in the table, and when you select you simply check if these fields exist and if they do you apply them to the name. The effect itself appears to be an old school glow filter that IE used to have, but I'd assume that in this day and age that a more cross platform compatible CSS could be used (but I haven't a clue you need to check with client developers about that).

    Beyond that you need to do modifications to the forum itself to apply it during any display of username. How that's done completely depends on the system, it could be as easy as modifying a single function or object method during a fetch, to as complicated as modifying every script. For that you'd need to check the forums' forum for help.

  • #3
    New to the CF scene
    Join Date
    Nov 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I want a member log in code in Xtgem mobiel site plese help me


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •