Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
DI - BBCode [spoiler] Details »»
DI - BBCode [spoiler]
Version: 1.30, by D.Ilyin D.Ilyin is offline
Developer Last Online: Jun 2014 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.7.0 Rating:
Released: 05-07-2008 Last Update: 05-25-2008 Installs: 235
Uses Plugins Auto-Templates
Additional Files  
No support by the author.

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]
or
Code:
[spoiler]text
text
text
text[/spoiler]
Result on screen-01.gif

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 from Ims)
  3. If you have very customized editor template (like in this post) 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

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 05-23-2008, 06:06 AM
D.Ilyin D.Ilyin is offline
 
Join Date: Oct 2005
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
I realize this could very well be a bug in Firefox 3 and not something you can or should try to fix, but seeing as more and more people on our forum (currently 15% of our userbase, and climbing) is using Firefox 3 we had to stop using your addon to not alienate them, which would drive them off the forum rather than changing their favorite browser.
I'll take a look on that... And please give me a link in PM on Mozilla bug report if you post it. Thanks.
Quote:
Esta nueva version, se muestra el contenido rapidamente y luego se oculta por si solo, hay manera de solucionarlo?
чего? чего?!?!
Reply With Quote
  #43  
Old 05-26-2008, 10:57 AM
D.Ilyin D.Ilyin is offline
 
Join Date: Oct 2005
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated: 1.30 - 26.05.2008
1.30 - added flash demo
1.30 - added usage help in bbcode list ./misc.php?do=bbcode (post)
1.30 - added support for announcements (post)
1.30 - made modification - Valid XHTML 1.0 Transitional
Reply With Quote
  #44  
Old 05-26-2008, 11:13 AM
choccyclaire choccyclaire is offline
 
Join Date: Jan 2008
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks so much for adding the part I asked about!

Upgraded.
Reply With Quote
  #45  
Old 05-26-2008, 03:30 PM
lms lms is offline
 
Join Date: Jan 2008
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by D.Ilyin View Post
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.
Reply With Quote
  #46  
Old 05-26-2008, 06:56 PM
topper_grave topper_grave is offline
 
Join Date: May 2008
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by D.Ilyin View Post
I'll take a look on that... And please give me a link in PM on Mozilla bug report if you post it. Thanks.
You can completely disregard from my error report. I have no idea what went wrong the first time, but after uninstalling your plugin and then installing it again, it worked flawlessly with FF3 too. Sorry for wasting your time with a faulty report. I should of course have tried reinstalled it before reporting.

Oh, and I have a question/request: Is there any way of stopping people from "nesting" the spoiler tags? People quickly figured out you can put spoiler tags within spoiler tags, and apparently in their minds it's super fun to do that to a depth of say 20 spoilers inside each other.

Anyways, thanks for a great plugin!
Reply With Quote
  #47  
Old 05-27-2008, 06:23 AM
D.Ilyin D.Ilyin is offline
 
Join Date: Oct 2005
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by choccyclaire View Post
Thanks so much for adding the part I asked about!

Upgraded.
choccyclaire, you are welcome!
Reply With Quote
  #48  
Old 05-27-2008, 06:26 AM
D.Ilyin D.Ilyin is offline
 
Join Date: Oct 2005
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ims thanks! added link with your instrucrion in first post.
Reply With Quote
  #49  
Old 05-27-2008, 06:41 AM
D.Ilyin D.Ilyin is offline
 
Join Date: Oct 2005
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
You can completely disregard from my error report. I have no idea what went wrong the first time, but after uninstalling your plugin and then installing it again, it worked flawlessly with FF3 too.
Glad to hear that because in my FF3 it works fine .

Quote:
Is there any way of stopping people from "nesting" the spoiler tags? People quickly figured out you can put spoiler tags within spoiler tags, and apparently in their minds it's super fun to do that to a depth of say 20 spoilers inside each other.

i'll think a little... but... not promise.

And think this mod no need support any more. It is perfect!
Reply With Quote
  #50  
Old 07-12-2008, 07:41 PM
FPSChris FPSChris is offline
 
Join Date: Jun 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ehm, i cant seem to make this work with vBadvanced CMPS

The text "Click here to see full text" shows up, but im guessing something isnt working with the paths or if it's CSS code causing it, not sure what i can report..
Reply With Quote
  #51  
Old 07-18-2008, 05:03 PM
t2k7 t2k7 is offline
 
Join Date: Jun 2008
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Useful mod. Well done! I have installed it and everything is fine except for the "advanced" editor with a specific skin. There i get "Wrap [SPOILER] tags around selected text". What's wrong?

Finally one question. I wanted to have the spoiler tag in the quick reply editor. I edited the templates for all my skins with this 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>

but it didn't work good on the same skin as before. I changed the stylevar with the full path to the image and then it worked. But why this is happening while the other skins worked good with the stylevar ?

Thank you!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:36 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06553 seconds
  • Memory Usage 2,330KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_php
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete