Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Spoiler Tag : Show/Hide Details »
Spoiler Tag : Show/Hide
Mod Version: 1.00, by ElForro (Member) ElForro is offline
Developer Last Online: Sep 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.4 Rating: (19 votes - 4.79 average) Installs: 206
Released: 16 Mar 2006 Last Update: 17 Mar 2006 Downloads: 424
Not Supported Template Edits  

A CSS/Javascript based spoiler tag for vB 3.5.x (but I think it must work with earlier versions)
Just follow the instructions below or in the .zip file.

I hope you like my first modification!

Instructions
Step 1.
Copy the following into the additional CSS definitions (Admin CP > Styles & Templates > Style Manager > All Style Options>Additional CSS definitions) and paste it into the lower box.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Step 2.
Now click save and go to the page to add a new BB Code (Admin CP> Custom BB Codes > Add New BB Code) and enter the following:

Title: Spoiler
Tag: spoiler
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example: [spoiler]test[/spoiler]
Description: Hides text
Use {option}: No
Button Image: Leave empty

Click save and you are done!

Known bugs: You can read the spoiler in the "Thread Preview".


FAQ
Q: I want to change the color that the spoiler tag uses! How?
A: If you know CSS it is all controlled in the CSS definitions.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	Screenshot01.png
Views:	3250
Size:	2.4 KB
ID:	44414   Click image for larger version

Name:	Screenshot02.png
Views:	3138
Size:	4.1 KB
ID:	44415  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
BB Code Enhancements Spoiler BB Code with Show/Hide Button Deadly Stream Modification Graveyard 22 22 Mar 2010 00:06

  #76  
Old 13 Dec 2007, 15:24
chudz chudz is offline
 
Join Date: May 2004
I am using this code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and I am using the {option} for entering a title to the spoiler I have enter the CSS given on first post into the addittional CSS in my template. BUT when I post something with two spoiler in it example

[sp="Video 1"]link[/sp]

[sp="Video 2"]link[/sp]

I get this troublesome bug:



Reply With Quote
  #77  
Old 28 Jan 2008, 03:23
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Links dont hyper link
__________________
Is your forum registered? - https://www.forumregister.com
Reply With Quote
  #78  
Old 11 Feb 2008, 09:01
dutchbb dutchbb is offline
 
Join Date: Dec 2003
How can I prevent the content of the spoiler from showing in thread preview when hovering over thread titles in forumdisplay?
Reply With Quote
  #79  
Old 20 Feb 2008, 04:58
Arrogant-One's Avatar
Arrogant-One Arrogant-One is offline
 
Join Date: Jul 2007
Real name: Alex
Step #1 Problems

Step 1.

Copy the following into the additional CSS definitions (Admin CP > Styles & Templates > Style Manager > All Style Options>Additional CSS definitions) and paste it into the lower box.
With my customized skins there is already text in both 'Additional CSS definitions' windows. The windows are not blank and I am hesitant to replace that text with this new text. What should I do?

AO
__________________
OzChess - Australia's Chess Forum- http://www.ozchess.com
Reply With Quote
  #80  
Old 05 Mar 2008, 23:44
azn_romeo_4u azn_romeo_4u is offline
 
Join Date: Feb 2006
just press enter. and add a new line and paste it in. don't worry it's css, won't ruin your board.

I tested this out on 3.68 pl2 works amazing.
Reply With Quote
  #81  
Old 28 Mar 2008, 16:09
mikkitine's Avatar
mikkitine mikkitine is offline
 
Join Date: Oct 2007
Excellent spoiler tag. The best.
Originally Posted by Arrogant-One View Post
With my customized skins there is already text in both 'Additional CSS definitions' windows. The windows are not blank and I am hesitant to replace that text with this new text. What should I do?

AO
You don't paste it over any of the additional CSS text. Go to the bottom, start a new line and then paste the CSS text for this spoiler.
Reply With Quote
  #82  
Old 15 Jun 2008, 14:57
digibluez digibluez is offline
 
Join Date: Dec 2006
could be better ,but better than nothing. And as i do not have much time to work it out myself, it's good for start.
Reply With Quote
  #83  
Old 15 Jun 2008, 18:39
RACHR RACHR is offline
 
Join Date: Oct 2007
hi, the code from you is great..

but i need a modification, i need this Spoiler field to width max 80% from the post.

i have in all threads many tables and all is 80% width.. only this spoiler field is 100%
It does not look good

when i make the [spoiler]my text[/spoiler] in one of my tables, then is this click on "show" not working.

i hope you understand me and my bad english

thank you very much
bye rachr

EDIT: i get the code from the top of this site!

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by RACHR; 15 Jun 2008 at 19:01.
Reply With Quote
  #84  
Old 11 Jul 2008, 07:57
pab pab is offline
 
Join Date: Jun 2008
Thanks, installed hav been looking for this one..
Reply With Quote
  #85  
Old 16 Jul 2008, 16:11
theforumist theforumist is offline
 
Join Date: Jul 2008
o_O this beats the traditional one I see hands down. I installed it and I'm loving it.
Reply With Quote
  #86  
Old 04 Aug 2008, 13:54
SBoards SBoards is offline
 
Join Date: Oct 2007
Real name: Chris
thanks... works great in 3.7.2
__________________
TheScoreBoards
Reply With Quote
  #87  
Old 04 Aug 2008, 21:11
trulylowcarb's Avatar
trulylowcarb trulylowcarb is offline
 
Join Date: Apr 2004
Real name: Karen
I am using it in 3.7.2. as well and LOVING IT! Thanks

Using it for a trivia game posted with polls. I would LOVE IT if someone could tell me how to make it so users are required to vote in the poll before they can use the SHOW button. Not being able to see the answers unless they vote will force more registrations, I think, since I don't alllow guest voting (not to mention prevent cheating by members, LOL!)
Reply With Quote
  #88  
Old 10 Aug 2008, 19:13
ch_racer ch_racer is offline
 
Join Date: Jun 2008
Here, take this code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This one is valid XHTML Code.
Reply With Quote
  #89  
Old 13 Aug 2008, 15:53
InsaneNutter InsaneNutter is offline
 
Join Date: Apr 2007
Thanks, this is perfect and still works great in vBulletin 3.7.2 PL1
I was able to modify the CSS to make the colours match our forums theme perfectly
Reply With Quote
  #90  
Old 06 Sep 2008, 18:25
whitetigergrowl whitetigergrowl is offline
 
Join Date: Jun 2004
How do i add this to the quick reply area?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 07:59.

Layout Options | Width: Wide Color: