MyBB Community Forums

Full Version: Images containug 'media' in link are bugged
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So i figured out that when i use an image on my forum that contains the word 'media" on its link, the image turns turns out into some buggy. Though it looks good in the editor, but not afterwards for some reason.

I thought it could be related to the 'Automedia' plugin i was using a while ago, but which has already been deleted. Unlinkely, but i installed the plugin again, uninstalled and removed, but the bug is still present.

So for example:

the image link is: https://media.giphy.com/media/l0MYB325lS.../giphy.gif

how it looks in my forum after posting or in preview:

[img]https:/*{$mybb->user['username']}dia.giphy.com*{$mybb->user['username']}dia/l0MYB325lS1QIXiW4/giphy.gif[/img]

how it should look

[Image: giphy.gif]

What the console shows (idk if it has any relation)

Quote:Uncaught SyntaxError: Unexpected token var


Has anyone got an idea?

Forum url: uniting-people.com/forum
A test thread related to this on my forum: http://uniting-people.com/forum/Thread-F...est-Thread
(the broken 'images' contain 'media')