Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Usernames color Details »»
Usernames color
Version: 1.1, by vegeta_99 vegeta_99 is offline
Developer Last Online: Mar 2016 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.7 Rating:
Released: 05-31-2007 Last Update: Never Installs: 90
Uses Plugins
Code Changes  
No support by the author.

Usernames color


Description

This hack display usernames with color everywhere on your forum. Now, usernames appear with color in your forums (forumdisplay), on your index (in last reply column), etc


Informations



Hack Version: 1.1
vBulletin version: vBulletin 3.6



Installation

Product

Import the product "product-color_pseudos.xml". (Plugins & Products >> Manage Products >> [Add/Import Product])

File Edits

In the file "functions_forumlist.php" in the folder "includes", Find:

Code:
eval('$forum[\'lastpostinfo\'] = "' . fetch_template('forumhome_lastpostby') . '";');
Add above:

Code:
($hook = vBulletinHook::fetch_hook('colorname')) ? eval($hook) : false;



Upload:


Upload the file "hooks_colorname" in your forlder ./includes/xml



Evolutions and improvements

Don't hesitate to share your ideas of improvements for this hack.

PS: Thanks Sofia for traduction :up:

Show Your Support

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

Comments
  #2  
Old 06-01-2007, 10:45 AM
EnIgMa1234 EnIgMa1234 is offline
 
Join Date: Mar 2006
Location: .:: Ireland ::.
Posts: 1,306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry i dont get what this does. does it allow users to choose their own color?
Reply With Quote
  #3  
Old 06-01-2007, 10:46 AM
Sofia Sofia is offline
 
Join Date: Oct 2006
Location: France
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EnIgMa1234 View Post
sorry i dont get what this does. does it allow users to choose their own color?
No this hack display usernames with color everywhere on your forum. Now, usernames appear with color in your forums (forumdisplay), on your index (in last reply column), etc
Reply With Quote
  #4  
Old 06-01-2007, 10:47 AM
EnIgMa1234 EnIgMa1234 is offline
 
Join Date: Mar 2006
Location: .:: Ireland ::.
Posts: 1,306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so its like posting $post[musername] everywhere?
Reply With Quote
  #5  
Old 06-01-2007, 10:48 AM
harmor19 harmor19 is offline
 
Join Date: Apr 2005
Posts: 1,324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Take out the file edit.
Make a new plugin to "forumhome_complete" and add your own hook location in the 'code' box.
Reply With Quote
  #6  
Old 06-01-2007, 11:00 AM
vegeta_99 vegeta_99 is offline
 
Join Date: Jan 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the file who generate forum and foruminfo on forumhome is function_forumlist.php and not index.php .
The hook "forumhome_complete" can't use consequetly
Reply With Quote
  #7  
Old 06-01-2007, 12:26 PM
Mecho's Avatar
Mecho Mecho is offline
 
Join Date: Aug 2006
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks ... works fine

Installed
Reply With Quote
  #8  
Old 06-01-2007, 01:24 PM
SLY LS1's Avatar
SLY LS1 SLY LS1 is offline
 
Join Date: May 2007
Location: Melbourne Australia
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it, but i though the usernames were already coloured ?

------------------------------------------------------------------------------------

Another idea would be a mod where you can set a colour for each user group

I had it on my old forum
Reply With Quote
  #9  
Old 06-01-2007, 01:27 PM
Sofia Sofia is offline
 
Join Date: Oct 2006
Location: France
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SLY LS1 View Post
I installed it, but i though the usernames were already coloured ?

------------------------------------------------------------------------------------

Another idea would be a mod where you can set a colour for each user group

I had it on my old forum
Can set a color for each usergroup? a sort of legend on your index?
Reply With Quote
  #10  
Old 06-01-2007, 02:28 PM
Vizionz Vizionz is offline
 
Join Date: Jul 2003
Location: Chicago
Posts: 524
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SLY LS1 View Post
I installed it, but i though the usernames were already coloured ?

------------------------------------------------------------------------------------

Another idea would be a mod where you can set a colour for each user group

I had it on my old forum
you can already do that through usergroups ? then just set up a member legend and your done.
Reply With Quote
Reply

Thread Tools

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 02:22 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08655 seconds
  • Memory Usage 2,285KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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_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