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)
-   -   BB Code Enhancements - Spoiler BB code [Animation version] (https://vborg.vbsupport.ru/showthread.php?t=188741)

SEW810 03-05-2010 02:27 PM

Got my own images.
But thanx dude. INSTALLED ;)

gorman 03-14-2010 03:19 PM

Installed on vB 4.0.2, had to remove the "Use option" and set it to no. Consequently I had to remove the option entry in the code. Works fine. Thanks for sharing.

Golzarion 05-31-2010 05:11 PM

Quote:

Installed on vB 4.0.2
Yes ! It also works fine on 4.0.3 ! I may ask to move the thread to vB4 section..

Golzarion 06-02-2010 11:11 AM

Thanks Paul M to move the thread on vB4 adds on . :up:

18lama 09-03-2010 02:27 PM

For some reason my spoiler tag works only if I do this:

Code:

[SPOILER="spoiler"]text here![/SPOILER]
How can I make it work without the title. ie just tags.
Code:

[spoiler] text here [/spoiler]
EDIT: i figured it out!! :D

just by not using {option} works perfectly with normal tags. :up:

Taurus1 10-04-2010 02:55 AM

It does not work for me on 4.0.7
I added the additional css also. Everything is there, but nothing happens when I click on the "Show" button.

Golzarion 10-05-2010 12:06 PM

Quote:

but nothing happens when I click on the "Show" button.
Please be sure to clear your web browser cache and cookies too.and try it again.

Ahmad110 10-11-2010 04:19 PM

Thanks man . I installed this hack on my live 4.0.7 board and great work

but how can i add icon this bbcode for quick replay

soul__stealer 10-22-2010 01:19 AM

Same thing as everyone else... Bug with the {option} part.

Setting it to no made it work perfectly (thank you!)
Although I did have to remove the {option} code from the BBCode as well, or it would show up as "Spoiler {Option} [SHOW]"

Eduardo Leon 10-22-2010 01:48 PM

hey your demo dont work :S

please, fix it !

Golzarion 10-23-2010 02:57 PM

1 Attachment(s)
Quote:

Originally Posted by Leothefox (Post 2112754)
hey your demo dont work :S

please, fix it !

It works !! Please visit the link : Demo : http://forum.golzarion.com/showthread.php?t=183

You can also see these screenshots :
https://vborg.vbsupport.ru/external/2010/10/4.gif
Attachment 122997Attachment 122998

barakuda 11-20-2010 03:12 PM

installed + 5 star thanks

FReeSTER 11-26-2010 05:51 PM

Working great here 4.0.8 pl2 and with out adding the CSS code in the CCS Templates=> additional.css since it dont make any difference and not even change the color. :D

Any ideas where exactly the code will go?

Code:

.pre-spoiler {
        border: 1px solid #B5C0A8;
        margin: 0 15px 5px 15px;
        background: #E3E9DB;
        padding: 3px 5px 3px 5px;
        font-weight: bold;
        text-align: right;
        color: #6A775B;
}
.spoiler {
        background: #E3E9DB;
        margin: 0 15px 15px 15px;
        padding: 5px;
        border: 1px solid #B5C0A8;
}

is that code actually goes in the additional.css ?

Deirdre 02-07-2011 09:25 PM

Works on 4.1.1

I'd update your description though on making it work for 4.1.1 with what Gorman said.

Golzarion 03-11-2011 06:23 PM

Quote:

Originally Posted by Deirdre (Post 2159944)
Works on 4.1.1

I'd update your description though on making it work for 4.1.1 with what Gorman said.

Set the {option} to "NO" :
Quote:

7.Use {option} : NO
It works perfect on all 4.x.x versions ,too.

Sworm 05-01-2011 02:11 PM

1 Attachment(s)
In my 3.8.7 is showed a 1 "{option}" more

How fix?
Attachment 128706

Edit:
Removing the {option} for the replacements code, it works.... i like this BBcode, thank you. But removing that part will be some problem in the forum?

Thanks

Afsoul 06-07-2011 08:57 AM

Nice one. This work on vB 4.x.x too.
Thx for the Spoiler BB Code. I think I will use it with some modification and translate it to my country language :D

INSTALLED :)

Crotan 06-25-2011 03:05 AM

took out
HTML Code:

<img border="0" src="http://www.golzarion.com/forum/u%20Pictures/spoiler2.gif" width="21" height="20">
Other than that looks great and works! Thanks

Sworm 07-05-2011 06:44 PM

This bbcode have some little problem with chrome.... when with chrome is clicked "show" , after the "hide" button is not showed, it remain "show"..... With IE and FF works great

Sage Knight 07-08-2011 02:17 PM

How can we keep the "Option" invisible if someone only uses the standard tags [spoiler] and not [spoiler=Example]

Golzarion 11-18-2011 01:32 PM

Quote:

Originally Posted by Sage Knight (Post 2218169)
How can we keep the "Option" invisible if someone only uses the standard tags [spoiler] and not [spoiler=Example]

Remove :
Code:

{option}
from 4.Replacement code
and
7.Use {option} : NO
^__^

midnightfox 11-27-2011 07:09 PM

Worked. I needed a spoiler button. Thanks. Nominated this for MOTM.

Oren Rozenbaum 12-26-2011 04:48 PM

i don't understand you.

you wrote:

Quote:

. In admin cp : Styles & Templates => Style Manager => All Style option
at the bottom of the page : " Additional CSS Definitions "
Second window ( bottom) add this code :
*******************************
.pre-spoiler {
border: 1px solid #B5C0A8;
margin: 0 15px 5px 15px;
background: #E3E9DB;
padding: 3px 5px 3px 5px;
font-weight: bold;
text-align: right;
color: #6A775B;
}
.spoiler {
background: #E3E9DB;
margin: 0 15px 15px 15px;
padding: 5px;
border: 1px solid #B5C0A8;
}
now, i am not find this.
are you can to help me?

by the way, nice mode.
very active ;)

duditas 12-26-2011 05:30 PM

Be carefull with this:
Code:

<img border="0" src="http://forum.golzarion.com/u%20Pictures/spoiler2.gif" width="21" height="20">
Everybody is using your bandwidthd.



I do not understand either
Code:

13. In admin cp : Styles & Templates => Style Manager => All Style option
at the bottom of the page : "  Additional CSS Definitions "
Second window ( bottom)  add this code :

Where have I to paste the code? Is it necessary? It seems to work fine without it

Thanks in advance

Gun Geek 01-01-2012 04:34 PM

Quote:

Originally Posted by duditas (Post 2281154)
Be carefull with this:
Code:

<img border="0" src="http://forum.golzarion.com/u%20Pictures/spoiler2.gif" width="21" height="20">
Everybody is using your bandwidthd.



I do not understand either
Code:

13. In admin cp : Styles & Templates => Style Manager => All Style option
at the bottom of the page : "  Additional CSS Definitions "
Second window ( bottom)  add this code :

Where have I to paste the code? Is it necessary? It seems to work fine without it

Thanks in advance

Quote:

Originally Posted by Oren Rozenbaum (Post 2281134)
i don't understand you.

you wrote:



now, i am not find this.
are you can to help me?

by the way, nice mode.
very active ;)

I dont know which version the instructions were written for but there is no area like this.

Go to Admin Control Panel ---> Style Manager --> Edit Templates

Once you click on that, in the left box double click on "CSS Templates" you will see a css file named "additional.css" click on that, the file was empty when i did it. Paste in your code and save.

ricardoNJ 04-12-2012 11:51 PM

vb 3.8.4 Installed, thanks!

Golzarion 06-22-2012 05:31 PM

Quote:

Where have I to paste the code? Is it necessary? It seems to work fine without it
That instruction was for 3.7.x and 3.8.x versions ....
for vb 4.x version just follow the instruction on the first post .
Quote:

vb 3.8.4 Installed, thanks!
Yes , it works perfect on vb3 and also vb 4.x versions .

/
You are welcome ^_^

midnightfox 07-24-2012 02:04 AM

This modification stopped displaying any content posted in it. What's up with it? Please help.

Golzarion 07-24-2012 06:55 PM

Quote:

Originally Posted by midnightfox (Post 2350926)
This modification stopped displaying any content posted in it. What's up with it? Please help.

It works perfect ! see demo please : http://forum.golzarion.com/showthread.php?t=183
Maybe your browser cache causes the problem .. Please delete all the cache and cookies of your web browser and then try it again ...
If not , please visit this link : https://vborg.vbsupport.ru/showpost....5&postcount=61


All times are GMT. The time now is 09:38 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.01257 seconds
  • Memory Usage 1,791KB
  • 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
  • (1)bbcode_html_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (29)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