vBulletin Mods

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

Spoiler Alert BB Code - New Look for VB5
by BirdOPrey5
10 Mar 2013 16:37

6 Attachment(s)
This is based on an old spoiler code widely available as "Reusable Code" in the VB 3.x days but since removed. It has been updated with new colors, rounded borders, and shadows for new look and fully compatible with VB5.

This is a BB Code to hide content from people who don't want to accidentally see it- usually used for "spoilers" about TV Shows, Movies, or sporting events.

Live Demo: http://www.qapla.com/mods/showthread...-Spoiler-Alert

Closed State:

http://www.vbulletin.org/forum/attac...1&d=1362933168

Open State:

http://www.vbulletin.org/forum/attac...1&d=1362933168

Nested (on VB5):

http://www.vbulletin.org/forum/attac...1&d=1362933168

Tested and working on VB 3.x, 4.x, and 5.x!
Tested and working in Chrome, IE, Opera, and Safari


Note- Because it uses JavaScript you must refresh the page after submitting a post so the JS loads correctly. Other people viewing the post after you will not have any problems.

This BBCode relies on a background image (bop5-alert-bk.png) that must be uploaded to your /images/misc/ folder.

http://www.vbulletin.org/forum/attac...1&d=1362933559

To install download the XML if you have the BBCode XML importer or add a custom BBCode with these settings:

Title: Spoiler Alert
BB Code Tag Name: sa
Replacement:

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

Example: [sa]Spoiler Example[/sa]
Description: This is a Spoiler BBCode to hide content until someone clicks on it.
Use {Option}: No

Button Image: (Image attached)

Remove Tag if Empty: Yes
All other settings: No


---


Please "Mark as Installed" if you use this. :)


NOTE: Do not download the .xml fie unless you have the old obscure mod for VB 3.x to allow BBCode Importing via XML. This is NOT a VB Product file and will not import for 99.9% of you. Use the manual instructions instead. I only included the file because there is a rule where every mod thread is technically supposed to have an attached file to download.

BirdOPrey5 10 Mar 2013 16:41

Reserved.

WhiskeyOSS 11 Mar 2013 13:34

XML would not load in vb5.0.0

BirdOPrey5 11 Mar 2013 16:33

You need to have the BBCode XML Importer mod to use the XML fie. It was an old mod released for 3.x. You probably don't have it so just manually enter the code via the instructions in the post.

Tyran1 12 Mar 2013 20:43

Nice Thanks!!

fariborz khan 09 Sep 2014 00:08

is it work in responsive style of vb5?

emendrael 27 Jan 2015 13:41

Hell yeah, nice ! :)

Works Great
by donnyaz
06 Feb 2015 20:27

no xml to install and the BB Code works great

online68 24 Nov 2015 02:47

Two quick questions. Does this work with vB5.1.9? Also, can photos/videos also be uploaded to the spoiler section other than just text?

IggyP 25 Jan 2016 10:46

you know what would be suuuuper coooool?

usergroup or password protection on these...

that possible at all?? like usergroup id in code or something somehow?

DemOnstar 26 Jan 2016 15:42

Quote:

Originally Posted by online68 (Post 2559279)
Two quick questions. Does this work with vB5.1.9? Also, can photos/videos also be uploaded to the spoiler section other than just text?

Yes, they can. . .BOP5 always does a good job...

BirdOPrey5 26 Jan 2016 18:17

Quote:

Originally Posted by IggyP (Post 2563387)
you know what would be suuuuper coooool?

usergroup or password protection on these...

that possible at all?? like usergroup id in code or something somehow?

Not possible with BB Code... would need some sort of add-on to do that, if it's even possible in VB5.

IggyP 26 Jan 2016 21:44

meh, would be pretty tight but not critical or anything..

thanks for this anyway, installed :)

online68 15 Feb 2016 20:01

Two quick questions. Does this work with vB5.2? Also, can photos/videos also be uploaded to the spoiler section other than just text?

shimei 15 Feb 2016 20:23

Quote:

Originally Posted by online68 (Post 2564966)
Two quick questions. Does this work with vB5.2? Also, can photos/videos also be uploaded to the spoiler section other than just text?

Yes and Yes. Check out an example here: https://www.christforums.org/forum/n...dvanced-editor


All times are GMT. The time now is 23:52.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, 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.