Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-18-2012, 01:31 AM   PM User | #1
Kapwn
New to the CF scene

 
Join Date: Nov 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Kapwn is an unknown quantity at this point
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
Kapwn is offline   Reply With Quote
Old 11-18-2012, 04:48 PM   PM User | #2
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,752
Thanks: 4
Thanked 2,468 Times in 2,437 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
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.
Fou-Lu is offline   Reply With Quote
Old 11-19-2012, 12:01 PM   PM User | #3
ansar
New to the CF scene

 
Join Date: Nov 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
ansar is an unknown quantity at this point
I want a member log in code in Xtgem mobiel site plese help me
ansar is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:06 PM.


Advertisement
Log in to turn off these ads.