Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Most elegant Spoiler-Tag [BB-Code] Details »
Most elegant Spoiler-Tag [BB-Code]
Mod Version: 1.00, by Grazu (Member) Grazu is offline
Developer Last Online: Apr 2014 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (9 votes - 4.56 average) Installs: 59
Released: 23 Feb 2012 Last Update: Never Downloads: 0
Not Supported Re-usable Code Translations  

This mod is automatically compatible with vB3.6.x, vB3.7.x, vB3.8.x and vB4.x.x



Demo: http://Uniquecrew.net/Spoiler.php
Demo-Mirror: http://hrkleZ.bplaced.net/Files/Spoiler.html (as you can see in the source, images are base64 encoded in the Demo-Mirror)


Installation Instructions:
  1. Open your AdminCP Custom BB Codes => Add New BB Code
  2. Title: Spoiler
  3. BB Code Tag Name: Spoiler
  4. Replacement:

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

  5. Example: [SPOILER]Hidden Text Here[/SPOILER]
  6. Description: The [SPOILER]-Tag allows you to hidden or hide your text.
  7. Use {option}: No
  8. Button Image (Optional) => Upload this Picture on you Server and enter the exact Address of it (/images/ is recommended).
  9. Remove Tag If Empty: Yes
  10. Disable BB Code Within This BB Code: No
  11. Disable Smilies Within This BB Code: No
  12. Disable Word Wrapping Within This BB Code: No
  13. Disable Automatic Link Parsing Within This BB Code: No
After you finished, you can compare your Settings with this Screenshot.


I hope you like it! (:

This mod is automatically compatible with vB3.6.x, vB3.7.x, vB3.8.x and vB4.x.x

Download Now

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

Screenshots

Click image for larger version

Name:	Settings.jpg
Views:	2743
Size:	67.4 KB
ID:	136640  

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 Tag ChopSuey vBulletin 4.x Add-ons 47 28 Nov 2016 21:28
BB Code Enhancements [BB Code] Spoiler Tag theFM vBulletin 4.x Add-ons 37 29 Jan 2015 16:03

  #16  
Old 24 Nov 2012, 17:58
Grazu Grazu is offline
 
Join Date: Nov 2005
Originally Posted by Snakes18 View Post
Apparently on 4.2 you can see the hidden text from Google. Is there a way to prevent this?
You could unescape the {param}.
Reply With Quote
  #17  
Old 11 Jun 2014, 20:38
alzaabi alzaabi is offline
 
Join Date: Mar 2012
How to centre the spoiler ? and how to make the font
inside the spoiler little bigger ?
Reply With Quote
  #18  
Old 13 Jun 2014, 20:26
ramesh_umk3's Avatar
ramesh_umk3 ramesh_umk3 is offline
 
Join Date: Jul 2010
Real name: Wiston Book
Suppose if any users used align it will not be applicable for bbcode remember that

<center><div style="padding: 0px 5px 0px 5px; border: 1px solid #DF7401; margin-left: 20px; width: 40%"><div align="center" style="text-transform: none; border-bottom: none; display: block; padding: 3px 0px 3px 0px;">
<span onClick="var spoiler = this.parentNode.parentNode.getElementsByTagName('div')[2];
if (spoiler.style.display != ''){
this.parentNode.parentNode.style.width = '80%'
this.parentNode.style.borderBottom = '1px solid #CCCCCC';
spoiler.style.display = '';
this.getElementsByTagName('a')[0].innerHTML = '->Close Spoiler<-';
}else{
this.parentNode.parentNode.style.width = '40%'
this.parentNode.style.borderBottom = 'none';
spoiler.style.display = 'none';
this.getElementsByTagName('a')[0].innerHTML = '->Open Spoiler<-';
}" />
<a rel="nofollow" href="#" onClick="return false;" style="text-decoration: none;"><b style="font-size: 0.8em;">->Spoiler öffnen<-</b></a>
</span>
</div>
<div class="quotecontent">
<div align="center" style="display: none; padding: 5px 0px 5px 0px; font-size:18px;"><br> {param}</div>
</div>
</div></center><br />
just increase or decrease of font-size:18px;

Simpler Spoilers are good which takes less space of postbit:
Demo
Reply With Quote
  #19  
Old 15 Jun 2014, 06:10
alzaabi alzaabi is offline
 
Join Date: Mar 2012
Thanks a lot for all
Reply With Quote
  #20  
Old 15 Nov 2014, 00:56
kiba snowpaw kiba snowpaw is offline
 
Join Date: Jul 2013
i have VB 3.8.8 and evrytime i ad this i get
Forbidden
You do not have permission to access this document.
Web Server at danskeanimeklub.dk
and then my homepage down for 5 min or so
can someone tell me why and its only when useing this BB Code Code ???
Reply With Quote
  #21  
Old 30 Nov 2014, 08:05
donisgh donisgh is offline
 
Join Date: Aug 2013
Thanks a lot... this thread help me
Reply With Quote
  #22  
Old 15 Dec 2014, 01:19
fayax fayax is offline
 
Join Date: Dec 2009
Definitely most elegant. Thank you!
__________________
fe9.org
Reply With Quote
  #23  
Old 17 Dec 2014, 15:06
Feindbild Feindbild is offline
 
Join Date: Jan 2013
Why exactly are you using a fraud/hacking board to demonstrate your spoiler?
Reply With Quote
  #24  
Old 03 Jun 2015, 20:23
jkotlowski jkotlowski is offline
 
Join Date: May 2015
Is there any way to allow users to define the text that appears on the spoiler tag?

[spoiler=text to appear instead of open spoiler]text to be inside tag[/spoiler]

Something like that?
Reply With Quote
  #25  
Old 04 May 2016, 19:13
Scans007 Scans007 is offline
 
Join Date: Jul 2011
Bumping an old thread - works great for me. Just one question - where do I reference the button image in the code to have it show up?
Reply With Quote
  #26  
Old 04 May 2016, 19:41
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Scans007 View Post
Bumping an old thread - works great for me. Just one question - where do I reference the button image in the code to have it show up?
When you define/edit the BBCode, you enter the URL of the image here:

Attached Images
File Type: png bbcodebutton.png (9.7 KB, 88 views)
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #27  
Old 05 Apr 2017, 10:42
Flipfloptrader Flipfloptrader is offline
 
Join Date: Jan 2011
Real name: John
Is it me or is this in German? Spoiler offnen?

Am I missing something?
__________________
Forex Trading community.
Reply With Quote
  #28  
Old 05 Apr 2017, 10:44
Flipfloptrader Flipfloptrader is offline
 
Join Date: Jan 2011
Real name: John
Ignore, just replaced offnen and schließen to open and close.

Works fine on 4.2.4
__________________
Forex Trading community.
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 00:11.

Layout Options | Width: Wide Color: