View Full Version : Username With Rainbow Orb (Random Color Name)
11-18-2012, 01:31 AM
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?
11-18-2012, 04:48 PM
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.
11-19-2012, 12:01 PM
I want a member log in code in Xtgem mobiel site plese help me
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.