Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #12  
Old 06-01-2007, 02:34 PM
Mecho's Avatar
Mecho Mecho is offline
 
Join Date: Aug 2006
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oops - now i noticed that Subforums doesnt shows up in some of the sections . i removed that code from functions_forumlist.php and now everything is ok ...

any idea ?

Thanks in advance
Reply With Quote
  #13  
Old 06-01-2007, 03:43 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the release. I've been waiting for this.
Reply With Quote
  #14  
Old 06-01-2007, 03:58 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright, now this is weird. Whenever the plugin is enabled, the sub-forums on the forum's homepage are gone completely but whenever I disable the hack, it works just fine. Any idea?
Reply With Quote
  #15  
Old 06-01-2007, 03:59 PM
kristin87 kristin87 is offline
 
Join Date: Jun 2006
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can't you achieve this by changing the colors in the HTML markup?
Reply With Quote
  #16  
Old 06-01-2007, 04:08 PM
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Location: France
Posts: 2,570
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mecho View Post
oops - now i noticed that Subforums doesnt shows up in some of the sections . i removed that code from functions_forumlist.php and now everything is ok ...

any idea ?

Thanks in advance
Quote:
Originally Posted by Snake View Post
Thanks for the release. I've been waiting for this.
Quote:
Originally Posted by kristin87 View Post
Can't you achieve this by changing the colors in the HTML markup?
The forum where there are problems have specific parameters compared to the others ?
Reply With Quote
  #17  
Old 06-01-2007, 04:10 PM
unforsaken unforsaken is offline
 
Join Date: Aug 2006
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes you can...just set your usergroup Username HTML markup with an html color command (span style or font color) and you can accomplish this same feature on every section of your board...of course for those who aren't familiar with the html commands this could be a useful mod
Reply With Quote
  #18  
Old 06-01-2007, 05:12 PM
BBF BBF is offline
 
Join Date: Dec 2006
Location: Israel, Netanya.
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it's don't work on vb 3.6.7 pl1
Reply With Quote
  #19  
Old 06-01-2007, 05:31 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think BBF's right. Well at least, it doesn't work fine to me.
Reply With Quote
  #20  
Old 06-01-2007, 06:02 PM
vegeta_99 vegeta_99 is offline
 
Join Date: Jan 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am going to provide an update soon
Reply With Quote
  #21  
Old 06-01-2007, 11:17 PM
StrifeX StrifeX is offline
 
Join Date: Dec 2006
Location: New York
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by unforsaken View Post
yes you can...just set your usergroup Username HTML markup with an html color command (span style or font color) and you can accomplish this same feature on every section of your board...of course for those who aren't familiar with the html commands this could be a useful mod
This makes it show up on FORUMLIST, there is no previous option for that.

Oh and also, this executes 60 queries on forumhome. You might want to do something about it...
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 01:56 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.04906 seconds
  • Memory Usage 2,309KB
  • 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
  • (2)bbcode_code
  • (4)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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