MyBB Community Forums

Full Version: Disable default [img] with custom...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do i remove the default [img] mycode tag and use a custom tag for images. I dont want users to use [img] to link images. I want it to show -->img]http://mycdn/images/(.*?)[img<-- , that only points to my cdn server that user post image uploads go to.

I found a solution in inc/classparser.php. I replaced all (https?://([^<>\["']+?)) with (http://mycdn.com/images/([^<>\["']+?)) .