MyBB Community Forums

Full Version: Problem with Tinypic plugin 'Insert into post' button
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
After upgrading to MyBB 1.8.1 this Tinypic-uploader plugin:
http://mods.mybb.com/view/tinypic-uploader
doesn't work properly anymore.

Everything goes well and the link got created. But after clicking on the button 'Insert into post' the created link is not automatically placed into the textfield. Nothing happens after clicking on it. Now I have to copy that link and place it manually into the posting.
In MyBB 1.6.15 it worked like a charm.

Any ideas how to change the script so it will work again?

Thanks in advance!
i not tested but try...

open tinypic_uploader.php

find

parent.parent.clickableEditor.performInsert(getParameter(document.location.href, "code"), "", true, false);

replace

parent.parent.MyBBEditor.insert(getParameter(document.location.href, "code"));
Thanks a lot Martec; that works Smile