vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   New Posting Features - bbSpoiler (https://vborg.vbsupport.ru/showthread.php?t=112376)

hambil 04-06-2006 10:00 PM

bbSpoiler
 
Keywords: bbcode, hidden, spoiler

Description:
A simple but effective [spoiler] bbcode. All the ones I've seen so far fall short for some minor reason or another - so I've created my own :)

Features:
  • Hides/Unhides with cross browser javascript (tested with latest IE and Firefox)
  • No template edits or file edits required.
  • Uses the colors of the current style.
  • Spoiler text does not show in thread preview.
Install
  • Download the bbSpoiler_1.0.zip file.
  • Follow instructions in install.txt

Silvio 04-07-2006 08:24 AM

*Installed

ty man! :banana:

*oooppss! 1st post

ciao!

Shack Networks 04-07-2006 08:49 AM

Cheers Hambil, I spent the best part of my life trying to avoid the answer to who shot JR and you go and spoil it in one foul swoop with a screenshot lol.

Nice hack and I will be adding it as soon as I sort my site out, Ive just tested on my dev site and it works fine.

H

hambil 04-07-2006 09:41 AM

Fixed a bug that caused some forum threads to display funcky in forum view. Grab the latest zip. Since there's only one install so far, I only screwed up one person. I'll try harder next time :)

Shack Networks 04-07-2006 09:48 AM

2 Installs now m8

Thanks for the update.

hambil 04-07-2006 09:58 AM

Ah crap, I broke the thread-preview in my last upload. My only excuse is that it's 4am here. All fixed now, but you may need to download again.

Snake 04-07-2006 07:44 PM

Thanks man, works just fine!

VViper 04-07-2006 10:04 PM

Very good, thankyou for sharing,
i noticed in the install.txt

The image path is .images

I put it into forum/images

the path then was just images/spoiler with no full stop

Hope that helps someone else out.
Thanks again for the hack.

Kihon Kata 05-03-2006 04:33 PM

Hambil,

Awesome hack!!! installed onmy 3.5.4! One problem, it doesn't work LOL Tried Firefox/IE and nothin'

The click to show spoiler table shows up, but it won't click down to show the spoiled text. Any ideas?

hambil 05-03-2006 04:45 PM

Quote:

Originally Posted by Kihon Kata
Hambil,

Awesome hack!!! installed onmy 3.5.4! One problem, it doesn't work LOL Tried Firefox/IE and nothin'

The click to show spoiler table shows up, but it won't click down to show the spoiled text. Any ideas?

The only reason I can think of that it wouldn't work is if you don't have "headinclude" in your SHOWTHREAD template - do to another hack, or some custom style.


All times are GMT. The time now is 07:31 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.04531 seconds
  • Memory Usage 1,727KB
  • 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_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