Spoiler inside a spoiler finally possible

Important things come here.
Only post news if you are sure they are important.
Don't bump up old news just because you liked them.

Spoiler inside a spoiler finally possible

New postby 3ICE on Thu May 31, 2012 10:51 am

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
User avatar
3ICE
Admin
 
Posts: 2126
Joined: Sat Mar 01, 2008 11:34 pm
Location: Hungary
Realm: US East
Account: 3ICE
Clan: 3ICE

Return to News



Who is online

Users browsing this forum: No registered users and 2 guests

cron