vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=279069

Most elegant Spoiler-Tag [BB-Code]
by Grazu
23 Feb 2012 21:36

2 Attachment(s)
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 http://www.vbulletin.org/forum/attac...1&d=1330032950 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

clutchthese 26 Feb 2012 07:58

When viewing on mobile device, it crashes app and when in mobile browser, redirects to homepage.... Anything to fix this?

Grazu 27 Feb 2012 16:10

Your mobile have to support JavaScript, all iPhones & Android-Devices are compatible with this. ;)

ceho 28 Feb 2012 19:06

Hi, a very nice addon, thanks a lot :). There is just one thing that I don't get managed: I would like to have the font inside of the spoiler box that's saying Open/Close Spoiler in the same font style like the one that's displayed before opening the box for the first time. So I would like to add
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

into the span tag that contains the onClick stuff etc. But I don't get it. Would you mind helping me that the fonts are displayed all the same? Thanks a lot :).

clutchthese 28 Feb 2012 21:27

Quote:

Originally Posted by Grazu (Post 2303886)
Your mobile have to support JavaScript, all iPhones & Android-Devices are compatible with this. ;)

I'm talking the iphone app... via mobile suite.

It is on an iphone. you can open the spoiler, but to select the pic for a bigger view results in a crash.

Grazu 29 Feb 2012 15:03

@ceho:
Maybe this could help you ;)

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

Quote:

Originally Posted by clutchthese (Post 2304387)
I'm talking the iphone app... via mobile suite.

It is on an iphone. you can open the spoiler, but to select the pic for a bigger view results in a crash.

I'm using Safari, without problems. (:

ceho 29 Feb 2012 18:16

Hi Grazu, thanks very much. That's part of it :). Actually I want to change the font inside of this bit:


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

Any idea how to do this?

And would you have an idea if it's possible to always have the spoiler at the bottom of each post, automatically? Thanks and keep up the great work mate.

clutchthese 07 Apr 2012 13:04

Has anyone else tried this on a mobile? On two of my forums it redirects to homepage (my site.com/#)

benjaminlwells 09 Apr 2012 16:31

any way to make the spoiler keep hidden text from showing on widgets and blocks?

Amaury 06 May 2012 23:43

Thank you.

Also, before opening it when first visiting said thread, it says "->Spoiler öffnen<-." However, once you open it, it changes to Close / Open Spoiler. What's offnen?

Is there a way to get it to say Open Spoiler when you first go to said thread?

Edit: Never mind, trying another one.

Lovely jubbly
by Glockie
10 May 2012 23:14

Thank you for the very instructive guide - clearly written and easy to follow.

Superb! Thank you. :)

Grazu 29 May 2012 17:55

Quote:

Originally Posted by Amaury25 (Post 2326873)
Thank you.

Also, before opening it when first visiting said thread, it says "->Spoiler öffnen<-." However, once you open it, it changes to Close / Open Spoiler. What's offnen?

Is there a way to get it to say Open Spoiler when you first go to said thread?

Edit: Never mind, trying another one.

"öffnen" means open in german. ;)

onealien 30 Jul 2012 05:25

works great and has a clean look....thx

Snakes18 03 Oct 2012 19:18

Apparently on 4.2 you can see the hidden text from Google. Is there a way to prevent this?

gsmlover4u 20 Oct 2012 14:21

dimo links not working


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

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.