UBB.Dev
Posted By: Dufus [6.1x] Darth Fader UBBCode - 01/12/2002 8:11 AM
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.
Posted By: RandyM Re: [6.1x] Darth Fader UBBCode - 01/12/2002 8:25 AM
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.
Posted By: Dufus Re: [6.1x] Darth Fader UBBCode - 01/12/2002 8:33 AM
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 ]
Posted By: RandyM Re: [6.1x] Darth Fader UBBCode - 01/12/2002 8:36 AM
Nope, same result. Is it possible that this doesn't like IIS 5 servers?
Posted By: Dufus Re: [6.1x] Darth Fader UBBCode - 01/12/2002 8:49 AM
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...
Posted By: RandyM Re: [6.1x] Darth Fader UBBCode - 01/12/2002 8:55 AM
Cool, I gotta run, have to work early in the morning...

I will check on this in the morning...thanks!
Posted By: Dufus Re: [6.1x] Darth Fader UBBCode - 01/12/2002 9:00 AM
Fix found. File updated.
Download it again and apply the second part of the ubb_lib modifications.
Posted By: RandyM Re: [6.1x] Darth Fader UBBCode - 01/12/2002 3:50 PM
Well, I tried, and tried 3 more times from backups...no go, same as before.
Posted By: RandyM Re: [6.1x] Darth Fader UBBCode - 01/12/2002 5:10 PM
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.
Posted By: HackMaster321 Re: [6.1x] Darth Fader UBBCode - 01/12/2002 6:17 PM
the same thing that happened to you, is happenin to me, it shows all that stuff, this sux0rs
Posted By: Dufus Re: [6.1x] Darth Fader UBBCode - 01/13/2002 12:01 AM
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...
Posted By: RandyM Re: [6.1x] Darth Fader UBBCode - 01/13/2002 12:36 AM
I don't get the comments showing, but I still don't get any color change even using just the "c" tag.
Posted By: Dufus Re: [6.1x] Darth Fader UBBCode - 01/13/2002 12:52 AM
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.
Posted By: RandyM Re: [6.1x] Darth Fader UBBCode - 01/13/2002 2:59 AM
Perfect!
Posted By: DPK.ducky.quack Re: [6.1x] Darth Fader UBBCode - 01/13/2002 3:27 AM
ahhh! return of the monger code!
Posted By: HackMaster321 Re: [6.1x] Darth Fader UBBCode - 01/13/2002 5:17 AM
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 ]
Posted By: Variables Re: [6.1x] Darth Fader UBBCode - 02/14/2002 11:17 AM
This mod works in 6.2 beta 1 wink

Great!
Posted By: Charles Capps Re: [6.1x] Darth Fader UBBCode - 02/14/2002 8:11 PM
Yeah, that looks quite familiar indeed ...
© UBB.Developers