Page 2 of 3

Re: Spoiler BBCode

Posted: Fri Oct 29, 2010 12:09 pm
by LDM

Latest post of the previous page:

Why would you need a double spoiler? Wouldn't that be like wanting a left handed screwdriver.

Re: Spoiler BBCode

Posted: Fri Oct 29, 2010 2:22 pm
by theendfear
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...

Re: Spoiler BBCode

Posted: Sat Oct 30, 2010 1:16 am
by LDM
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.

Re: Spoiler BBCode

Posted: Sat Oct 30, 2010 1:44 am
by theendfear
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!!

Re: Spoiler BBCode

Posted: Sat Oct 30, 2010 2:30 am
by cisco007
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!?

Re: Spoiler BBCode

Posted: Sat Oct 30, 2010 3:05 pm
by theendfear
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: show
helloworld

Re: Spoiler BBCode

Posted: Sun Oct 31, 2010 4:08 pm
by cisco007
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!

Re: Spoiler BBCode

Posted: Mon Nov 01, 2010 2:43 am
by theendfear
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
[/spoiler1]
Versione DVD-9[spoiler2]

Code: Select all

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
[/spoiler2]
[/code][/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?

Re: Spoiler BBCode

Posted: Mon Nov 01, 2010 4:05 pm
by cisco007
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:

Re: Spoiler BBCode

Posted: Tue Nov 02, 2010 2:38 am
by theendfear
thanks!
however, I found the solution ... there is a mod that allows you to nest one inside another bbcode, here it is ...

Re: Spoiler BBCode

Posted: Tue Nov 02, 2010 3:57 am
by cisco007
i already know about that mod, but thanks anyways!