Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 08-08-2009, 12:18 AM
RileyFreeman RileyFreeman is offline
 
Join Date: Aug 2009
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How do you add username colour chooser?

I am part of another forum and when you buy a paid subscription it allows you to choose your name colour.

Can someone tell me how to do this. vbulletin directed me here because its a code hack. I tried searching so i apologize if its posted. I could not find it.

http://i31.tinypic.com/20sxelu.jpg
Reply With Quote
  #2  
Old 08-08-2009, 12:43 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Moved out of 3.8 Mods forum.
Reply With Quote
  #3  
Old 08-08-2009, 12:47 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd guess they just used a profile field and then modified $userinfo[musername] based on that field (I guess?). Play with it on a test site and I'm sure you could figure it out. Custom Profile Fields
Reply With Quote
  #4  
Old 08-08-2009, 12:52 AM
RileyFreeman RileyFreeman is offline
 
Join Date: Aug 2009
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

actually i have no clue how to do most things. im a n00b to vbulletin control. I had someone else install it. i have kind of figured out some things but not everything.

--------------- Added [DATE]1249696551[/DATE] at [TIME]1249696551[/TIME] ---------------

If it helps the code when I do view source


<!-- BEGIN TEMPLATE: userfield_select -->
<fieldset class="fieldset">
<legend><label for="csel_field6">Choose Your Color</label></legend>
<table cellpadding="0" cellspacing="3" border="0" width="100%">
<tr>
<td></td>

</tr>
<tr>
<td>
<span style="float:right">

<select name="userfield[field6]" id="csel_field6">
<option value="0" ></option>
<!-- BEGIN TEMPLATE: userfield_select_option -->
<option value="1" >Amaranth</option>

<!-- END TEMPLATE: userfield_select_option --><!-- BEGIN TEMPLATE: userfield_select_option -->
<option value="2" >Black</option>
<!-- END TEMPLATE: userfield_select_option --><!-- BEGIN TEMPLATE: userfield_select_option -->
<option value="3" >Bright green</option>
<!-- END TEMPLATE: userfield_select_option --><!-- BEGIN TEMPLATE: userfield_select_option -->
<option value="4" selected="selected">Brown</option>
<!-- END TEMPLATE: userfield_select_option --><!-- BEGIN TEMPLATE: userfield_select_option -->
<option value="5" >Burgundy</option>
<!-- END TEMPLATE: userfield_select_option --><!-- BEGIN TEMPLATE: userfield_select_option -->
<option value="6" >Burnt Orange</option>
<!-- END TEMPLATE: userfield_select_option --><!-- BEGIN TEMPLATE: userfield_select_option -->
<option value="7" >Chocolate</option>

<!-- END TEMPLATE: userfield_select_option --><!-- BEGIN TEMPLATE: userfield_select_option -->
<option value="8" >Gold</option>
<!-- END TEMPLATE: userfield_select_option --><!-- BEGIN TEMPLATE: userfield_select_option -->
<option value="9" >Gray</option>
<!-- END TEMPLATE: userfield_select_option --><!-- BEGIN TEMPLATE: userfield_select_option -->
<option value="10" >Jade</option>
<!-- END TEMPLATE: userfield_select_option --><!-- BEGIN TEMPLATE: userfield_select_option -->
<option value="11" >Lavender</option>
<!-- END TEMPLATE: userfield_select_option --><!-- BEGIN TEMPLATE: userfield_select_option -->
<option value="12" >Lemon</option>
<!-- END TEMPLATE: userfield_select_option --><!-- BEGIN TEMPLATE: userfield_select_option -->
<option value="13" >Magenta</option>

<!-- END TEMPLATE: userfield_select_option --><!-- BEGIN TEMPLATE: userfield_select_option -->
<option value="14" >Mauve</option>
<!-- END TEMPLATE: userfield_select_option --><!-- BEGIN TEMPLATE: userfield_select_option -->
<option value="15" >Midnight Blue</option>
<!-- END TEMPLATE: userfield_select_option --><!-- BEGIN TEMPLATE: userfield_select_option -->
<option value="16" >Mustard</option>
<!-- END TEMPLATE: userfield_select_option --><!-- BEGIN TEMPLATE: userfield_select_option -->
<option value="17" >Navy blue</option>
<!-- END TEMPLATE: userfield_select_option --><!-- BEGIN TEMPLATE: userfield_select_option -->
<option value="18" >Old Gold</option>
<!-- END TEMPLATE: userfield_select_option --><!-- BEGIN TEMPLATE: userfield_select_option -->
<option value="19" >Olive</option>

