Only one spoiler per reply works

Get help developing custom BBCodes or request one.
Post Reply
User avatar
AzMandius
Registered User
Posts: 36
Joined: Thu Jun 13, 2013 11:58 pm
Location: Moldova
Contact:

Only one spoiler per reply works

Post by AzMandius »

Hello,
I have implemented a custom BBCode from this author: https://www.phpbb.com/customise/db/bbcode/new_spoiler

I just noticed that only one spoiler per reply works. If i add two spoilers per reply, each with different text, upon clicking the "show" button, always the first spoiler content opens.

If anyone got any idea how to fix this, it would be great :) cause the author isn't reacting to any questions.

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 4663
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Only one spoiler per reply works

Post by HiFiKabin »

I use a slightly different BBCode which works perfectly on my forum

Image
image post

Image
image post

http://phpbb.hifikabin.me.uk/viewtopic.php?f=7&t=14

User avatar
AzMandius
Registered User
Posts: 36
Joined: Thu Jun 13, 2013 11:58 pm
Location: Moldova
Contact:

Re: Only one spoiler per reply works

Post by AzMandius »

Nice one, thanks a lot buddy!

Post Reply

Return to “Custom BBCode Development and Requests”