Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
bbSpoiler Details »»
bbSpoiler
Version: 1.00, by hambil hambil is offline
Developer Last Online: Apr 2013 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.5.4 Rating:
Released: 04-06-2006 Last Update: 04-06-2006 Installs: 85
Uses Plugins
 
No support by the author.

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

Show Your Support

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

Comments
  #52  
Old 04-25-2007, 05:04 PM
AAN AAN is offline
 
Join Date: Apr 2006
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this installed.

It works great except it's not exactly what I want.

How do I make it so that what appears on the spoiler tab is the same as the "option" that I type into the box?

Right now the spoiler tab says "Click to show" and is very very long.
What I'm wanting is for it to be shorter and have it be what I type as the "option" when I'm setting up the spoiler.

Does this exist some place else?
Reply With Quote
  #53  
Old 04-29-2007, 10:42 PM
Floob Floob is offline
 
Join Date: May 2002
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tact7626 View Post
installed on 3.6.5. works great. just having trouble customizing it's look. like i changed the 100% widths to 80% and it doens't respond correctly. the inside div response correctly but not the outside div. it still takes up 100% of the table width. i could specify exact size but...whatever. it's all aesthetics.

great spoiler. thanks.




edit: ok i figured it out. i noticed you placed the width of the outside div inside quotes OUTSIDE the style thingy. div width="whatever"

while on the inside div it's set properly inside the style (style=width:whatever%; )

so i put it in the right place and now it works perfectly and actually adheres to my sizes. thanks again. ^^
Can you expand on that - how/where do you change the width of the spoiler info?
Reply With Quote
  #54  
Old 04-30-2007, 06:29 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ownership of this hack is being transfered to Dismounted. Thank you for everyone who used, enjoyed, and made suggestions for this hack.
Reply With Quote
  #55  
Old 04-30-2007, 07:35 PM
Tact7626 Tact7626 is offline
 
Join Date: Feb 2007
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Floob View Post
Can you expand on that - how/where do you change the width of the spoiler info?


there's a part where the guy put <div width="100%" >

and it doesn't work well. instead, you should use <div style="width:100%;">.

he used the second method on the second div, but the first method on the other div. and that's why i was having trouble setting my own sizes to it. after i realized this, i changed the "incorrect" one and it works.
Reply With Quote
  #56  
Old 04-30-2007, 07:58 PM
Floob Floob is offline
 
Join Date: May 2002
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice thanks.

I use this now

Code:
<div style="width:20%;" class="alt1" onclick="spoiler(this);" style="border-collapse: collapse; border: solid thin black;">

<div id="idTitle" class="alt2" style="border-collapse: collapse; border: solid thin black; width: 100%;">&nbsp;<b>Click to show spoiler</b></div>

<div id="idSpoiler" style="display: none;">The butler did it!</div></div>
Reply With Quote
  #57  
Old 05-01-2007, 09:01 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hambil View Post
Ownership of this hack is being transfered to Dismounted. Thank you for everyone who used, enjoyed, and made suggestions for this hack.
Thanks, I'll be making a new thread soon .
Reply With Quote
  #58  
Old 05-28-2007, 06:34 PM
gutterboy gutterboy is offline
 
Join Date: Apr 2007
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK.. I installed this I wanted to change the text "click to show" slightly. My new updated text only shows if I click on it first to show it & then click again to hide it; but if I refresh the page it won't show my custom text anymore.

I made the changes in the code that has the hook "showthread_complete" as that was the only place I could find that text; I even searched the templates for it &...... nothing.

Any help here?

Thanks!
Reply With Quote
  #59  
Old 06-15-2007, 12:32 PM
GuaRRand GuaRRand is offline
 
Join Date: Oct 2005
Posts: 337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you make it so that the cursor becomes an arrow instead of the default line ... it would give it a more "clickable" feeling to it.

And it doesnt show up on the quickreply or edit windows, in the menubar i mean.
I see the button in a normal new post, but not in the quickreply or edit windows...

thanks
Reply With Quote
  #60  
Old 06-19-2007, 08:00 AM
GuaRRand GuaRRand is offline
 
Join Date: Oct 2005
Posts: 337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*bump*
Reply With Quote
  #61  
Old 06-19-2007, 08:27 AM
gutterboy gutterboy is offline
 
Join Date: Apr 2007
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could we please get an update here?

Thx!
Reply With Quote
Reply


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 12:44 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.06475 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete