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
  #72  
Old 10-31-2011, 11:33 AM
judgeserg judgeserg is offline
 
Join Date: Sep 2011
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All work's on 4.1.7 with HoSStiA fix.
Reply With Quote
  #73  
Old 11-05-2011, 04:52 AM
ryansmith ryansmith is offline
 
Join Date: Nov 2004
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Both spoilers work if I type the tags in manually on 4.1.7 PL 2, but even with the fix posted by HoSStiA I cannot get the buttons to show up in the Quick Reply box or the normal editor.

I really wish there was an update for this because it's the only reason I haven't upgraded another of my vB forums. We use the spoiler feature heavily and I don't want to lose it. Has anyone found a fix that actually works?
Reply With Quote
  #74  
Old 11-17-2011, 06:35 PM
Popa Andrei's Avatar
Popa Andrei Popa Andrei is offline
 
Join Date: May 2008
Location: Romania/Petrosani
Posts: 367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has someone managed to make it work on vb 4.1.8?
Reply With Quote
  #75  
Old 11-19-2011, 07:00 AM
ryansmith ryansmith is offline
 
Join Date: Nov 2004
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried it, including the fix mentioned above, and cannot get it to work. The spoiler itself works but the icons don't show up in the editor. I guess this mod is dead because the coder hasn't come back in a long time.
Reply With Quote
  #76  
Old 12-06-2011, 02:34 AM
mlotziii mlotziii is offline
 
Join Date: Sep 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got the editor buttons to work thanks HoSStia. I needed to upload the images to the correct folder for the skin I had active.

Everything manages to work for me with the exception of the spoiler itself. When I click on it there is no action.
Reply With Quote
  #77  
Old 12-26-2011, 06:34 PM
luan7749's Avatar
luan7749 luan7749 is offline
 
Join Date: Apr 2008
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not working with 4.1.9
Reply With Quote
  #78  
Old 01-18-2012, 08:39 PM
Popa Andrei's Avatar
Popa Andrei Popa Andrei is offline
 
Join Date: May 2008
Location: Romania/Petrosani
Posts: 367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is this mode ever going to be updated?
Reply With Quote
  #79  
Old 01-20-2012, 08:56 PM
ryansmith ryansmith is offline
 
Join Date: Nov 2004
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It doesn't look like it. I've put in requests on vBulletin.com for this to be a built-in BB code but the requests go unanswered. I'd even be willing to pay someone for it at this point. I haven't updated from 4.1.1 because we use this heavily on our site.
Reply With Quote
  #80  
Old 02-03-2012, 09:05 AM
persianpros persianpros is offline
 
Join Date: May 2009
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

waiting for support 4.1.10
Reply With Quote
  #81  
Old 02-09-2012, 02:34 PM
ozione ozione is offline
 
Join Date: Nov 2010
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this one is truly awesome.

i've managed to get it work by combining the next tips:

1) upload files per instructions but pay attention and upload images subfolders correctly to an active stlyle's image folder.
my example:
Code:
forum_root/images/avenger_blue
2) update / replace code provided by HoSStiA + modify a path of the style you're using (my example within the code). do this with the next steps:
a) open Plugin Manager and search for BBCode [spoiler]: button
b) click on edit and change the hook to editor_toolbar_start
c) replace the Plugin PHP Code with a new content:
d) replace the style location "$.../imgdir_editor/spoiler.gif"

Code:
if ($show['editor_toolbar'])
{
    $imgdir_editor = vB_Template_Runtime::fetchStyleVar('imgdir_editor');
        $vbulletin->bbcodecache[] = array(
        'buttonimage' => "$avenger_blue/imgdir_editor/spoiler.gif",
        'twoparams' => 0,
        'bbcodetag' => 'spoiler',
        'tag' => 'Spoiler',
                'title' => 'Spoiler'
    );

    $vbulletin->bbcodecache[] = array(
        'buttonimage' => "$avenger_blue/imgdir_editor/spoiler_a.gif",
        'twoparams' => 1,
        'bbcodetag' => 'spoiler',
        'tag' => 'Spoiler +',
                'title' => 'Spoiler +'
    );
}
by now, the function should work fine manualy (with tags)

3) to enable button use fatal1980's tip by adding a custom BB Code. perform this with these steps:
a) AdminCP -> Custom BB Codes -> Add New BB Code
b) insert next values:
Title:
Code:
Spoilers
BB Code Tag Name:
Code:
spoiler
(or whatever you want - i used spoiler)
Replacement:
Code:
<div class="spoiler">
<h2>Spoiler</h2>
<div class="hidden">{param}</div>
</div>
Example:
Code:
[spoiler]this is a test[/spoiler]
Button Image:
previously used image path (within the style's image subfolders). i use another image as the plus sign is not as clear in the meaning. my example:


everything should be working just fine now. you can play a bit more with the css to remove the bright backgrounds. to perform this follow the next step.

4) tweaking css
a) the easiest way to get to the proper css is to find it with the help of the search option
b) AdminCP -> Styles & Templates -> Search in Templates
c) use the search string
Code:
vsq_spoiler
d) you should get a direct result = vsq_spoiler.css, double click it and edit per need

it works for me with VB 4.1.9
button:

working:



i hope it helps!
:up:
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 04: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.09625 seconds
  • Memory Usage 2,338KB
  • 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
  • (7)bbcode_code
  • (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
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)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