![]() |
Rainbow text anywhere (BBcode, usernames, etc, auto-template)
1 Attachment(s)
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! |
too bad that this is not available for vB 4
|
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 --> |
screenshot or demo would be goood
|
yes, please post an screenshot ..
|
screenshots?
*double rainbow, what does it mean* |
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:
|
haha well i search a rainbow with an effect ..
when you put in a nickname or text this change color ... |
Finally updated the code. No more manual template modification!
|
Quote:
1) The Code in "headinclude" Template" Code:
<script type="text/javascript" src="clientscript/rainbow.js"></script> Code:
showRainbow('rainbow'); https://vborg.vbsupport.ru/external/2015/05/2.png 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> |
All times are GMT. The time now is 10:01 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|