Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Spoiler Tag Details »»
Spoiler Tag
Mod Version: 1.0.0, by King Kovifor (Coder/Designer) King Kovifor is offline
Developer Last Online: Apr 2014 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.8 Rating: (1 vote - 4.00 average) Installs: 24
Released: 22 Apr 2006 Last Update: Never Downloads: 6
Not Supported  

Title: Spoiler
Tag: spoiler
Replacement:

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

Example: [spoiler=example]This is Hidden![/spoiler]
Use Option: Yes
Image: Leave Blank

Q. Why do I have to "use option"?
A. This will solve a bug when not using it. In the first coding it wasn't used, but it would only collapse the first usage of "[spoiler][/spoiler]" in the thread. Using option in the code allowed to to specify which usage of the tags to collapse.

Bugs: It's open by default! I'm working on getting it closed by default.

Download Now

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

Screenshots

Click image for larger version

Name:	Picture 6.png
Views:	2017
Size:	9.1 KB
ID:	46317Click image for larger version

Name:	Picture 7.png
Views:	1556
Size:	7.9 KB
ID:	46318

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
Spoiler Tag TruthElixirX vBulletin 3.5 Template Modifications 37 15 Feb 2009 02:11

Comments
  #2  
Old 22 Apr 2006, 21:44
Shack Networks Shack Networks is offline
 
Join Date: Apr 2004
This shows up the hidden text on mouseover of the topic title in showthreads and on forumhome.
Reply With Quote
  #3  
Old 23 Apr 2006, 01:24
jj's Avatar
jj jj is offline
 
Join Date: Sep 2005
Real name: Jens
Nice option code

style="display:none;"

will do the hide job
Reply With Quote
  #4  
Old 23 Apr 2006, 09:31
finn snor's Avatar
finn snor finn snor is offline
 
Join Date: Jan 2006
Where do i insert that html ?
Reply With Quote
  #5  
Old 23 Apr 2006, 17:10
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
When you add the bbcode, there is a section for "Replacement" place it there.
__________________
Do not request support through any other means except the forums.

Useful Post With Links on Learning How To Develop vBulletin Plugins

Latest Modification: Stop Forum Spam Integration
Reply With Quote
  #6  
Old 23 Apr 2006, 17:11
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Originally Posted by Shack Networks
This shows up the hidden text on mouseover of the topic title in showthreads and on forumhome.
Not sure how to do it...

jj:

style="display:none;"

that'll do what?
__________________
Do not request support through any other means except the forums.

Useful Post With Links on Learning How To Develop vBulletin Plugins

Latest Modification: Stop Forum Spam Integration
Reply With Quote
  #7  
Old 06 May 2006, 02:00
InsaneContender's Avatar
InsaneContender InsaneContender is offline
 
Join Date: May 2003
Real name: Cameron
Originally Posted by King Kovifor
Not sure how to do it...

jj:

style="display:none;"

that'll do what?

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

Change it to that. It will be closed by default.
Reply With Quote
  #8  
Old 12 May 2006, 18:04
SCRIPT3R SCRIPT3R is offline
 
Join Date: Jan 2005
any updates to this one?
Reply With Quote
  #9  
Old 08 Jun 2006, 18:07
Danny W Danny W is offline
 
Join Date: May 2004
Location: Liverpool, England
I noticed if you have more than 1 spoiler on a page the buttons only open the first one.
Reply With Quote
  #10  
Old 06 Aug 2006, 09:39
Mythotical Mythotical is offline
 
Join Date: Jun 2004
King Kovifor is away for the week, I will try to fix that problem.
Reply With Quote
  #11  
Old 06 Aug 2006, 14:50
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Originally Posted by Danny W
I noticed if you have more than 1 spoiler on a page the buttons only open the first one.
The spoiler tag should include:

[spoiler=SOMEUNIQUE_ID]and it'll collapse for all of them[/spoiler]
__________________
Do not request support through any other means except the forums.

Useful Post With Links on Learning How To Develop vBulletin Plugins

Latest Modification: Stop Forum Spam Integration
Reply With Quote
  #12  
Old 07 Aug 2006, 07:05
dartho dartho is offline
 
Join Date: Sep 2005
I changed this ever so slight for my own uses - still all the original code.

I've called the code JOKE

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

So bascially it shows the joke, and you click the "Click Me" button to show the punch line

Nice Hack - Thanks!!
Reply With Quote
  #13  
Old 16 Aug 2006, 14:59
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Originally Posted by dartho
I changed this ever so slight for my own uses - still all the original code.

I've called the code JOKE

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

So bascially it shows the joke, and you click the "Click Me" button to show the punch line

Nice Hack - Thanks!!
It's for your use. And if you want to change it to be used with jokes. Go right a head.
__________________
Do not request support through any other means except the forums.

Useful Post With Links on Learning How To Develop vBulletin Plugins

Latest Modification: Stop Forum Spam Integration
Reply With Quote
  #14  
Old 25 Aug 2006, 16:19
ArchEnemy ArchEnemy is offline
 
Join Date: Aug 2006
Thank you for that code (the joke one too). I find it useful to set the title of the hidden field, but would be even nicer when it would use a default name when nothing was specified.

When you add class="button", the button comes in the css style. Looks better.

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

Ok, after some testing, ... another variation of the code above. It creates a box with a textlink (option), which opens and closes the box. So this one is without any additional ugly buttons.


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


Last edited by ArchEnemy : 25 Aug 2006 at 20:00.
Reply With Quote
  #15  
Old 04 Sep 2006, 17:19
sbrum sbrum is offline
 
Join Date: Feb 2006
Originally Posted by King Kovifor
The spoiler tag should include:

[spoiler=SOMEUNIQUE_ID]and it'll collapse for all of them[/spoiler]
This does not work for me either. Sometimes the first button opens the second spoiler.
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 21:20.

Layout Options | Width: Wide Color: