Page 2 of 3

Re: Spoiler tag

Posted: Fri May 20, 2016 12:39 pm
by Fleder
wermy wrote:Huh, wonder why it worked for you guys and not @Ganreizu. Maybe because it's a gif?
I think it's because he posted it before you changed something.
If he edits his post, I bet it will work, too.
The database entry is just not being updated.

Re: Spoiler tag

Posted: Fri May 20, 2016 12:45 pm
by wermy
Fleder wrote: I think it's because he posted it before you changed something.
If he edits his post, I bet it will work, too.
The database entry is just not being updated.
I didn't change anything after I initially enabled it though. Maybe he accidentally checked "Disable BBCode" or something?

Re: Spoiler tag

Posted: Fri May 20, 2016 12:56 pm
by Ganreizu
wermy wrote:Huh, wonder why it worked for you guys and not @Ganreizu. Maybe because it's a gif?

[spoiler="Test Gif"]Image[/spoiler]

[spoiler="Test Jpg"]ImageWhy is this a thing on the internet?[/spoiler]


Edit: Nope, seems to work fine for me with both gifs and jpegs. I didn't change anything. Weird.

Just edited my post and still the same. o.o Definitely did not check disable bbcode.

Test in new post:
[spoiler="Huzzah!"]Image[/spoiler]


Huh...the syntax is the same as far as i can tell. O.o

Re: Spoiler tag

Posted: Fri May 20, 2016 12:58 pm
by wermy
Ok let me try with the same bbcode you used:

[spoiler="Huzzah!"]Image[/spoiler]

Re: Spoiler tag

Posted: Fri May 20, 2016 1:02 pm
by Ganreizu
Testing hand typed with different URL

[spoiler="Huzzah!"]Image[/spoiler]

Super weird. I'm stumped.

Re: Spoiler tag

Posted: Fri May 20, 2016 1:07 pm
by wermy
One more test with a different-format giphy URL:
[spoiler="Test"]Image[/spoiler]

Edit: Ok, so that is the exact same giphy image as before. The one in this format works: http://i.giphy.com/3o85xzwOcKkOw67ywg.gif

The one in this format does not: https://media.giphy.com/media/3o85xzwOc ... /giphy.gif

No idea why.

Re: Spoiler tag

Posted: Fri May 20, 2016 1:49 pm
by Ganreizu
Oh so it doesn't spoiler https urls? Edit: Nope not that...

Oh well, it works now and will work for 99% of circumstances i'm sure. No need to spend more time on it than necessary. Thank you!

Re: Spoiler tag

Posted: Fri May 20, 2016 2:01 pm
by wermy
Ganreizu wrote:Oh so it doesn't spoiler https urls? Edit: Nope not that...

Oh well, it works now and will work for 99% of circumstances i'm sure. No need to spend more time on it than necessary. Thank you!
No problem. But actually I was referring to the i.giphy.com/soemthing.gif vs media.giphy.com/media/something/giphy.gif. I think there's something funky with the latter one, where the former is an actual direct link to the .gif file.

Re: Spoiler tag

Posted: Fri May 20, 2016 5:26 pm
by solder
Good request & thx for implementing :]

Re: Spoiler tag

Posted: Sat May 21, 2016 1:36 am
by Kilren
Would be weird but do you think it's the exclamation point could be messing with the syntax?

[spoiler="like this!"]Image[/spoiler]