vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   My first hack - Invisible Spoilers (https://vborg.vbsupport.ru/showthread.php?t=34819)

DemiNeo0101 02-20-2002 08:11 PM

You can also do this:

Add a new vb code-
In first box put:
Code:

spoiler
In the second box put:
Code:

<font color="#FFFF66"><b>Warning</font> <font color="FFFFFF"> Spoiler Ahead!</b> :</font><font class=spoiler>{param}</font>
in description put:
Code:

The [spoiler] tag allows you to place text in your message that is unreadable, unless someone highlites it. This makes viewing the text a deliberate effort. This is for posting messages about movies or other things where you might not wish to give away plot points to those that haven't seen it yet.
Turn {Options} off, press ok.

Now open style, go to modify, fonts/colors/properties

and in the header instert, there should be a code like this:
PHP Code:

<meta http-equiv="MSThemeCompatible" content="Yes">
<
style type="text/css"

add this
PHP Code:

.spoiler    {colorblackbackgroundblack

directly after it, to make it look like this:
PHP Code:

<meta http-equiv="MSThemeCompatible" content="Yes">
<
style type="text/css">
.
spoiler    {colorblackbackgroundblack}
BODY 

I find that to be alot easyer :)

Shadowblazer 05-20-2002 11:05 PM

Heh, I see that you and I think alike T'Pau. I want my spoiler tag to use the colors of the style that the user is using, not a standard black on black (or whatever color). Thanks for the hack :)

JeffH 05-26-2002 03:15 AM

Can someone help me here? The instructions for doing T'Pau hack is way to vague and confusing to me. I'm new to any VB code, etc. and can't find any of the templates, code or what he is referring to.

Does anyone have a better Spoiler hack like a "Spoiler" VB code button such as the "Quote" button? How do you do this, there are no good details for it?

Thanks for any help, please list steps if replying on how it's done.

Regards,

Jeff

yzztik 08-19-2002 03:11 PM

Quote:

Originally posted by Shadowblazer
Heh, I see that you and I think alike T'Pau. I want my spoiler tag to use the colors of the style that the user is using, not a standard black on black (or whatever color). Thanks for the hack :)
Whats the pararmeter I would enter in the css to use the default background for that post?

Dean C 08-19-2002 08:27 PM

best spoiler tag i ever saw was in that massive thread with loads of bbcodes in over at vbulletin.com :D

yzztik 08-19-2002 10:03 PM

YOu got the link by any chance? I searched there and I dont think I found it :S

Alien 08-29-2002 06:32 AM

Maybe these will help you out:

http://www.vbulletin.com/forum/showt...threadid=24595

http://www.vbulletin.com/forum/showt...threadid=16306

Xetox 10-25-2002 08:53 PM

The one I like best is TWTCommish but he don't seem to want to explain how he did it?

amykhar 02-04-2003 01:43 PM

The best spoiler hack was written by tubedog. It doesn't just create the same color text, it hides the message unless the user clicks on it.

Koutaru 04-30-2003 11:02 PM

I can safely conclude this works in 2.3

VERY nice :) This was exactly what I was looking for


All times are GMT. The time now is 01:46 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.01142 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_php_printable
  • (1)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
  • (10)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