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

Reply
 
Thread Tools
[YUI] VSQ - Spoiler Details »»
[YUI] VSQ - Spoiler
Version: 1.0.2, by mad@Max mad@Max is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Category: New Posting Features - Version: 4.0.x Rating:
Released: 04-16-2010 Last Update: Never Installs: 179
Additional Files  
No support by the author.

This is animated spoiler on YUI (js framework that use vB), that allow to you hide any information entire your post.

Installation:
1. upload all files entire "upload" folder to your forum
2. import product

How to use:
After installation in the advanced editor will appear 2 buttons: one for the spoiler to the title by default, the other with the user-defined title. Then wrap and post

Download Now

File Type: zip VSQ - Spoiler Eng v1.0.2.zip (14.5 KB, 1638 views)

Screenshots

File Type: png Snap_2010.04.18 02.18.42_001.png (5.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
itspams, mohammadxxx, Popa Andrei, xorex

Comments
  #62  
Old 08-11-2011, 05:06 PM
MikalMirkas MikalMirkas is offline
 
Join Date: Sep 2009
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Semmi View Post
Please Update this. It's the best Spoiler in vB.
I don't think he cares about this modification anymore.
He still hangs around his website, last time I checked.
Reply With Quote
  #63  
Old 08-11-2011, 06:49 PM
fatal1980 fatal1980 is offline
 
Join Date: Jul 2006
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As a temp fix:

in the BB code manager:

add:

Title:
Spoilers

BB Code Tag Name:
sp ( or whatever you want)

Replacement: (from the VSQ template)

<div class="spoiler">
<h2>Spoiler</h2>
<div class="hidden">{param}</div>
</div>

Example:

[sp] this is a test [/sp]

Button Image:
http://www.yourdomain.com/images/editor/spoiler.gif (if you want an image in the advanced editor)
Reply With Quote
2 благодарности(ей) от:
Ichigo88, MarceloS
  #64  
Old 08-12-2011, 03:48 PM
Ichigo88's Avatar
Ichigo88 Ichigo88 is offline
 
Join Date: Nov 2009
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you fatal! in this spoiler there are tow spoiler! one is fix thanks to you!

the second is [spoiler=Title Text]Hidden Text Here[/spoiler] with title! how to ad in editor?
Reply With Quote
  #65  
Old 08-13-2011, 02:25 AM
HoSStiA HoSStiA is offline
 
Join Date: Aug 2007
Location: Moscow
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fix for 4.1.5:
1). Open Plugin Manager and search for BBCode [spoiler]: button
2). Click on edit and change the hook to editor_toolbar_start
3). Replace the Plugin PHP Code with a new content:
PHP Code:
if ($show['editor_toolbar'])
{
    
$imgdir_editor vB_Template_Runtime::fetchStyleVar('imgdir_editor');
        
$vbulletin->bbcodecache[] = array(
        
'buttonimage' => "$imgdir_editor/spoiler.gif",
        
'twoparams' => 0,
        
'bbcodetag' => 'spoiler',
        
'tag' => 'Spoiler',
                
'title' => 'Spoiler'
    
);

    
$vbulletin->bbcodecache[] = array(
        
'buttonimage' => "$imgdir_editor/spoiler_a.gif",
        
'twoparams' => 1,
        
'bbcodetag' => 'spoiler',
        
'tag' => 'Spoiler +',
                
'title' => 'Spoiler +'
    
);

Reply With Quote
3 благодарности(ей) от:
BCP Hung, judgeserg, mlotziii
  #66  
Old 08-13-2011, 08:26 AM
archet1337's Avatar
archet1337 archet1337 is offline
 
Join Date: Sep 2009
Location: Norway
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tried your fix HoSStiA, but it still doesn't work on my 4.1.5 board.

The spoiler buttons and box works, but I can't click them to see the hidden content.

Any ideas on what I can do to make it work?
Reply With Quote
  #67  
Old 08-14-2011, 01:32 AM
hacksden hacksden is offline
 
Join Date: Mar 2011
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@HoSStiA

Thank you very much.
Reply With Quote
  #68  
Old 08-14-2011, 12:46 PM
haidm haidm is offline
 
Join Date: Feb 2010
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HoSStiA View Post
Fix for 4.1.5:
1). Open Plugin Manager and search for BBCode [spoiler]: button
2). Click on edit and change the hook to editor_toolbar_start
3). Replace the Plugin PHP Code with a new content:
PHP Code:
if ($show['editor_toolbar'])
{
    
$imgdir_editor vB_Template_Runtime::fetchStyleVar('imgdir_editor');
        
$vbulletin->bbcodecache[] = array(
        
'buttonimage' => "$imgdir_editor/spoiler.gif",
        
'twoparams' => 0,
        
'bbcodetag' => 'spoiler',
        
'tag' => 'Spoiler',
                
'title' => 'Spoiler'
    
);

    
$vbulletin->bbcodecache[] = array(
        
'buttonimage' => "$imgdir_editor/spoiler_a.gif",
        
'twoparams' => 1,
        
'bbcodetag' => 'spoiler',
        
'tag' => 'Spoiler +',
                
'title' => 'Spoiler +'
    
);

Still not display the icon on toolbar.
Reply With Quote
  #69  
Old 08-26-2011, 01:05 PM
MarceloS MarceloS is offline
 
Join Date: Aug 2008
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HoSStiA View Post
Fix for 4.1.5:
1). Open Plugin Manager and search for BBCode [spoiler]: button
2). Click on edit and change the hook to editor_toolbar_start
3). Replace the Plugin PHP Code with a new content:
PHP Code:
if ($show['editor_toolbar'])
{
    
$imgdir_editor vB_Template_Runtime::fetchStyleVar('imgdir_editor');
        
$vbulletin->bbcodecache[] = array(
        
'buttonimage' => "$imgdir_editor/spoiler.gif",
        
'twoparams' => 0,
        
'bbcodetag' => 'spoiler',
        
'tag' => 'Spoiler',
                
'title' => 'Spoiler'
    
);

    
$vbulletin->bbcodecache[] = array(
        
'buttonimage' => "$imgdir_editor/spoiler_a.gif",
        
'twoparams' => 1,
        
'bbcodetag' => 'spoiler',
        
'tag' => 'Spoiler +',
                
'title' => 'Spoiler +'
    
);

Unfortunatelly, button still not showing in quick or advanced reply;
Reply With Quote
  #70  
Old 08-30-2011, 02:24 AM
haidm haidm is offline
 
Join Date: Feb 2010
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Plus View Post
Installed with some style modifications (using stylevars from bbcode_quote_...). Looks great and native.

Attachment 118265 Attachment 118271

Not working in help (/misc.php?do=bbcode).
How can I change the color of background like this in dark style?
Attached Images
File Type: jpg bgcolor.jpg (70.2 KB, 0 views)
Reply With Quote
  #71  
Old 09-30-2011, 02:42 AM
lilgezuz lilgezuz is offline
 
Join Date: Jan 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to change the background color on the word spoiler then when the hidden part drops down it has a different background color
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 03:17 AM.


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.05212 seconds
  • Memory Usage 2,372KB
  • Queries Executed 26 (?)
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
  • (3)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (9)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete