The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Spoiler BB code [Animation version] Details »» | |||||||||||||||||||||||||||||
I was always looking for something interesting or funny about spoiler tag !
One day I found a fantastic animation gif File for this BBcode ! And create my own codes and the idea of Animation Spoiler tag came true ! As I see this Re_usable code ... I think I can share it easily ! Although I creat and used different code and pictures ! can see demos : Demo 1 : http://forum.golzarion.com/showthread.php?t=183 ************* Install : 1. In admin control panel : Custom BB Codes => Add New BB Code 2.Title : Spoiler 3.BB Code Tag Name : spoiler 4.Replacement : Code:
<div style="margin:20px; margin-top:5px"> <div class="smallfont" style="margin-bottom:2px; width:852; height:26"><right><font color="red"><b> </b></font></right> <span lang="fa"> <img border="0" src="http://forum.golzarion.com/u%20Pictures/spoiler2.gif" width="21" height="20"> <b>Spoiler</b>: {option} </span><input type="button" value="Show" style="width:45px;font-size:10px;margin:0px;padding:0px;" 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.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show'; }"> </div> <div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;"> <div style="display: none;"> {param} </div> </div> </div> 6.Description : The [spoiler] tag allows you to hidden or hide your text. 7.Use {option} : NO 8. Button Image (Optional) ==>> upload this picture on you sever and enter the exact address of it . 9. Remove Tag If Empty : Yes 10. Disable BB Code Within This BB Code : No 11.Disable Smilies Within This BB Code : No 12.Disable Word Wrapping Within This BB Code : No *** I recommend that download the attached file . and read the full instruction and upload the Pictures ( gif files ) on your server! ** Please not to forget to click INSTALL . Thanks. ** http://forum.golzarion.com . ************ see also this post for the spoiler with golden border ( if you like ) * update : missed </div> was added and it works properly on all browsers version. Download Now
Show Your Support
|
Благодарность от: | ||
mohammadxxx |
Comments |
#32
|
|||
|
|||
can someone please post the correct replacement code as I just added this and am haivn the same problems and what I notice the spoiler content is within the brackets instead of outside of the brackets as it is suppose to be and if you want it to show up you gotta rewrite what you said in the brackets outside of the brackets
example - [spoiler=spoiler content]spoiler content[/spoiler] - that is how it works but when i added mines it comes out like this: [ spoiler=spoiler content ][ /spoiler ] (minus the spaces in between the brackets and the wording) can someone plz help me out here by posting the correct replacement code here? please as it would help alot to those who are not techies like the rest of you who know what you are doing...THANK YOU! |
#33
|
||||
|
||||
Quote:
Quote:
The replacement codes are correct ! I installed on my own forum as you can see demo... Please read the install tips more carefully . Quote:
The codes are 100% correct ! and had been tested on many live boards ... |
#34
|
||||
|
||||
Didn't work
|
#35
|
||||
|
||||
Did you add css codes from attached file ?
Please read this post carefully : https://vborg.vbsupport.ru/showpost....1&postcount=17 It works 100% !! See live demo on my own forum : http://forum.golzarion.com/showpost....49&postcount=6 And here : http://www.ogameclub.com/talisman-on...tml#post124065 |
#36
|
|||
|
|||
downloaded and waiting install
|
#37
|
||||
|
||||
Install it and let the users enjoy of spoiling !
|
#38
|
|||
|
|||
can you add permission?
such as: PHP Code:
PHP Code:
|
#39
|
|||
|
|||
If I tick use option yes then it won't work. but if i don't tick it then it works. how come?
|
#40
|
||||
|
||||
Quote:
It should be the same on your forums ,too. And it should work . |
#41
|
|||
|
|||
Quote:
when i set that option to no..button works.. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|