vBulletin Mods

The Official vBulletin Modifications Site

Spoiler BBCode
by Fleiding
07 Jul 2017 19:23


I have recently migrated from vB4 to vB5 and one of my members let me know that it isn't possible anymore to preview a post and see the hidden content in our Spoiler BBCode.

This is the replacement I'm using (which looks like this):

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

Can someone assist me with editing the replacement so the design stays the same, but members can preview a post and still see the hidden content?


noypiscripter 07 Jul 2017 23:46

The code seems fine in most cases but if the spoiler text has single quotes in it, then the Javascript would break and would cause the "Verberg" to not show up. And if the spoiler text has double quotes in it, then it would totally break the functionality of the BBCode.

I have the same BBCode on my site and it doesn't have this issue.

Fleiding 08 Jul 2017 09:45

Thanks Glenn!

All times are GMT. The time now is 22:13.

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