The Arcive of vBulletin Modifications Site. |
|
New BB tag to do rainbow text... Details »»
|
|||||||||||||||||||||||||
This is a fairly simple hack that allows you to create a new BB tag to do
rainbow colors with text. It is only a few lines and the only file affected by it is admin/functions.php. You can see a sample output in this thread: http://www.ls1.com/forums/showthread...hreadid=225576 Note1: This hack has been done and tested on VB 2.2.9 Note2: Using other BB tags within the rainbow tags will convert the underlying HTML code in to rainbow text. ![]() Note3: You can find the revised and BB code friendly version in this post Note4: You can find the version that displays the full spectrum of colors in this post. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Looks good
![]() Satan |
|
#3
|
|||
|
|||
|
Please add your hack in a .txt file rather then showing it like this. Thank you.
|
|
#4
|
||||
|
||||
|
Hehe cool little hack
![]() Drkfusionwillinstallthis |
|
#5
|
|||
|
|||
|
Cool hack
... However, I have some problem with some unicode characters. They will show as #xxxx, not as the real unicode charaters. Would you please point out what should I do ?
|
|
#6
|
||||
|
||||
|
[high]* bitbender *clicks install* - clean as a whistle on my 2.2.6
[/high]
|
|
#7
|
||||
|
||||
|
Quote:
|
|
#8
|
||||
|
||||
|
Zzed, I figured out how to take the black background out but how do I make the rainbow text the same size that is set for the message? It is bigger than the regular message text.
Great hack, by the way.
|
|
#9
|
||||
|
||||
|
Quote:
![]() Here is how you fix the font size. ![]() Change this line in dorainbow() PHP Code:
PHP Code:
|
|
#10
|
||||
|
||||
|
That was quick. Thank you.
![]() Here is what I changed to make the background transparent. PHP Code:
|
![]() |
|
|