I did some testing with this, and it's a GREAT mod.
The only problem I came across at this point, is if a user makes a post containing an image like this...
[img]https://vborg.vbsupport.ru/[/img]
...the image won't show in the post since the plugin is trying to show the new template in place of the standard image data.
Just have to come up with a way to keep the plugin from executing when viewing showthread or showpost. maybe adding something to your conditional to check request_uri for showthread.php or showpost.php.
I'm not the greatest at this stuff, but if I come up with a solution I'll be sure to post it.
|