SPOILER tag

This forum is now closed as part of retiring phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

This forum is now closed due to phpBB2.0 being retired.
Post Reply
EGIS
Registered User
Posts: 60
Joined: Sat Apr 24, 2004 3:37 am
Location: Norway
Contact:

SPOILER tag

Post by EGIS »

Is there an spoiler-tag for phpBB that also hides images like on this forum: Example
The BBcode hides the content inside a div and displays the hidden content when the "Click for spoiler" text is clicked.
I know there's other Spoiler tags that make the text and background the same colors, but those dont hide images.
So if anyone could tell me how to do this? ;)
My mod: [Hide BBcode MOD]
EGIS
Registered User
Posts: 60
Joined: Sat Apr 24, 2004 3:37 am
Location: Norway
Contact:

Post by EGIS »

*bump*
My mod: [Hide BBcode MOD]
MaddoxX
Registered User
Posts: 450
Joined: Sat May 15, 2004 4:43 pm
Location: Russia

Post by MaddoxX »

yeh i have it on my forum but rofl i only need to get the code out of it and i will help u asap!
:D
niksa
Registered User
Posts: 612
Joined: Mon Sep 08, 2003 7:20 pm
Location: Future birthplace of James T. Kirk
Contact:

Post by niksa »

There's one at phpbbhacks.
User avatar
beggers
Registered User
Posts: 1257
Joined: Fri Nov 23, 2001 8:19 pm
Location: Las Vegas
Contact:

Post by beggers »

niksa wrote: There's one at phpbbhacks.
That one doesn't work on the author's own forum, so I wouldn't put much faith in it. I like this idea, though.
niksa
Registered User
Posts: 612
Joined: Mon Sep 08, 2003 7:20 pm
Location: Future birthplace of James T. Kirk
Contact:

Post by niksa »

beggers wrote:
niksa wrote:There's one at phpbbhacks.
That one doesn't work on the author's own forum, so I wouldn't put much faith in it. I like this idea, though.


Bummer! Oh well, what about LifeIsPain's bbcode? I haven't tested either on 2.0.8 yet, and LifeIsPain's is older so I have no idea if it will work..
User avatar
beggers
Registered User
Posts: 1257
Joined: Fri Nov 23, 2001 8:19 pm
Location: Las Vegas
Contact:

Post by beggers »

The last one you suggested works, but it simply changes the color of the text to the background color of the message. You have to drag your cursor of the area to see the text.

I like the suggestion that the orginal posted had. You should be able to hide a section and when someone clicks on the Spoiler link, that section would expand. I've seen this done for large sections of code on other phpBBs but I don't know the name of the mod. Maybe someone else does.
niksa
Registered User
Posts: 612
Joined: Mon Sep 08, 2003 7:20 pm
Location: Future birthplace of James T. Kirk
Contact:

Post by niksa »

Oh, yeah - the code thing that expands is called div expand or code expand.. something like that. It's from forumimages if it's the same thing you're talking about.
Schwpz
Registered User
Posts: 335
Joined: Wed May 07, 2003 1:33 pm
Location: Planet Zot
Contact:

Post by Schwpz »

Anyone knows where to download the spoiler mod in the initial post?
It seems like a VERY cool and useful mod, I'd love to have it for my forum!! :D
..:: PlanetZot.com - Your ultimate source for animation! ^^
cheesypeanut
Registered User
Posts: 121
Joined: Mon May 05, 2003 12:51 am
Location: England

Post by cheesypeanut »

http://www.phpbb.com/phpBB/viewtopic.php?t=206852

That might be of interest to you guys :D
Post Reply

Return to “[2.0.x] MOD Requests”