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

Reply
 
Thread Tools
[bmw] Rainbow (Gradient) Username for Usergroups Details »»
[bmw] Rainbow (Gradient) Username for Usergroups
Version: 1.00, by bodaudinh bodaudinh is offline
Developer Last Online: Dec 2013 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.8.1 Rating:
Released: 03-13-2009 Last Update: 03-13-2009 Installs: 54
Uses Plugins Template Edits
Additional Files Translations  
No support by the author.

This simple hack enables to display usernames for any usergroup in rainbow effect.

Please note that since it is based on pure HTML and JavaScript and in no way uses any BBcode of VB function/hooks, this is compatible with all versions of vBulletin.

You can use it as HTML with: <span class="rainbow"> your content </span>

Installation:
Time Required: 3 minutes

1. Upload clientscript directory (included rainbow.js) on your server in ASCII mode

2. Open headinclude template and add the following code at any reasonable place:
Code:
Code:
<script type="text/javascript" src="$vboptions[bburl]/clientscript/rainbow.js"></script>
3. Open footer template and add the following code at the bottom:
Code:
Code:
<!-- rainbow text initialize -->
<script type="text/javascript"> 
<!--
nickmausac('rainbow');
//  End -->
</script>
<!-- rainbow text end -->
4. Open the Usergroup Manager throug ACP and edit the desired user group.
4.1 -Put start tag as:
Code:
Code:
<span class="rainbow">
4.2 Change the end tag to be:
Code:
Code:
</span>
You're Done! Enjoy!!

Thanks:
- jim bumgardner (http://krazydad.com/makecolors.php)
-
n.sinha.p (Instruction of your mods, my English's bad )

Download Now

File Type: zip rainbowUsernames.zip (20.1 KB, 460 views)

Screenshots

File Type: jpg screenshot.jpg (29.6 KB, 0 views)
File Type: jpg usergroup.jpg (165.9 KB, 0 views)

Show Your Support

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

Comments
  #22  
Old 06-11-2009, 11:16 PM
Mellymonster Mellymonster is offline
 
Join Date: Oct 2008
Posts: 308
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Um lol ok I followed the directions, and it is not working at all for me...

<span class="rainbow" style= "font-weight: bold"> </span>

is what I used I see the bold but no rainbow, I upload the js file in the clientscript folder of my ftp under "ASCII" I did the footer and headinclude templates, and its not working
Reply With Quote
  #23  
Old 08-08-2009, 08:19 AM
DeadRabbit DeadRabbit is offline
 
Join Date: Sep 2008
Location: Fortress MU
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why are the usernames not able to be seen in rainbow color in Cyb - Chatobox?
Reply With Quote
  #24  
Old 01-15-2010, 02:14 PM
Snug Snug is offline
 
Join Date: Aug 2009
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any possible way to get this to work with 4.0?
Reply With Quote
  #25  
Old 03-04-2010, 07:00 PM
malipl malipl is offline
 
Join Date: May 2009
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does work to 4.02???
Reply With Quote
  #26  
Old 03-04-2010, 07:14 PM
malipl malipl is offline
 
Join Date: May 2009
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump
Reply With Quote
  #27  
Old 06-17-2010, 08:49 PM
fevredsuk fevredsuk is offline
 
Join Date: Apr 2010
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get rainbow colours in

currently active list
postbin
profile
usergroup colorbar
mgc chatbox evo archive

I dont get rainbow colours in

active in last 24 hours list
mgc chatbox - main chat page
cyb advanced stats

anyone now why this is and how i can make the last 3 rainbow coloured

thanks
Reply With Quote
  #28  
Old 07-16-2010, 10:21 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems like this could easily be made into a bbcode by making a bbcode that says:

Code:
<span class="rainbow">{param}</span>
Any reason that wouldn't work if this mod was already installed?
Reply With Quote
  #29  
Old 07-27-2010, 05:06 PM
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks , working on vb4 with a small edit of mine
Reply With Quote
  #30  
Old 08-07-2010, 10:33 AM
fevredsuk fevredsuk is offline
 
Join Date: Apr 2010
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RobbieZ View Post
Thanks , working on vb4 with a small edit of mine
what did you edit
Reply With Quote
  #31  
Old 08-07-2010, 06:34 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fevredsuk View Post
what did you edit
The only thing different in vb4 would be the line:

Code:
<script type="text/javascript" src="$vboptions[bburl]/clientscript/rainbow.js"></script>
Which is not the smartest way of doing this anyway, you should just edit it to the URL of your forum, something like:

Code:
<script type="text/javascript" src="/forums/clientscript/rainbow.js"></script>
if your forum is in the "/forums/" directory or just:

Code:
<script type="text/javascript" src="/clientscript/rainbow.js"></script>
if your forums are in the root. That will work on vb3 or 4.
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 10:34 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.04660 seconds
  • Memory Usage 2,335KB
  • Queries Executed 26 (?)
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
  • (8)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)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
  • (3)postbit_attachment
  • (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_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