php forum
php mysql forum
php mysql smarty
 
Topic Options
#216861 - 05/21/02 12:06 AM Spoiler tag add-on for UBB Code (v5/v6)
Dalar Offline
Member

Registered: 04/22/02
Posts: 231
Loc: Hamilton, Ontario, Canada

   Spoiler tag add-on for UBB Code (v5/v6) to Del.icio.us Add to del.icio.us
  Digg Spoiler tag add-on for UBB Code (v5/v6) Digg it
The attached file has code which adds the ability for users to post "spoiler" information and keep the text hidden from those who do not wish to be spoiled. Those who want to read it simply drag their mouse over the text. The tags are
Click to reveal..
to open and
to close. The text is within a table, and these modifications include measures to prevent tables going out of whack because of a forgotten [/spoiler] tag or two. <br /> <br />This is one function that goes under the "I can't believe it's not in UBBThreads yet", heh <img src="/forum/images/icons/smile.gif" alt="" /> Really should be added to the next release.. several other forums out there support it <img src="/forum/images/icons/wink.gif" alt="" /> <br /> <br /> An example


Attachments
47909-ubbthreads spoiler code.txt (91 downloads)



Edited by Dalar (05/21/02 12:08 AM)
_________________________
Dalar
Legends of Tacendia
[]http://legendsoftacendia.com/forumimages/icons/troll.gif[/]

Top
#216862 - 05/21/02 01:52 AM Re: Spoiler tag add-on for UBB Code (v5/v6) [Re: beatdown]
Dalar Offline
Member

Registered: 04/22/02
Posts: 231
Loc: Hamilton, Ontario, Canada
Oops.. new version attached here, was missing a couple important things =D


Attachments
47916-ubbthreads spoiler code.txt (83 downloads)

_________________________
Dalar
Legends of Tacendia
[]http://legendsoftacendia.com/forumimages/icons/troll.gif[/]

Top
#216863 - 05/21/02 08:41 AM Re: Spoiler tag add-on for UBB Code (v5/v6) [Re: beatdown]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
The spoiler code looks great, would you mind if I stole it and put into my AddMarkups-hack?
_________________________
/Gardener | Complete list of my mods

Top
#216864 - 05/21/02 12:19 PM Re: Spoiler tag add-on for UBB Code (v5/v6) [Re: c0bra]
Dalar Offline
Member

Registered: 04/22/02
Posts: 231
Loc: Hamilton, Ontario, Canada
go right ahead <img src="/forum/images/icons/smile.gif" alt="" />
_________________________
Dalar
Legends of Tacendia
[]http://legendsoftacendia.com/forumimages/icons/troll.gif[/]

Top
#216865 - 05/21/02 12:55 PM Re: Spoiler tag add-on for UBB Code (v5/v6) [Re: beatdown]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
Okey, thanks, I'll add it soon. Don't know how I'll do with the extra handling you have added, but I'll think of something, I hope. =]
_________________________
/Gardener | Complete list of my mods

Top
#216866 - 05/21/02 01:04 PM Re: Spoiler tag add-on for UBB Code (v5/v6) [Re: c0bra]
Dalar Offline
Member

Registered: 04/22/02
Posts: 231
Loc: Hamilton, Ontario, Canada
If you have any q's, feel free to ask <img src="/forum/images/icons/smile.gif" alt="" />
_________________________
Dalar
Legends of Tacendia
[]http://legendsoftacendia.com/forumimages/icons/troll.gif[/]

Top
#216867 - 09/02/02 02:10 AM Re: Spoiler tag add-on for UBB Code (v5/v6) [Re: beatdown]
xeney Offline
User

Registered: 02/07/01
Posts: 32
Loc: Sacramento, California, USA
A warning: I just implemented this today (and thank you, I've been looking for it and I'm very glad to have it) and immediately got complaints from some users that they could see the hidden text. They were all using older versions of Netscape -- I tested it with 4.5 and I know it wouldn't work at all in Netscape 3 (no stylesheet support), so I assume they must have been using 4.0 or thereabouts.<br /><br />I had to modify the code to set the background color of the table cell to white, and changed the font color to white with HTML, bypassing style sheets altogether. It's nowhere near as nice as the version you came up with, since it shows up white on all style sheets, but it works for just about anyone, including people using non-CSS compatible browsers.

Top
#216868 - 11/04/04 04:17 PM Re: Spoiler tag add-on for UBB Code (v5/v6) [Re: Poe Reader]
Joe Siegler Offline
Member

Registered: 03/20/01
Posts: 132
Loc: Garland, TX USA
Bump. I tried using this today. Works fine.<br /><br />But Mozilla based browsers can see the text. <img src="http://www.ubbdev.com/forum/images/graemlins/frown.gif" alt="" /><br /><br />Any ideas?
_________________________
Joe Siegler
Webmaster - 3D Realms
Moderator - Infopop UBB Support Forums

Join the TiVolution !

Top
#216869 - 11/16/04 10:26 AM Re: Spoiler tag add-on for UBB Code (v5/v6) [Re: Philschi]
Joe Siegler Offline
Member

Registered: 03/20/01
Posts: 132
Loc: Garland, TX USA
Figured it out - Mozilla based browsers have to dump their cache for this to work right. I presume because it's not properly picking up the revised css file.
_________________________
Joe Siegler
Webmaster - 3D Realms
Moderator - Infopop UBB Support Forums

Join the TiVolution !

Top


Who's Online
0 Registered (), 26 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
pisa666, ghengis317, NitroX, Dogan, EliYah-
13345 Registered Users
Top Posters Last 30 Days
AllenAyres 12
blaaskaak 7
tackaberry 7
FREAK1 5
Mike L_dup1 4
Chris Bale 4
Ian_W 4

 

 

 
fusionbb message board php hacks