Spoiler BBCode

A selection of BBCodes for use on your phpBB3 Forums.
theendfear
Forum Member
Forum Member
Posts: 10
Joined: Tue Oct 26, 2010 11:49 pm
Your Forum/Website URL: http://bayapirata.com

Re: Spoiler BBCode

Postby theendfear » Fri Oct 29, 2010 2:22 pm

i need double spoiler because i have a forum of download,so when many users make the same relase with the double spoiler everything is more orderly...

es: author 1
spoiler:
dvdrip version spoiler
dvd-5 version spoiler

author 2
dvdrip version spoiler
dvd-5 version spoiler
ecc...

Disable adblock

This site is supported by ads and donations.
If you see this text you are blocking our ads.
Please consider to support the site.


User avatar
LDM
Site Admin
Site Admin
Posts: 1794
Joined: Thu May 29, 2008 6:51 pm
Your Forum/Website URL: http://
Location: UK
Contact:

Re: Spoiler BBCode

Postby LDM » Sat Oct 30, 2010 1:16 am

Would this not be okay?

Author 1

Spoiler: show
dvdrip version spoiler

Spoiler: show
dvd-5 version spoiler


Haven't heard of a spoiler in a spoiler before but let me have a think about it, it could be done.

Cisco if you are reading, any ideas? I know you are a man for BBCodes.
Image

Image

theendfear
Forum Member
Forum Member
Posts: 10
Joined: Tue Oct 26, 2010 11:49 pm
Your Forum/Website URL: http://bayapirata.com

Re: Spoiler BBCode

Postby theendfear » Sat Oct 30, 2010 1:44 am

yep,but with the double spoiler it could be more orderly,however on ipb and vb bullettin the double spoiler works, i tried to copy the source code but don't work,there is the same problem...
I hope that you will invent something!!! thanks in advance!!

User avatar
cisco007
Staff
Staff
Posts: 501
Joined: Tue Oct 07, 2008 3:44 am
Your Forum/Website URL: http://phpbbmexico.com

Re: Spoiler BBCode

Postby cisco007 » Sat Oct 30, 2010 2:30 am

I am really having a hard time, undestanding exactly what it is you want, a spoiler within a spoiler, why can't you do one inside the other!?
Image
Image

Disable adblock

This site is supported by ads and donations.
If you see this text you are blocking our ads.
Please consider to support the site.


theendfear
Forum Member
Forum Member
Posts: 10
Joined: Tue Oct 26, 2010 11:49 pm
Your Forum/Website URL: http://bayapirata.com

Re: Spoiler BBCode

Postby theendfear » Sat Oct 30, 2010 3:05 pm

i don't understand what you said(my english is quite bad),do you ask me if the spoiler can be inside other spoiler?
the answer is no...
Spoiler: show
hello[spoiler]helloworld
[/spoiler]

User avatar
cisco007
Staff
Staff
Posts: 501
Joined: Tue Oct 07, 2008 3:44 am
Your Forum/Website URL: http://phpbbmexico.com

Re: Spoiler BBCode

Postby cisco007 » Sun Oct 31, 2010 4:08 pm

ok, this i how i did it

bbcode usage:

Code: Select all

[spoilers]{TEXT1},{TEXT2}[/spoilers]


html:

Code: Select all

<div style="padding: 3px; background-color: #FFFFFF; border: 1px solid #d8d8d8; font-size: 1em;"><div style="text-transform: uppercase; border-bottom: 1px solid #CCCCCC; margin-bottom: 3px; font-size: 0.8em; font-weight: bold; display: block;"><span onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerHTML = '<b>Spoiler: </b><a href=\'#\' onClick=\'return false;\'>hide</a>'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerHTML = '<b>Spoiler: </b><a href=\'#\' onClick=\'return false;\'>show</a>'; }" /><b>Spoiler: </b><a href="#" onClick="return false;">show</a></span></div><div class="quotecontent"><div style="display: none;">{TEXT1}<div style="padding: 3px; background-color: #FFFFFF; border: 1px solid #d8d8d8; font-size: 1em;"><div style="text-transform: uppercase; border-bottom: 1px solid #CCCCCC; margin-bottom: 3px; font-size: 0.8em; font-weight: bold; display: block;"><span onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerHTML = '<b>Spoiler: </b><a href=\'#\' onClick=\'return false;\'>hide</a>'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerHTML = '<b>Spoiler: </b><a href=\'#\' onClick=\'return false;\'>show</a>'; }" /><b>Spoiler: </b><a href="#" onClick="return false;">show</a></span></div><div class="quotecontent"><div style="display: none;">{TEXT2}</div></div></div></div></div></div>


helpline:

Code: Select all

[spoilers]dvdrip version,dvd5 version[/spoilers]

and look a the image to see how to use it and what it looks like, you cannot use too many spoilers inside each other!
Image
Image

theendfear
Forum Member
Forum Member
Posts: 10
Joined: Tue Oct 26, 2010 11:49 pm
Your Forum/Website URL: http://bayapirata.com

Re: Spoiler BBCode

Postby theendfear » Mon Nov 01, 2010 2:43 am

ti ringrazio tantissimo per l'interesse.. però cosi non va bene,perchè gli
spoiler dovrebbero essere tre e non due..
like this...
Image
or
Image

to do this i had to make 3 spoiler bbcode: spoiler,spoiler2,spoiler3
Spoiler: show

Code: Select all

[spoiler]Versione DVDRip
[spoiler1][code]http://www.megaupload.com/?d=NZI2U4RI[/code][/spoiler1]
Versione DVD-9[spoiler2][code]http://hotfile.com/dl/37932502/e325b2d/Th.Pshr.2004.D9.part01.rar.html
http://hotfile.com/dl/37932684/df38bd3/Th.Pshr.2004.D9.part02.rar.html
http://hotfile.com/dl/37932823/fdbe2ca/Th.Pshr.2004.D9.part03.rar.html
http://hotfile.com/dl/37932967/e5ca0bf/Th.Pshr.2004.D9.part04.rar.html
http://hotfile.com/dl/37930686/9045ebe/Th.Pshr.2004.D9.part05.rar.html
http://hotfile.com/dl/37931078/d2aa49a/Th.Pshr.2004.D9.part06.rar.html
http://hotfile.com/dl/37931164/4d6ce92/Th.Pshr.2004.D9.part07.rar.html
http://hotfile.com/dl/37960930/bad31ba/Th.Pshr.2004.D9.part08.rar.html
http://hotfile.com/dl/37931025/894fff6/Th.Pshr.2004.D9.part09.rar.html
http://hotfile.com/dl/37931355/44715ee/Th.Pshr.2004.D9.part10.rar.html
http://hotfile.com/dl/37955876/29978ea/Th.Pshr.2004.D9.part11.rar.html
http://hotfile.com/dl/37939778/e2db1c1/Th.Pshr.2004.D9.part12.rar.html[/code][/spoiler2][/spoiler]


would be much more convenient if a single bbcode could do everything.
The spoiler tag is interpreted as a normal word, and not as a bbcode when it is inside another spoiler, you can not prevent this?

User avatar
cisco007
Staff
Staff
Posts: 501
Joined: Tue Oct 07, 2008 3:44 am
Your Forum/Website URL: http://phpbbmexico.com

Re: Spoiler BBCode

Postby cisco007 » Mon Nov 01, 2010 4:05 pm

well yeah, i missed one spoiler, but all you had to do was add another

Code: Select all

<div style="padding: 3px; background-color: #FFFFFF; border: 1px solid #d8d8d8; font-size: 1em;"><div style="text-transform: uppercase; border-bottom: 1px solid #CCCCCC; margin-bottom: 3px; font-size: 0.8em; font-weight: bold; display: block;"><span onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerHTML = '<b>Spoiler: </b><a href=\'#\' onClick=\'return false;\'>hide</a>'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerHTML = '<b>Spoiler: </b><a href=\'#\' onClick=\'return false;\'>show</a>'; }" /><b>Spoiler: </b><a href="#" onClick="return false;">show</a></span></div><div class="quotecontent"><div style="display: none;">{TEXT4}</div></div></div>


to the code I gave you, but I am glad you got it working, glad i could inspire you! :lol:
Image
Image

theendfear
Forum Member
Forum Member
Posts: 10
Joined: Tue Oct 26, 2010 11:49 pm
Your Forum/Website URL: http://bayapirata.com

Re: Spoiler BBCode

Postby theendfear » Tue Nov 02, 2010 2:38 am

thanks!
however, I found the solution ... there is a mod that allows you to nest one inside another bbcode, here it is ...

User avatar
cisco007
Staff
Staff
Posts: 501
Joined: Tue Oct 07, 2008 3:44 am
Your Forum/Website URL: http://phpbbmexico.com

Re: Spoiler BBCode

Postby cisco007 » Tue Nov 02, 2010 3:57 am

i already know about that mod, but thanks anyways!
Image
Image

Disable adblock

This site is supported by ads and donations.
If you see this text you are blocking our ads.
Please consider to support the site.



Return to “PhpBB3 BBCodes”



Who is online

Users browsing this forum: No registered users and 5 guests