Simple Spoiler BBCode

Potential Spoiler 'Spoiler'? - Simple Spoiler BBCode

Potential Spoiler 'Spoiler'?

by paulie » Tue Sep 05, 2017 8:35 pm

I've noticed that when the Topic Preview Extension is in use, the Spoiler shows in the preview when hovered over.
'Life in the Air Age isn't all the brochures say ...'
User avatar
paulie
Registered User
Posts: 90
Joined: Thu Mar 30, 2017 3:41 pm
Location: Hull, East Yorkshire.
Contact:

Re: Potential Spoiler 'Spoiler'?

by AbaddonOrmuz » Wed Sep 06, 2017 3:04 am

That's not an issue with the spoiler extension, there's nothing I can do about that.

Topic Preview strips all formatting (source):
BBcode tags and URL links are removed for a cleaner text-only appearance
So in the Topic Preview ACP settings page, add spoiler in the list "BBCodes to hide in topic previews" to hide them.
Some of my phpBB extensions:
Image Imgur | :chart_with_upwards_trend: SEO Metadata | Image Markdown | :lock: Auto-lock Topics
:trophy: Check out all my validated extensions :trophy:

:penguin: Arch Linux user :penguin:
User avatar
AbaddonOrmuz
Recognised Extension Developer
Posts: 987
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo
Contact:

Re: Potential Spoiler 'Spoiler'?

by paulie » Wed Sep 06, 2017 10:55 am

AbaddonOrmuz wrote:That's not an issue with the spoiler extension, there's nothing I can do about that.

Topic Preview strips all formatting (source):
BBcode tags and URL links are removed for a cleaner text-only appearance
So in the Topic Preview ACP settings page, add spoiler in the list "BBCodes to hide in topic previews" to hide them.
A simple solution and it works perfectly, thank you :D

An excellent Extension by the way.
'Life in the Air Age isn't all the brochures say ...'
User avatar
paulie
Registered User
Posts: 90
Joined: Thu Mar 30, 2017 3:41 pm
Location: Hull, East Yorkshire.
Contact: