|
Joined: Aug 2000
Posts: 13
Junior Member
|
Junior Member
Joined: Aug 2000
Posts: 13 |
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.
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
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.
|
|
|
|
Joined: Aug 2000
Posts: 13
Junior Member
|
Junior Member
Joined: Aug 2000
Posts: 13 |
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 ]
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
Nope, same result. Is it possible that this doesn't like IIS 5 servers?
|
|
|
|
Joined: Aug 2000
Posts: 13
Junior Member
|
Junior Member
Joined: Aug 2000
Posts: 13 |
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...
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
Cool, I gotta run, have to work early in the morning...
I will check on this in the morning...thanks!
|
|
|
|
Joined: Aug 2000
Posts: 13
Junior Member
|
Junior Member
Joined: Aug 2000
Posts: 13 |
Fix found. File updated. Download it again and apply the second part of the ubb_lib modifications.
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
Well, I tried, and tried 3 more times from backups...no go, same as before.
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
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.
|
|
|
|
Joined: Jan 2002
Posts: 2
Junior Member
|
Junior Member
Joined: Jan 2002
Posts: 2 |
the same thing that happened to you, is happenin to me, it shows all that stuff, this sux0rs
|
|
|
|
Joined: Aug 2000
Posts: 13
Junior Member
|
Junior Member
Joined: Aug 2000
Posts: 13 |
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...
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
I don't get the comments showing, but I still don't get any color change even using just the "c" tag.
|
|
|
|
Joined: Aug 2000
Posts: 13
Junior Member
|
Junior Member
Joined: Aug 2000
Posts: 13 |
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.
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
|
|
|
|
Joined: Nov 2000
Posts: 915
Developer
|
Developer
Joined: Nov 2000
Posts: 915 |
ahhh! return of the monger code! 
|
|
|
|
Joined: Jan 2002
Posts: 2
Junior Member
|
Junior Member
Joined: Jan 2002
Posts: 2 |
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 ]
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
This mod works in 6.2 beta 1 Great!
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
Yeah, that looks quite familiar indeed ...
UBB.classic: Love it or hate it, it was mine.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|