010101 this issue has been opened on Github (therealsujitk/flarum-ext-gifs#15). I'll fix it as soon as I get some free time.
GIFs
Darkle yes, this is the same issue as therealsujitk/flarum-ext-gifs#15. You'll have to change your content filter, save changes, change it back & save it again.
I currently don't have access to my testing environment, so I can't fix this right now.
therealsujitk It worked, I'm sorry I thought it was another error, when I switched from Giphy to Tenor it didn't work, that's why I thought it was something new. Thanks!
Will you be tagging a new release to include therealsujitk/flarum-ext-gifs17 by any chance?
IanM I actually want to close therealsujitk/flarum-ext-gifs#15 before creating a new release. This fix requires compiling the JS files, and I don't have my environment set up at the moment. If anyone is free to fix and compile it, that would be great. It only requires changing two lines. (Default value for engine
, 'giphy'
and for rating
, 'off'
).
therealsujitk sure, here you go therealsujitk/flarum-ext-gifs18
- Edited
v4.1.1
- Fixed typo in class name (therealsujitk/flarum-ext-gifs#17)
- Added default settings (therealsujitk/flarum-ext-gifs#18)
Thankyou @IanM for this release.
Updating
composer update therealsujitk/flarum-ext-gifs
therealsujitk hi, I believe this extension is conflicting with Rich Text. You can not click on the gif to add it. Would you mind looking into that? I think @askvortsov has some idea of what's going on
huuduy216 Does anything show up in console?
therealsujitk nothing actually. Could be a combination with other extension too. Maybe @askvortsov would be able to explain it better, he were able to reproduce it as well I think
Can anyone help me with centering the GIFs? I tried applying css to ".giphy-embed" but that did not work
- Edited
huuduy216 Centring the GIFs in the post bodies? The GIFs are embedded into a post using markdown format 
, I haven't specified a class name for them and even if I add one in the next release (Not sure if it's possible to directly manipulate the DOM), it won't be applied to all the GIFs posted so far. If you don't have a problem with centring all images I guess using img
instead of .giphy-embed
should work.
therealsujitk hmmm, I already centered all of my img actually, but the GIF are still not centered
huuduy216 do you mind sharing your Flarum site?
therealsujitk I managed to get it to work. Thank you!
Hey, I've installed it on my server, it showed up on my administration area, but I can't enable it, I click, but it never stays on.