<!-- END TEMPLATE: userfield_select_option --><!-- BEGIN TEMPLATE: userfield_select_option -->
<option value="20" >Pale Blue</option>
<!-- END TEMPLATE: userfield_select_option --><!-- BEGIN TEMPLATE: userfield_select_option -->
<option value="21" >Peach</option>
<!-- END TEMPLATE: userfield_select_option --><!-- BEGIN TEMPLATE: userfield_select_option -->
<option value="22" >Rose</option>
<!-- END TEMPLATE: userfield_select_option --><!-- BEGIN TEMPLATE: userfield_select_option -->
<option value="23" >Sapphire</option>
<!-- END TEMPLATE: userfield_select_option --><!-- BEGIN TEMPLATE: userfield_select_option -->
<option value="24" >Turquoise</option>
<!-- END TEMPLATE: userfield_select_option --><!-- BEGIN TEMPLATE: userfield_select_option -->
<option value="25" >Yellow</option>

<!-- END TEMPLATE: userfield_select_option -->
</select>

</span><label for="csel_field6">Choose Your Color:</label>

</td>
</tr>

</table>
</fieldset>
<input type="hidden" name="userfield[field6_set]" value="1" />
<!-- END TEMPLATE: userfield_select -->
Reply With Quote
  #5  
Old 08-08-2009, 12:58 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First thing you should learn to do is use the search. Best thing to do is search on a term in "all mods" "titles only". If you search on the term "color", you'd find this - Users Choose Username Font/Color Posts - and several other mods which may/may not be of interest to you.

Second thing to do is get a test site set up. I find a test site invaluable when I want to make a change on my live site because I *always* want to test it on my test site first.
Reply With Quote
  #6  
Old 08-08-2009, 01:08 AM
RileyFreeman RileyFreeman is offline
 
Join Date: Aug 2009
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
First thing you should learn to do is use the search. Best thing to do is search on a term in "all mods" "titles only". If you search on the term "color", you'd find this - Users Choose Username Font/Color Posts - and several other mods which may/may not be of interest to you.

Second thing to do is get a test site set up. I find a test site invaluable when I want to make a change on my live site because I *always* want to test it on my test site first.
Thank you. I really appreciate it. I did search but I must have missed it. Thanks again
Reply With Quote
  #7  
Old 08-09-2009, 05:31 AM
RileyFreeman RileyFreeman is offline
 
Join Date: Aug 2009
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So this is a screenshot of the effect this mod has.

http://i31.tinypic.com/fyinpv.jpg

some of the usernames have some language in it so Ill just warn that a little. Anyway it would be greatly appreciated if someone knew how to do this and get back to me. Definitely willing to pay nothing too extreme though.
Reply With Quote
  #8  
Old 08-09-2009, 02:50 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you look at the mod I posted a link to?

If you wish to make a paid request, you may post here - Requests For Paid Services
Reply With Quote
  #9  
Old 08-09-2009, 11:06 PM
RileyFreeman RileyFreeman is offline
 
Join Date: Aug 2009
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Did you look at the mod I posted a link to?

If you wish to make a paid request, you may post here - Requests For Paid Services

I did and I could not edit that for only paid users. Also it would only work with the hex colours.

Is it possible to simply move this thread to the paid section? Thats what I wanted to do initially.
Reply With Quote
  #10  
Old 08-09-2009, 11:11 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should post separately over in the Paid Requests forum. No one else is allowed to post in the threads in that forum (including Mods) which means I'd have to delete all the posts in this thread before I put it there and I think you may have other info in your posts that you want to include in your Request post.
Reply With Quote
Reply

Thread Tools
Display Modes

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 03:27 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.05012 seconds
  • Memory Usage 2,252KB
  • Queries Executed 13 (?)
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
  • (2)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
  • (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_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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete