The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
DI - BBCode [spoiler] Details »» | |||||||||||||||||||||||||
DI - BBCode [spoiler] 1.30 Product information: It's simple BBcode. But all of released here was too "difficult" to install . This one is very simple . It use jQuery javascript library v.1.2.3. And can be usefull for large listing, for image hiding and so on... Usage: Code:
[spoiler=Custom header]some text some text some text some text[/spoiler] Code:
[spoiler]text text text text[/spoiler] Installation information: Files edit: 0 Templates edit: 0 Files to upload: 5 Time to install: less then 1 minute Installation instructions:
Knowing problems:
Tips:
History: Released: 1.00 - 09.05.2008 v.1.00 - first public release Updated: 1.10 - 12.05.2008 v.1.10 - changed slide time to be faster v.1.10 - changed place of deafault header phrase v.1.10 - fixed bug with new thread preview with spoiler v.1.10 - fixed bug with new reply preview with spoiler post Updated: 1.20 - 21.05.2008 v.1.20 - added link to vbulletin.org modification thread v.1.20 - added version check link v.1.20 - added SPOILER button in advanced editor v.1.20 - added spoiler.gif for advanced editor v.1.20 - fixed bbcode parsing in WYSIWYG editor (post) v.1.20 - added history.txt and readme.txt file Updated: 1.30 - 26.05.2008 v.1.30 - added flash demo v.1.30 - added usage help in bbcode list ./misc.php?do=bbcode (post) v.1.30 - added support for announcements (post) v.1.30 - made modification - Valid XHTML 1.0 Transitional Please, click install if you like it! Thanks for help: Marco van Herwaarden & Boofo Show Your Support
|
Comments |
#92
|
||||
|
||||
Am I assuming correctly by thinking that I can limit the view of this mod to registered users only by editing the xml file?
If so, any tips on where I put the code? |
#93
|
|||
|
|||
Not really. You'll want the 'hide' hack for that.
|
#94
|
|||
|
|||
great mod..imma use it now
|
#95
|
|||
|
|||
Great job!
But there is a little bug i think. 1.) Create a spoiler and submit the Posting. 2.) Edit the spoiler and submit the changes. 3.) Now you will see, the spoiler doesn't work anymore. you can click, but nothing happens. Only this two ways are possible to make the spoiler works again: 1.) reopen the page or 2.) refresh the browser window That is not so good i find... |
#96
|
|||
|
|||
Hello, guys.
Fix spoiler on quick post/edit is quite trivial. Main what we must doing it is attach event handler not only to page ready, but to post add/change too. Please see attached patches. One additional note. In archive bundled 2 patches, first, called "quick-post|edit.old.patch" is "quick" fix. But I also suggest (really this idea was by Plague admin of imho.ws ) move function initSpoilers and its attachment to document ready event into external file to allow caching it by browser. And full changes present in "quick-post|edit.patch". With best wishes, Pavel. |
#97
|
|||
|
|||
hi i got some prob with displaying spoiler img on editor bar:
P.S.: i tried all instruction in this tread but img still didnt appear. Any suggestions? |
#98
|
|||
|
|||
What image now set for button? Adjust path to where you place it.
|
#99
|
|||
|
|||
Hello,
you have to correct the path to the image. You can find it in the "spoiler.css" file in: ...yourforum/clientscript/vbulletin_css/spoiler.css |
#100
|
|||
|
|||
any change this becoming a 3.8 mod?
|
#101
|
||||
|
||||
To install this on the quick reply edit the showthread_quickreply template
Find: PHP Code:
PHP Code:
If not, just add the following BB Code. In the Admin CP Click Custom BB Codes then select Add New BB Code. Fill in the blanks with this information. Title: Spoiler BB Code Tag Name: spoiler Replacement: HTML Code:
<div style="margin:5px 20px 20px 20px"> <div class="smallfont" style="margin-bottom:2px"><b>Spoiler:</b> <input type="button" value="Click to Reveal" style="width:100px;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> Description: The [spoiler] tag allows you hide your text. Make sure you upload the attached image to forumroot/images/editor. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|