vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   BB Code Enhancements - Simple Spoiler BBC Code (https://vborg.vbsupport.ru/showthread.php?t=172423)

DJ Biscuit 03-07-2008 10:00 PM

Simple Spoiler BBC Code
 
This is a spoiler BBC Code that is very easy to use.

All you have to do to use this BBC Code is:

(1): Go to your BBC Code Manager

(2): Click on add new BBC Code

(3): Fill in the fields:
Title: Spoiler
Tag: spoiler
Replacement:
Code:

<span style="background-color: #333; color: #333; cursor: hand;" onclick="this.style.color = '#fff';">&nbsp;{param}&nbsp;</span>
Example: [spoiler]Spoiled![/spoiler]
Description:
Quote:

This is a spoiler tag, when you click on it it will display the text.
Use {option}: no


Then click save and you're done!

starki 03-10-2008 11:22 AM

Nice, thx alot

Irate Pirate 06-20-2011 05:16 PM

I have not only installed this feature, I created a button to correspond with it for ease of use.

Dimensions are 21x20 just as the system prefers.

http://www.forloveofgames.com/IratePirate/spoiler.png

All are welcome to it's use.

Enjoy!

flewfruit 07-01-2011 06:45 PM

I can't get this full to work. The spoiler is working well BUT now I tried to use the pic by irate pirate and it just shows me the black text for spoiler not the pic :(

Irate Pirate 07-02-2011 03:37 PM

Quote:

Originally Posted by flewfruit (Post 2215570)
I can't get this full to work. The spoiler is working well BUT now I tried to use the pic by irate pirate and it just shows me the black text for spoiler not the pic :(

If your only seeing the text instead of the pic, it usually means there is an error in the location of the pic file.

If you FTP'd the pic file to your forums "images" directory, the location should be as follows:

url(images/spoiler.png)

I hope this helps.

flewfruit 07-03-2011 08:00 AM

It isn't working :( my spoiler.png link: http://psvita-board.com/images/spoiler.png


All times are GMT. The time now is 09:37 AM.

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.00919 seconds
  • Memory Usage 1,720KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete