vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Spoiler Tag (https://vborg.vbsupport.ru/showthread.php?t=64844)

Cyn 05-07-2004 02:24 PM

Spoiler Tag
 
I'd love to have this for vB 3. Our members really miss it. :)

Reeve of shinra 05-07-2004 06:22 PM

Look on vb.com - there is a really good spoilers tag there.

Cyn 05-07-2004 06:41 PM

I haven't been able to get anything to work since our upgrade to vB3.0.1
We had a spoiler tag in 2.2.9 and it carried over in the upgrade but it wasn't functioning. I tried three different ones that I found at vBulletin.com and no luck. :(

Spinball 05-08-2004 08:55 AM

I don't understand why you need a hack for a spoiler tag. Just create a new tag and set the text colour to be the same as the forum background colour. And don't allow your users to change the forum colours.

John Crichton 06-27-2004 12:38 PM

what if you have lots of templates with different colours??

is there anyway to get it to block over the test in say black?

Crinos 06-27-2004 07:32 PM

This is the code I'm using in our forums as our [spoiler] BB tag ... works with 3.0.1 ...

Code:

<blockquote><br>
<font color=#FF0000><b>SPOILER:</b></font> <font size=1>(highlight to read)</font>
<hr><font color=#000000 style=background-color:#000000;> {param}</font>
<hr></blockquote>


gwon 08-23-2004 05:03 PM

I've been trying to find a decent BB code for a spoiler for a while, and I've finally got one running and thought I'd share the code.

Code:

<SPAN CLASS="spoiler" onmouseover="this.style.color='#FFFFFF';" onmouseout="this.style.color=this.style.backgroundColor='#000000'">&nbsp;{param}&nbsp;</span>
And the class for your CSS variables

Code:

.spoiler {COLOR: black; TEXT-DECORATION: none; background-color: black; font-weight: normal;}


All times are GMT. The time now is 09:54 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.01068 seconds
  • Memory Usage 1,716KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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