Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Custom Username/User title colour hack. Details »»
Custom Username/User title colour hack.
Version: , by Nebby Nebby is offline
Developer Last Online: Mar 2007 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 06-02-2003 Last Update: Never Installs: 0
 
No support by the author.

Someone At VB.com asked me for thisHERE Seeing as i wrote it up for him, i thought i might as well submit it here.


Custom Username/User title colour hack.

1. Go to Admin CP,
2. Go to Add under "user profile fields"
3. Name it Username Colour, or something appropriate
4. The description
5. Maximum input set to 7 (for something such as #000000)
6 Field lengh 7
7. Display order whatever you wish
8. Field Required - No
9. Field Hidden on profile. set you Yes if you want it editable by user, no if editable by Admin
10. Field Editable by user. set you Yes if you want it editable by user, no if editable by Admin
11. Save
12. Hover over the link for it and get the Profile Field ID

13. go to modify under "Templates" and expand list
14. Expand "Postbit Templates"
15. Edit "postBit"

--FOR USERNAME COLOUR--

1. Find "$post[username]"
2. RIGHT BEFORE Add the following:

<font color="$post[fieldX]">

Where X = the Profile Field ID

3. RIGHT AFTER $post[username] add </font>

Save.

--FOR RANK COLOUR--

1. Find "$post[usertitle]"
2. RIGHT BEFORE Add the following:

<font color="$post[fieldX]">

Where X = the Profile Field ID

3. RIGHT AFTER $post[usertitle] add </font>

Save.

Then just edit the users Font colour to what you want, or if you enabled the user to do it, they can just goi to userCP and enter it.
Things such as "white" and "green" etc can also be used if you can't be bothered to find the HTML code

(SideNote: This can be applied to anything anywhere, just edit the appropriate template)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 06-02-2003, 12:42 AM
Nebby Nebby is offline
 
Join Date: Mar 2003
Location: England
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh well, it appears a couple of others have made exactly the same hack.

Please don't flame me =/
Reply With Quote
  #3  
Old 06-02-2003, 01:01 AM
kaotic's Avatar
kaotic kaotic is offline
 
Join Date: Mar 2003
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol, np. That's actually very creative, but it's not really a "hack" either. Nice idea, though.
Reply With Quote
  #4  
Old 06-02-2003, 01:11 AM
Nebby Nebby is offline
 
Join Date: Mar 2003
Location: England
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It involves Editing of templates, i class that as i hack, but i don't know if anyone else would
Reply With Quote
  #5  
Old 06-02-2003, 03:51 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is not a hack, it is a template edit.

Nice job though. I has been done millions of times, but who cares.
Reply With Quote
  #6  
Old 06-02-2003, 04:08 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not a hack, moving to Template Mods. (btw, this has been done many times over anyway).
Reply With Quote
  #7  
Old 06-08-2003, 10:21 AM
sammyb40's Avatar
sammyb40 sammyb40 is offline
 
Join Date: Jun 2003
Location: SO CAL
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried that and got errors, what I do wrong ?
Reply With Quote
  #8  
Old 06-09-2003, 10:48 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What kind of errors? Something not appearing etc.?
Reply With Quote
  #9  
Old 06-22-2003, 06:24 PM
mx3's Avatar
mx3 mx3 is offline
 
Join Date: Nov 2002
Location: prescott valley, az
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've done this at my forums, but i've extended it. I got it to work with the store hack's glow, which is easy....but i also have other fields that will change their font color, their post background color, etc...All separate fields, of course
Reply With Quote
  #10  
Old 07-08-2003, 07:57 PM
Joel Llewellyn's Avatar
Joel Llewellyn Joel Llewellyn is offline
 
Join Date: Jun 2003
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*Adds in* I've seen this before, and I just added it to my new forums; and I might add it somehow into the arcade soon - or atleast try
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 11:43 AM.


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.04327 seconds
  • Memory Usage 2,287KB
  • Queries Executed 25 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)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_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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete