View Full Version : User chooses color for username in profile.
Wasim
03-31-2005, 10:13 PM
Ive been looking for a hack like this for a long time. I thought it would already exist considering this is such a simple request. Just an option in the UCP where you can select your username color with a pallette. Something similar to the picture I have attached...
ericgtr
03-31-2005, 10:50 PM
Do you really want a guy named Donkeybong to have a highlighted name though? ;) I don't believe there is a mod for this and I will second your request, neat idea. You would just want to be sure and rule out your existing background colors.
Wasim
03-31-2005, 11:49 PM
You would just want to be sure and rule out your existing background colors.
What exactly do you mean by that?
BTW, thanks for backing up my idea. :)
ericgtr
03-31-2005, 11:52 PM
I would think that some users would take advantage of it by changing their username color to the background color, making it appear as if they have no name.
Wasim
04-01-2005, 01:06 AM
I would think that some users would take advantage of it by changing their username color to the background color, making it appear as if they have no name.
I dont think it should be that big of a deal.
Wasim
04-02-2005, 10:22 PM
Any takers on this yet?
I would think that some users would take advantage of it by changing their username color to the background color, making it appear as if they have no name.
HAHAHA simple, you use the color varibles and use a if statement to take that color out... I might look into this if I got thee time
why-not
04-03-2005, 01:01 AM
Why not just add a column to to the usertextfield table 'usercolor', then add a bitwize value to your usergroup permissions 'genericoptions' because it not used much, then add two properties in the usergroup!
1. User can select color for username: Yes/No
2. If (1) = NO enter a color for the username!
Edits...
(1) Admin Panel edit (usergroup.php)
(1) Profile options edit (profile.php)
(1) database change (usertextfield) table alter ADD char (6) column
(2) include file type edits (init.php => to add the bitwise permission, functions_showthread.php to add the color if() block question) ie: does user have permission (yes/no) yes change color, no use default color!
I might not put it in the functions_showthread.php but instead just put it in showthread.php, but I am thinking functions_showthread.php will be the best place for it. I will have to look, when I get home.
If what I said is fine I will make it real quick when I get home in few hours! If you want me to do it then you will need to do the following!
Create 8 phrases (2) to use in the user group permissions, and the other (6) for the admin help! I'll do one, so you see what I mean, if you want to change there value(s) go head!
Once I see you have these done, I will do the mod real quick. I would write the phrases myself, but having written almost 400 of them in the last two days, I can not bear to write to many more at the moment! So you help me and help your self and I will do the code part!
INSERT INTO xx_prefix_phrase VALUES ('', -1, 'can_select_color', 'User Group Can Select User Name Font Color', 3);
INSERT INTO prefix_phrase VALUES ( '', -1, 'usergroup_add_edit_canselectcolor_title', 'User Group Can Select User Name Font Color', 6000);
INSERT INTO prefix_phrase VALUES ( '', -1, 'usergroup_add_edit_canselectcolor_text', 'Selecting (yes) will allow this user group the permission to change colors for their username. It will also display the color selector in the users options menu found in user control panel options menu.', 6000 );
INSERT INTO prefix_adminhelp VALUES ( '', 'usergroup', 'add,edit', 'canselectcolor', 706, 1 );
// you do this one
INSERT INTO xx_prefix_phrase VALUES ('', -1, 'user_default_color', '', 3);
INSERT INTO prefix_phrase VALUES ( '', -1, 'usergroup_add_edit_userdefaultcolor_title', '', 6000 );
INSERT INTO prefix_phrase VALUES ( '', -1, 'usergroup_add_edit_userdefaultcolor_text', '', 6000 );
INSERT INTO prefix_adminhelp VALUES ( '', 'usergroup', 'add,edit', 'userdefaultcolor', 707, 1 );
Sonia
Wasim
04-03-2005, 02:54 AM
Nice! So are Neo and Sonia teaming up to make this mod?
Wasim
04-05-2005, 09:02 PM
anyone? :ermm:
Wasim
04-16-2005, 04:54 PM
any update for this? my forum users are getting impatient with me...lol
Tygerwoody
11-03-2007, 02:55 PM
bump.. I would like to see this mod as well.
deezelpope
11-03-2007, 03:03 PM
You really shouldn't bump threads that are over 2 years old.:rolleyes:
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.