Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Custom Title Spoiler Button Details »
Custom Title Spoiler Button
Mod Version: 1.0.1, by GamBun (Member) GamBun is offline
Developer Last Online: Jul 2014 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (9 votes - 4.89 average) Installs: 84
Released: 05 Mar 2009 Last Update: Never Downloads: 11
Not Supported Auto-Template Re-usable Code Translations  

I have a Spoiler Tag Feature at my site that allows for a spoiler with a custom button title to be initially seen (great if you want to hint what is hidden inside).

I don't see anything exactly the same here...although some are similar... & have seen many requests for other spoiler ideas, so.... I thought I might share. Please be kind as this is my first shared hack.

Update: Spoilers still work in version 4.x.x (including suites). Spoilers may be used as intended, in all Blog posts, forum posts, & published article content (CMS) to hide hints/cheats. I will not support it anywhere else outside of posting areas.

It's real easy. Just log into the AdminCP=>Custom BBCodes=>Add New BB Code

Then do this:

Title: Spoiler
BB Code Tag Name: Spoiler

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

Example: [spoiler=Title Text]Hidden Text Here[/spoiler]

description: Creates a button that hides/shows spoiler messages.

use {option}: Click "Yes" (Note: some have found they need to set this option to "No" due to personal styling, but in most cases it should be "Yes").

add the path to your "spoiler" icon The image would go in your forums images/editor directory. (Feel free to use the icon I added at the bottom of this post.. just right click on it to download it to your computer)

Remove tag if empty: Click Yes

...leave the rest at "No"

click "save" button & that's it!

>>LIVE EXAMPLE<< (You can test there without signing up, if you want to see how it works, but also not this is the newer "Smooth Version" the "Box Version" can be seen in the screen shots below).

The code will then be: [spoiler="Button Title Here"]Hidden Content Here...[/spoiler]

This also works to nested spoilers as well!

Below there is an icon to use as well. Just add your image of choice to your path... /images/editor directory.

ENJOY!

Please Note: if for any reason this spoiler system breaks when converting to 4.0 upgrade. Just to BB Code manager & delete it, go through the process of adding it again, as given above. Doing this will not make you lose any forum content as long as you use the the same code (i.e. if you modified the code I gave you, then you will have to do the same again for it to work as you want). Doing this will force the new version to read the bbcode properly. It also works in CMS, but I personally am not using it right now, as it's not relevant to my site. So let me know if you have any problems, & I'll test.

We have a smooth, "NO BOX" version HERE that also works for all 3X versions.

Download Now

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

Screenshots

Click image for larger version

Name:	scrnshot1.gif
Views:	1769
Size:	21.1 KB
ID:	95914   Click image for larger version

Name:	scrnshot2.gif
Views:	2186
Size:	19.4 KB
ID:	95915   Click image for larger version

Name:	scrnshot.gif
Views:	1544
Size:	21.2 KB
ID:	96079  

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 Button spoiler godkillah vBulletin 3.7 Add-ons 11 30 Nov 2012 18:01
BB Code Enhancements Spoiler BB Code with Show/Hide Button Deadly Stream Modification Graveyard 22 22 Mar 2010 01:06

Comments
  #2  
Old 05 Mar 2009, 13:31
lostguy lostguy is offline
 
Join Date: Mar 2008
I prefer if someone Reply something to view the Hidden text ! Can u make one ?

Lg
Reply With Quote
  #3  
Old 05 Mar 2009, 21:44
GamBun's Avatar
GamBun GamBun is offline
 
Join Date: Jun 2006
I'm not sure exactly what you mean by that. Can you explain more? ...or give an example?
Reply With Quote
  #4  
Old 06 Mar 2009, 00:48
lostguy lostguy is offline
 
Join Date: Mar 2008
Well easy i want hide my content ! User need to reply something to VIEW the content if they didnt reply then it forever HIDEEN .I guess hard to u to create eh ?

LG
Reply With Quote
  #5  
Old 07 Mar 2009, 16:56
GamBun's Avatar
GamBun GamBun is offline
 
Join Date: Jun 2006
You are correct in your assumption. I don't really know how to force a post first. Sorry.
Reply With Quote
  #6  
Old 09 Mar 2009, 20:46
Julian360's Avatar
Julian360 Julian360 is offline
 
Join Date: Sep 2008
Real name: Julian
Bunny!

I have created a small icon ...
Attached Images
File Type: gif spoiler_image.gif (171 Bytes, 4686 views)
Reply With Quote
  #7  
Old 10 Mar 2009, 07:25
GamBun's Avatar
GamBun GamBun is offline
 
Join Date: Jun 2006
Originally Posted by Julian360 View Post
I have created a small icon ...
Nice! ...& Thanks! I have added the one I use as well. (see first post "Screenshots").

Last edited by GamBun; 23 Jul 2012 at 15:57. Reason: (where posted)
Reply With Quote
  #8  
Old 04 Apr 2009, 20:31
Jasem's Avatar
Jasem Jasem is offline
 
Join Date: Feb 2006
Location: www.menokia.com
thank you so much

Installed.
__________________
games
Forum Nokia
Reply With Quote
  #9  
Old 04 Apr 2009, 22:43
ph03nIX ph03nIX is offline
 
Join Date: Jun 2003
Lostguy, I think you are looking for something like this, http://www.vbulletin.org/forum/showthread.php?t=90985

GamEscape, thanks for this. Installed.
Reply With Quote
  #10  
Old 10 Apr 2009, 03:50
Jafo232 Jafo232 is offline
 
Join Date: May 2004
This seems to break passivevideo:

http://www.vbulletin.org/forum/showt...hlight=passive
__________________
Become a Lampwright today at www.lampwrights.com!
Reply With Quote
  #11  
Old 13 Apr 2009, 16:31
Rapha81 Rapha81 is offline
 
Join Date: Jan 2009
Thank you !

=> Installed.
Reply With Quote
  #12  
Old 18 Apr 2009, 10:46
RedSpiral RedSpiral is offline
 
Join Date: Apr 2009
Thanks

Nice & Simple
Reply With Quote
  #13  
Old 24 Apr 2009, 05:12
TheKdd TheKdd is offline
 
Join Date: Oct 2008
Very easy. Thanks so much!
Reply With Quote
  #14  
Old 25 Apr 2009, 20:58
JohnBee JohnBee is offline
 
Join Date: Oct 2004
It's a nice idea(like it), but is there a way to hide the blank bar?
It doesn't always play nice with the theme and post content

--- later that day... ---


Okay, I fixed it

Last edited by JohnBee; 25 Apr 2009 at 21:17.
Reply With Quote
  #15  
Old 09 May 2009, 19:19
lav0s's Avatar
lav0s lav0s is offline
 
Join Date: Jan 2004
breaks with AME
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 15:43.

Layout Options | Width: Wide Color: