vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - [YUI] VSQ - Spoiler (https://vborg.vbsupport.ru/showthread.php?t=240674)

Popa Andrei 06-23-2011 10:09 AM

i just installed it on vbulletin 4.1.4 but the buttons doesent appear

Ichigo88 06-26-2011 07:55 PM

same problem! please update!

Ichigo88 06-28-2011 10:11 AM

up please!

Popa Andrei 07-01-2011 07:37 AM

and we are still waiting for a news at least from the creator...

Ichigo88 07-02-2011 08:13 AM

pleaseeeee!

halkum 07-02-2011 02:49 PM

Calm the F' down. Let him have time to look at it.

Ichigo88 07-04-2011 09:01 AM

ok :(

LuckyNeo 07-08-2011 11:36 PM

Not work on 4.1.4. Please, fix it :)

Mdrop 07-11-2011 10:17 AM

Quote:

Originally Posted by LuckyNeo (Post 2218378)
Not work on 4.1.4. Please, fix it :)

Only

Code:

[spoiler="test"]test[/spoiler]
is working in 4.1.4!

Popa Andrei 07-14-2011 12:10 PM

either the buttons shows in editor in vb 4.1.4

i think that we better add the button maunal and the code in custom bbcodes

It's Damn Real! 07-17-2011 02:49 AM

Love it!

Popa Andrei 07-17-2011 02:02 PM

Quote:

Originally Posted by It's Damn Real! (Post 2221384)
Love it!

some of u guys just post for post numbers?
Replys ar for feed backs and support or develping.Use the like button if you want to say that.
doohhhh

hacksden 07-17-2011 05:48 PM

Quote:

Originally Posted by Popa Andrei (Post 2220409)
either the buttons shows in editor in vb 4.1.4

i think that we better add the button maunal and the code in custom bbcodes

Any tips on doing that? I looked at the code and it isn't clear to me on how to do it. The BB code appears to be in php and that calls a javascript.

Ichigo88 07-31-2011 09:07 AM

mad@max please reply! fix this mod!

MikalMirkas 08-03-2011 05:46 AM

Uninstalled.
Isn't working, don't want.

Sayrex 08-03-2011 06:50 PM

Uninstalled .
no't working with Vb 4.1.5 .

Ichigo88 08-03-2011 08:37 PM

yes not work with vb 4.1.5 -.-! the coder is not interested tu ubdate the plug i unistall it :(

Lemrith 08-06-2011 09:50 PM

:down: not working anymore =(

NgocTam 08-07-2011 11:28 AM

not work 4.1.5

Semmi 08-07-2011 11:30 AM

Please Update this. It's the best Spoiler in vB.

MikalMirkas 08-11-2011 05:06 PM

Quote:

Originally Posted by Semmi (Post 2230466)
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.

fatal1980 08-11-2011 06:49 PM

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)

Ichigo88 08-12-2011 03:48 PM

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?

HoSStiA 08-13-2011 02:25 AM

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 +'
    
);



archet1337 08-13-2011 08:26 AM

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?

hacksden 08-14-2011 01:32 AM

@HoSStiA

Thank you very much. :)

haidm 08-14-2011 12:46 PM

Quote:

Originally Posted by HoSStiA (Post 2232873)
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.

MarceloS 08-26-2011 01:05 PM

Quote:

Originally Posted by HoSStiA (Post 2232873)
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;

haidm 08-30-2011 02:24 AM

1 Attachment(s)
Quote:

Originally Posted by Plus (Post 2051137)
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?

lilgezuz 09-30-2011 02:42 AM

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

judgeserg 10-31-2011 11:33 AM

All work's on 4.1.7 with HoSStiA fix.

ryansmith 11-05-2011 04:52 AM

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?

Popa Andrei 11-17-2011 06:35 PM

Has someone managed to make it work on vb 4.1.8?

ryansmith 11-19-2011 07:00 AM

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.

mlotziii 12-06-2011 02:34 AM

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.

luan7749 12-26-2011 06:34 PM

not working with 4.1.9 :(

Popa Andrei 01-18-2012 08:39 PM

is this mode ever going to be updated?

ryansmith 01-20-2012 08:56 PM

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.

persianpros 02-03-2012 09:05 AM

waiting for support 4.1.10 :(

ozione 02-09-2012 02:34 PM

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:
http://www.konzole-slovenija.com/vb4...c/spoiler!.png

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:
http://konzole-slovenija.com/images/spoiler1a.png
working:
http://konzole-slovenija.com/images/spoiler1c.png
http://konzole-slovenija.com/images/spoiler1b.png

i hope it helps!
:up:


All times are GMT. The time now is 12:59 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01381 seconds
  • Memory Usage 1,845KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_code_printable
  • (3)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete