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
Rainbow text anywhere (BBcode, usernames, etc, auto-template) Details »»
Rainbow text anywhere (BBcode, usernames, etc, auto-template)
Version: 1.00, by tyteen4a03 tyteen4a03 is offline
Developer Last Online: Nov 2015 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.8.x Rating:
Released: 09-27-2010 Last Update: 04-09-2012 Installs: 11
Uses Plugins Auto-Templates
Re-useable Code Additional Files  
No support by the author.

NOTE: The original code was by BirdOPrey5 and bodaudinh. Thanks for the inspiriation!

This mod adds rainbow text support. You can use this rainbow text in anywhere on the site as the effect is implemented in JavaScript.

Installation:
1. Upload all files (no need to upload rainbow_source.js)
2. Import the XML
3. Configure BBCode (optional)

Title: Rainbow text
BBCode Tag Name: rainbow
Replacement: <span class="rainbow">{param}</span>
Example: [rainbow]RAINBOW TEXT[/rainbow]
Description: Rainbow Text
Use {option}: No
Remove Tag If Empty: Yes
*THE FOLLOWING ARE IMPORTANT! YOU MUST FOLLOW THE SETTINGS BELOW!*
Disable BB Code Within This BB Code: Yes
Disable Smilies Within This BB Code: Yes
Disable Word Wrapping Within This BBCode: Yes
Disable Automatic Link Parsing Within This BB Code: Yes

Usage:
HTML code: <span class="rainbow">TEXT</span>
In theory this works for <font> and other tags that support the class attribute, but none has been tested.

Online Showcase:
http://www.theguildv2.com/forums/mis...bbcode#rainbow

Changelog:
v1.0.0
-Initial release.
-Fixed a bug where special symbols such as &, ' (single quote) and " (double quote) are not handled correctly.

Support:
Please reply to this thread for any questions.

Thanks for using this mod!

Download Now

File Type: zip rainbow_username_v1.00.zip (4.0 KB, 130 views)

Screenshots

File Type: png 3.studIo Forums - Powered by vBulletin_1288761309692.png (1.7 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 09-28-2010, 11:08 AM
sulasno sulasno is offline
 
Join Date: Feb 2010
Posts: 588
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

too bad that this is not available for vB 4
Reply With Quote
  #3  
Old 09-28-2010, 11:59 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The author can answer better but I don't see any reason this wouldn't work in 4.0.x (or any vB version for that matter)...

The only possible issue is this line:
Code:
<!-- DOUBLE RAINBOW ALL THE WAY CROSS THE SKY -->
<script type="text/javascript" src="$vboptions[bburl]/clientscript/rainbow.js"></script>
<!-- WOW WOW OH MY GOD LOOK AT THAT RAINBOW -->
Which you could replace $vboptions[bburl] with the hard coded url of your site... in fact it may just work as is in vb4, I'm not sure.
Reply With Quote
  #4  
Old 09-29-2010, 04:44 PM
tafreeh tafreeh is offline
 
Join Date: May 2008
Location: Canada
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

screenshot or demo would be goood
Reply With Quote
  #5  
Old 09-29-2010, 06:21 PM
Eduardo Leon's Avatar
Eduardo Leon Eduardo Leon is offline
 
Join Date: Oct 2009
Location: Peru
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes, please post an screenshot ..
Reply With Quote
  #6  
Old 09-29-2010, 06:56 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

screenshots?

*double rainbow, what does it mean*
Reply With Quote
  #7  
Old 11-03-2010, 04:15 AM
tyteen4a03 tyteen4a03 is offline
 
Join Date: Sep 2008
Location: Hong Kong
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screenshot added. Haven't been checking this so yeah :P

I only stick with vB3 so I don't know if this works for vB4 as well.

Quote:
Originally Posted by Loco.M View Post
screenshots?

*double rainbow, what does it mean*
Search for DOUBLE RAINBOW SONG on YouTube, you will know what I mean :P
Reply With Quote
  #8  
Old 01-19-2011, 05:26 PM
Eduardo Leon's Avatar
Eduardo Leon Eduardo Leon is offline
 
Join Date: Oct 2009
Location: Peru
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

haha well i search a rainbow with an effect ..

when you put in a nickname or text this change color ...
Reply With Quote
  #9  
Old 04-10-2012, 04:33 PM
tyteen4a03 tyteen4a03 is offline
 
Join Date: Sep 2008
Location: Hong Kong
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Finally updated the code. No more manual template modification!
Reply With Quote
  #10  
Old 05-31-2015, 08:38 AM
ChiNa ChiNa is offline
 
Join Date: Jul 2012
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tyteen4a03 View Post
Finally updated the code. No more manual template modification!
Its not working. I think its the PHP Code within the XML that is causing it not to work. If found also a Typo in the URL (In XML Product) but i will come to that later. And even after fixing the URL typo It still did not work, and I decided to add the codes manually to see if it works at all.


1) The Code in "headinclude" Template"
Code:
<script type="text/javascript" src="clientscript/rainbow.js"></script>
2) The Code in my "footer" Template:
Code:
showRainbow('rainbow');
2) I finally added the BBCODE, and below is a screenshotg of how the Text Turned up in my Test Forums (vB3.8.8):




I had no time to investigate the issue further. So I made this short Tutorial to help you out. I hope you could fix it because the mod is very cool. Thanks and Good job btw.

ohh and By the way, About the URL Typo Error I mentioned above. Its in the XML File. The following URL is missing a Slash between: $vboptions[bburl] and clientscript, This is how the URL looks like now:
Code:
<script type="text/javascript" src="$vboptions[bburl]clientscript/rainbow.js"></script>


Here is the correct Example:

Code:
<script type="text/javascript" src="$vboptions[bburl]/clientscript/rainbow.js"></script>
Good Luck
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 08:25 PM.


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.04701 seconds
  • Memory Usage 2,318KB
  • 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
  • (5)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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete