Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-31-2005, 10:13 PM
Wasim Wasim is offline
 
Join Date: Feb 2005
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default User chooses color for username in profile.

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...
Attached Images
File Type: jpg example.JPG (66.2 KB, 0 views)
Reply With Quote
  #2  
Old 03-31-2005, 10:50 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 03-31-2005, 11:49 PM
Wasim Wasim is offline
 
Join Date: Feb 2005
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ericgtr
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.
Reply With Quote
  #4  
Old 03-31-2005, 11:52 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 04-01-2005, 01:06 AM
Wasim Wasim is offline
 
Join Date: Feb 2005
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ericgtr
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.
Reply With Quote
  #6  
Old 04-02-2005, 10:22 PM
Wasim Wasim is offline
 
Join Date: Feb 2005
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any takers on this yet?
Reply With Quote
  #7  
Old 04-02-2005, 11:27 PM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ericgtr
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
Reply With Quote
  #8  
Old 04-03-2005, 01:01 AM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!

Code:
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
Reply With Quote
  #9  
Old 04-03-2005, 01:35 AM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bling bling
Reply With Quote
  #10  
Old 04-03-2005, 02:54 AM
Wasim Wasim is offline
 
Join Date: Feb 2005
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice! So are Neo and Sonia teaming up to make this mod?
Reply With Quote
Reply


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. The time now is 09:13 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04456 seconds
  • Memory Usage 2,275KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete