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

Comments
  #2  
Old 16 Mar 2006, 23:16
Stangsta's Avatar
Stangsta Stangsta is offline
 
Join Date: Aug 2004
No problems here.

/me clicks install
Reply With Quote
  #3  
Old 16 Mar 2006, 23:57
Stangsta's Avatar
Stangsta Stangsta is offline
 
Join Date: Aug 2004
ok, I take that back. Whan you do a thread preview, it shows the contents of the spoiler.
Reply With Quote
  #4  
Old 17 Mar 2006, 00:02
ElForro ElForro is offline
 
Join Date: Mar 2006
Do you mean the "Hover Preview" from the Treads list? I didn't think of that... If somebody know how to do it... Please say =)
Reply With Quote
  #5  
Old 17 Mar 2006, 00:05
Stangsta's Avatar
Stangsta Stangsta is offline
 
Join Date: Aug 2004
Originally Posted by ElForro
Do you mean the "Hover Preview" from the Treads list? I didn't think of that... If somebody know how to do it... Please say =)
Yes, thats exactly it.
Reply With Quote
  #6  
Old 17 Mar 2006, 02:02
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Very nice spoiler hack!
Reply With Quote
  #7  
Old 17 Mar 2006, 03:18
ElForro ElForro is offline
 
Join Date: Mar 2006
Please change the BB Code with this! Now it works great! (except the Preview, Sorry Stangsta, I will try to fix that)


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

The CSS is the same... And with this new code you can post 2, 3, or even more Spoilers on the same post!

Hack Updated with the new code!

Last edited by ElForro; 17 Mar 2006 at 03:36.
Reply With Quote
  #8  
Old 17 Mar 2006, 03:27
dirtycrow dirtycrow is offline
 
Join Date: Apr 2004
excellent! thank you soo much!
Reply With Quote
  #9  
Old 17 Mar 2006, 03:30
dirtycrow dirtycrow is offline
 
Join Date: Apr 2004
Originally Posted by ElForro
Please change the BB Code with this! Now it works great! (except the Preview, Sorry Stangsta, I will try to fix that)
[/B]
can we please have the english verision?
Reply With Quote
  #10  
Old 17 Mar 2006, 03:35
ElForro ElForro is offline
 
Join Date: Mar 2006
What do you mean dirtycrow? It's all in english (well, except my posts that are in BAD english).. But the only "English" words that are in the hack are:
- Spoiler
- Show
- Hide

Edit: Sorry dirtycrow... I've just edited my post... It's all in english now... But again, there're only 2 words to change... Sorry!!
Reply With Quote
  #11  
Old 17 Mar 2006, 03:37
dirtycrow dirtycrow is offline
 
Join Date: Apr 2004
i copied the code in post number 7 and now i don't have show and hide but "mostar" and "Ocultar"
Reply With Quote
  #12  
Old 17 Mar 2006, 03:39
ElForro ElForro is offline
 
Join Date: Mar 2006
Sorry again... Now it's all in English... (i forgot to change that words because my forum it's in spanish :P)
Reply With Quote
  #13  
Old 17 Mar 2006, 03:42
dirtycrow dirtycrow is offline
 
Join Date: Apr 2004
ElForro, thank you so much! awesome!
Reply With Quote
  #14  
Old 17 Mar 2006, 08:16
Maryanninva Maryanninva is offline
 
Join Date: Feb 2006
Nice! I just installed!

To keep the spoiler out of the hover, I'm advising my users to have at least three lines of text before putting in the spoiler (may it be words, dashes or whatever).
Reply With Quote
  #15  
Old 17 Mar 2006, 18:09
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
Thanks, I've installed this!
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 18:06.

Layout Options | Width: Wide Color: