Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Template Modifications
[Release] Spoiler Details »»
[Release] Spoiler
Version: 1.00, by roxics roxics is offline
Developer Last Online: May 2009 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 09-22-2003 Last Update: Never Installs: 0
 
No support by the author.

The following will add a spolier table to a post. It is a CSS addition. But you must have HTMl turned on the forum you want to use it in.

For some reason I could not attached the text file so here are it's contents:
Quote:
----------------------------
|By M.S.TESH (roxics)
|http://www.VisionEngine.com
|mstesh@hotmail.com
|For vBulletin 2.x
---------------------------

This is a CSS addition. But for it to work you must create a custom vBcode to use for teh spoiler tags.
Insert the following CSS into your "Head Insert" of your style(s)

.spoiler {
font-family: verdana, arial, helvetica, sans-serif;
color: #F1F1F1;
background-color: #F1F1F1;
font-size: {normalfont};
border: 1px dashed #111111;
}

Now tell your members to put whatever spoiler they want between the following tags:
[spoiler]Your spoiler goes here[/spoiler]
Highlight with your mouse to read.

As administrator you must now create a custom vb code for these spoiler tags. Do so by using this code:
<div class="spoiler">spoiler here</div>

An example of the final product can be found here:
http://www.visionengine.com/board/sh...&threadid=2976

This is great for forums where you talk about movies, games, television shows
or anything where someone may not want to accidentally read something.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 09-23-2003, 04:42 PM
MrNase MrNase is offline
 
Join Date: May 2003
Location: Germany
Posts: 670
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
But for it to work you must have HTML turned on in your forum.
sorry, i think i didn't get you?! Shall i post my password too?

Why don't you add another bbcode like [spoiler] and replace that with:

Code:
<div class="spoiler">{param}</div>

??? Much saver
Reply With Quote
  #3  
Old 09-23-2003, 04:48 PM
roxics's Avatar
roxics roxics is offline
 
Join Date: Jan 2002
Location: Detroit Area
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well that's an option to.

I don't understand why having HTML turned on is bad? Can you please explain?
Reply With Quote
  #4  
Old 09-23-2003, 04:55 PM
MrNase MrNase is offline
 
Join Date: May 2003
Location: Germany
Posts: 670
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you have no controll about what code the user is using and he might use some code that gets all the cookie data from the users.
But wait for a better explanation, i really think that some experts are in here which can explain it more detailed
Reply With Quote
  #5  
Old 09-23-2003, 04:57 PM
roxics's Avatar
roxics roxics is offline
 
Join Date: Jan 2002
Location: Detroit Area
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Either way I understand what you are saying and I thank you for your observation. I will change my original post to mention use of vBcode instead. I have already done so on my forum.
Reply With Quote
  #6  
Old 09-23-2003, 05:04 PM
MrNase MrNase is offline
 
Join Date: May 2003
Location: Germany
Posts: 670
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no problem, let's make the web a safer place for our children

already changed you post? Don't think so Please give a detailed explanation what has to be added to which field in the bbcode manager
Reply With Quote
  #7  
Old 09-23-2003, 10:01 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i think some one already has done spolier code a few times over
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:06 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04503 seconds
  • Memory Usage 2,255KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete