Spoiler inside a spoiler finally possible

Important things come here.
Forum rules
Only post news if you are sure they are important.
Don't bump up old news just because you liked them.
User avatar
3ICE
Admin
Posts: 2629
Joined: Sat Mar 01, 2008 11:34 pm
Realm: Europe
Account: 3ICE
Clan: 3ICE
Location: Hungary
Contact:

Spoiler inside a spoiler finally possible

Unread post by 3ICE »

I was listening to IskatuMesk's Coffee Hour 8 and realized I never bothered to fix phpBB's inability to nest spoilers inside spoilers either. Granted, this is not a real fix, just a hack, but it's better than noting.

The idea is to create a new [ spoiler2] tag with the exact same settings and code as the original [ spoiler] tag. This lets phpBB nest the two in each other. Quick and easy hack until custom BBcode nesting is fixed in phpBB.

Now you can display a spoiler2 inside a spoiler.
Spoiler:
Harry Potter dies
Spoiler:
but only for a brief moment!

Code: Select all

[spoiler]Harry Potter dies [spoiler2]but only for a brief moment![/spoiler2][/spoiler]
--3ICE

p.s.: Up to 5 levels deep for now.
Spoiler:
One!
Spoiler:
Two!
Spoiler:
Three!
Spoiler:
Four!
Spoiler:
Five!
ImageImageImageImageImage
Image
ImageImage

Post Reply

Who is online

Users browsing this forum: No registered users and 64 guests