Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 07 Jul 2017, 20:23
Fleiding's Avatar
Fleiding Fleiding is offline
Join Date: Jan 2012
Real name: Rob
Spoiler BBCode


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?

Reply With Quote
Old 08 Jul 2017, 00:46
noypiscripter's Avatar
noypiscripter noypiscripter is offline
Join Date: Aug 2013
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.
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer

GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic
Reply With Quote
Old 08 Jul 2017, 10:45
Fleiding's Avatar
Fleiding Fleiding is offline
Join Date: Jan 2012
Real name: Rob
Thanks Glenn!
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

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 02:12.

Layout Options | Width: Wide Color: