Back to vBulletin 3.7 Add-ons

DI - BBCode [spoiler]
Mod Version: 1.30, by D.Ilyin

This modification is in the archives.
vB Version: 3.7.0 Rating: (23 votes - 4.70 average) Installs: 235
Released: 09 May 2008 Last Update: 26 May 2008 Downloads: 1776
Not Supported Uses Plugins Auto-Template Additional Files  

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 http://jquery.com/ 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]
or
Code:
[spoiler]text
text
text
text[/spoiler]
Result on

Installation information:
Files edit: 0
Templates edit: 0
Files to upload: 5
Time to install: less then 1 minute

Installation instructions:
  1. Upload all content in ./upload folder of plugin to your forum root directory
  2. Import XML file through ACP: Plugin System > Manage Products > [Add/Import Product]
  3. Optional: edit ./clientscript/vbulletin_css/spoiler.css to customize spoiler

Knowing problems:
  1. Not work if a quick reply or quick edit with AJAX functions was used for adding spoiler to post. You must reload page.

Tips:
  1. To edit default spoiler header when bbcode used without option - use that link ./admincp/phrase.php?do=edit&e[GLOBAL][spoiler_default_header]
  2. If you use english phrase and then translate it on your own language, you must rebuil post cache ./admincp/misc.php?do=buildpostcache
    (full instructions in screenshots see in this post

    Spoiler (click to open)


    Quote by D.Ilyin
    good and right question (i don't know why it was deleted). Added TIP 2 how to fix it in first post.
    Press language and phrases -> search phrases -> text search = "Click here to see full text" in show thread phrases -> find

    spoiler_default_header -> EDIT -> "Spoiler: Hier klicken um den ganzen Text zu lesen" in your language -> SAVE

    Maintenaince -> Update Counters -> rebuild messages cache and Rebuild Thread Information -> Enjoy

    See attach files.
    Attached Thumbnails
    Click image for larger version
Name:	05262008182353qj7.jpg
Views:	73
Size:	77.6 KB
ID:	81316   Click image for larger version
Name:	05262008182727vd6.jpg
Views:	48
Size:	85.6 KB
ID:	81317   Click image for larger version
Name:	05262008183030vz5.jpg
Views:	45
Size:	73.4 KB
ID:	81318   Click image for larger version
Name:	05262008184743hv0.jpg
Views:	72
Size:	77.3 KB
ID:	81319  


    Close
    from Ims)
  3. If you have very customized editor template (like in this post

    Spoiler (click to open)


    where is the button?
    Attached Thumbnails
    Click image for larger version
Name:	My_Screenshot_24.jpg
Views:	121
Size:	29.0 KB
ID:	81154  

    Close
    ) and [SPOILER] button do not display you should add it manualy (if you want it of course ):
    • In Style manager ./admincp/template.php?do=modify open your style and choose Edit Temlates
    • Open editor_toolbar_on template
    • Find
      PHP Code:
      <if condition="$vBeditTemplate['extrabuttons'] != '' "
      and add it before
      PHP Code:
      <td><div class="imagebutton" id="{$editorid}_cmd_wrap0_spoiler"><img src="$stylevar[imgdir_editor]/spoiler.gif" alt="[SPOILER]" width="21" height="20" border="0" /></div></td

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

Spoiler (click to open)


how i can use this BB-code ???
i have installed ... and why .....
[spoiler]bla bla[/spoiler] <== dosn't work on Post
&d=1210409755" data-lightbox="Screenshots" id="attachment80262

Close


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

Spoiler (click to open)


not work in internet explorer

any help me?

P.s. Sorry for my english

Close
)
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

Spoiler (click to open)


How do we get it to show up in the bbcode list?

http://www.xxx.com/misc.php?do=bbcode

Works great btw.

Close
)
v.1.30 - added support for announcements (post

Spoiler (click to open)


Dont work in announcements, i guess there is no javascript.

Close
)
v.1.30 - made modification - Valid XHTML 1.0 Transitional


Please, click if you like it!

Thanks for help: Marco van Herwaarden & Boofo

Download

This modification is archived, downloads are still allowed.

File Type: %1$s demo.zip (407.8 KB, 470 downloads)
File Type: %1$s di-public-spoiler-1.30.zip (29.5 KB, 1221 downloads)

Screenshots

Click image for larger version
Name:	screen-01.jpg
Views:	4355
Size:	17.4 KB
ID:	80160  

Similar Mods

Miscellaneous Hacks BBcode Mouse Over Spoiler Tag vBulletin 3.6 Template Modifications

vblts.ru supports vBulletin®, 2022-2024