Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Text Fade (Rainbow Faded Text) BBCode Details »
Text Fade (Rainbow Faded Text) BBCode
Mod Version: 1.00, by BirdOPrey5 (IB Staff) BirdOPrey5 is offline
Developer Last Online: Jul 2019 I like it Show Printable Version Email this Page

This thread is in the Modification Graveyard.
vB Version: 4.0.x Rating: (7 votes - 5.00 average) Installs: 33
Released: 15 Jul 2010 Last Update: Never Downloads: 134
Not Supported Additional Files Re-usable Code Translations  

This BB Code produces a rainbow like text fade effect. It uses Javascript to put multiple html font color tags between characters. There are two ways of doing this, the first method uses an external javascript file. In the second post you add the javascript to every page via the header template instead, this may be better if you expect the rainbow text to be called many times on a single page.

Demo: here.

Screen Shot:


Before You Start - See tyteen4a03's post (#18) for additional code changes that will allow you to rainbow color usernames and remove a limitation where you couldn't use double-quotes (").

1. Download the attached textfade.js.txt file, rename it to textfade.js, and upload it to your forums/clientscript folder.

2. Add a new BBCode

Title: Text Fade
BB Code Tag Name: fade
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

*Adjust the path to the textfade.js file as necessary. For example if your forum is installed in the web root (www.my-domain.com/) instead of (www.my-domain.com/forums/) then your path would simply be src="/clientscript/textfade.js"

Example: [fade]This code fades text in a rainbow.[/fade]
Description: This uses javascript to make a smooth rainbow effect in text.
Use Option: No
Button Image: (optional)
Remove Tag If Empty: Yes
All Disable Options: Yes except disable word wrapping: No

Limitations:
  • You can not use other bbcode within this bbcode, but you can use it OUTSIDE of this bbcode to change the font style/color/type etc...
  • You can't use smilies within this bbcode.
  • You can't use the double quote (") within this bbcode.

This BB Code was tested on vb4 but should work on all current versions.

Please mark as installed if you use this.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
BB Code Enhancements Text Fade (Rainbow Faded Text) BBCode BirdOPrey5 Modification Graveyard 4 28 Sep 2010 13:00
BB Code Enhancements button text bbcode Sevilah vBulletin 3.6 Add-ons 14 01 Dec 2007 23:00
BB Code Enhancements Glowing Text BBCode Alteran Ancient vBulletin 3.6 Add-ons 26 06 Apr 2007 18:54
New BB tag to do rainbow text... Zzed vBulletin 2.x Full Releases 74 03 Jun 2004 17:32

Comments
  #2  
Old 15 Jul 2010, 02:00
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Alternate Method- no external file.

1. In Style Manager -> All Style Options edit the headinclude Template for each style
At the bottom add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

2.Add a new BBCode

Title: Text Fade
BB Code Tag Name: fade
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example: [fade]This code fades text in a rainbow.[/fade]
Note- the example won't work in Admin CP because the standard header is not loaded, but it will work in your forum.

Description: This uses javascript to make a smooth rainbow effect in text.
Use Option: No
Button Image: (optional)
Remove Tag If Empty: Yes
All Disable Options: Yes except disable word wrapping: No

All the same limitations as the original method in the top post apply.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #3  
Old 15 Jul 2010, 12:24
asj's Avatar
asj asj is offline
 
Join Date: Jul 2006
the problem of the Arabic language ?
Attached Images
File Type: jpg 23f.JPG (5.3 KB, 54 views)
Reply With Quote
  #4  
Old 15 Jul 2010, 14:56
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
I'm sorry I can't try this on other languages, maybe if you can describe the problem you're having? I have marked this to allow 'translations' so if someone who knows what issues might come up with other languages are free to post versions for those other languages.

From the screen shot it appears to be working?
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.

Last edited by BirdOPrey5; 15 Jul 2010 at 18:34.
Reply With Quote
  #5  
Old 15 Jul 2010, 18:40
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
If you want the rainbow to fade the other direction (VIBGTOR instead of ROYGBIV) then change the line near the bottom from:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Attached Images
File Type: jpg ss_rainbowback.jpg (5.6 KB, 1290 views)
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #6  
Old 16 Jul 2010, 05:30
whitedd's Avatar
whitedd whitedd is offline
 
Join Date: Jan 2010
...is it posible to make fade text in name of usergroups?...
Reply With Quote
  #7  
Old 16 Jul 2010, 11:15
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by whitedd View Post
...is it posible to make fade text in name of usergroups?...
A 'search' on this topic revealed this mod:
http://www.vbulletin.org/forum/showthread.php?t=208274

But I've never used it. My guess is if you end up using that mod you could use it to make rainbow bbcode as well... use the same settings as above but don't bother uploading the javascript file here nor putting the javascript in post #2 in the header. Then instead of the replacement text I provided use:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That should do it and save you from installing 2 mods.

And yes that mod should work on 4.0 too, no reason it wouldn't.

The only 'issue' with that mod is that it isn't a rainbow per say because it doesn't fade from red-to-orange-to-yellow... etc... (ROYGBIV) but I'm sure that won't bother most people.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.

Last edited by BirdOPrey5; 28 Jul 2010 at 02:48.
Reply With Quote
  #8  
Old 28 Jul 2010, 02:36
Xencored Xencored is offline
 
Join Date: Sep 2008
Real name: Mike

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Dont work the "{param}" is just sitting there doing nothing

anyways nice bbcode thanks installed

also tryed
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Without luck
Reply With Quote
  #9  
Old 28 Jul 2010, 02:46
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
ehh.. sorry. Thanks.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #10  
Old 08 Aug 2010, 06:23
sulasno sulasno is offline
 
Join Date: Feb 2010
do I need special rights to upload the js file to the server ?
Reply With Quote
  #11  
Old 08 Aug 2010, 13:13
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
If you're able to upload files (usually via FTP) then you don't need any special permissions to upload javascript (.js) files.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #12  
Old 08 Aug 2010, 16:28
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Real name: Col
Brilliant mate ...works A1 on 4.0.3 ...look bling too ...rates 5 and hits install
Reply With Quote
  #13  
Old 08 Aug 2010, 17:20
LatinoCheats LatinoCheats is offline
 
Join Date: May 2010
Friend, I do not want to accept the changes.

After boardcode and save, I get the gray screen, ie, no more anything goes.

Not seem to accepted JAVA SCRIPT.

I installed several BBCodes yours, but sorry, it does not want to install. Can you help?

Thanks
Reply With Quote
  #14  
Old 08 Aug 2010, 19:17
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by LatinoCheats View Post
Friend, I do not want to accept the changes.

After boardcode and save, I get the gray screen, ie, no more anything goes.

Not seem to accepted JAVA SCRIPT.

I installed several BBCodes yours, but sorry, it does not want to install. Can you help?

Thanks
I'm doing my best to understand you but I'm not exactly sure what the problem is.

Did you rename and upload the javascript file to your clientscript directory?

Maybe you can tell me exactly when you are having the problem= installing the code, or trying to use it?
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #15  
Old 09 Aug 2010, 01:12
sulasno sulasno is offline
 
Join Date: Feb 2010
Originally Posted by BirdOPrey5 View Post
If you're able to upload files (usually via FTP) then you don't need any special permissions to upload javascript (.js) files.
thanks
got it uploaded
not sure whether the ftp client has a bug
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 09:42.

Layout Options | Width: Wide Color: