DF UBBCode allows your users to fade text from one colour to another using a simple UBB code. It also adds a tag for single colours as well. Download it
here .
The fading routine can also be reused elsewhere (it's very versatile), subject to the conditions in the file.
Very small install, but it didn't work for me. Please check the result I got...
click here I have HTML disabled, in case that's the problem.
You have to use hexadecimal codes, so 0000FF-FF0000.
You could make it take text values, but it'd be long. If you want it, I can make it up, though.
Although that doesn't fix the other problem... there's no reason for it to do that, it works just the same as the other UBB codes... let me work on it.
[ 01-12-2002 12:39 AM: Message edited by: Dufus ]
Nope, same result. Is it possible that this doesn't like IIS 5 servers?
The comment is visible because there's a space inserted between the < and the !... which shouldn't happen.
Problem found, stopgap fix:
### File: ubb_lib.cgi
### Find:
$_[0] =~ s/### Change to
#$_[0] =~ s/
But that opens up some problems, hang on while I work on a better fix...
Cool, I gotta run, have to work early in the morning...
I will check on this in the morning...thanks!
Fix found. File updated.
Download it again and apply the second part of the ubb_lib modifications.
Well, I tried, and tried 3 more times from backups...no go, same as before.
The single "c" tag for color doesn't work. I have the advanced UBB code installed and the "color=xxxx" tag works fine.
The two things it's still doing are adding the space in the comment tag and the "c=xxxxxx" not doing anything. The tags don't show up in the post so it is parsing them, but they have no effect.
the same thing that happened to you, is happenin to me, it shows all that stuff, this sux0rs
I just installed it, it worked... possibly I uploaded the wrong zip. I'll check.
OK, updated. This DOES work, I just did it on a clean install. If you already have it, just modify this in ubblib:
###FIND:
$_[0] =~ s/###REPLACE THE NEXT LINE WITH:
$_[0] =~ s/{< !}{.*?//-->}/
>Except replace all four {} with (), the forum won't let me put them in.
The comments are there so when you edit the post, you get the [c=ff0000-00ff00] tag instead of hundreds of [c=] tags.
None of these will work unless your browser supports CSS (for XHTML compatibility, no font tag).
It should work now, but if it doesn't I'll have a closer look at it...
I don't get the comments showing, but I still don't get any color change even using just the "c" tag.
I see the problem. If you look at the source, it is there, but it's not visible because of your layout setup.
If you go
here you'll find one which uses font tags instead of spans. That should work in any circumstance.
ahhh! return of the monger code!
now the hack works, because of that line change, perfectttttt HAHAHAHAHAHAHAHAHAHAHA
[ 01-12-2002 09:18 PM: Message edited by: HackMaster321 ]
[ 01-12-2002 09:18 PM: Message edited by: HackMaster321 ]
This mod works in 6.2 beta 1
Great!