There is "Allow [IMG] Code in Signatures" in vBulletin Options. Is there a loop hole to get around this?
Quote:
Originally Posted by ricker
How do we specify that this new image tag (mine's called "sized") created can't be used in signatures? I've had someone find the loophole.
|
I am sure others have done this. I wanted to restrict the image size, but allow readers to click out to the original image for copyright purposes. I adpated this code from:
https://vborg.vbsupport.ru/showpost....6&postcount=22
In the file: /includes/class_bbcode.php
Find:
PHP Code:
return '<img src="' . $link . '" border="0" alt="" />';
Replace with:
PHP Code:
return '<table width="300 border="0"><tr><td><a href="' . $link . '" target="_blank"><img src="' . $link . '" border="0" alt="" style="max-width: 300px;" /></td></tr><tr><td><div align="center" style="font-size: 10px;"><a href="' . $link . '" target="_blank">View Original Image</a></div></table>';