Quote:
Originally Posted by Nuguru
Hello Everyone,
First of all I really like this hack. However I just noticed that the width that its set to becomes the width of all forum posts regardless of having a oversized image or not as well as the width of PM's.
So this hack seems to be affecting the width of not just all forum posts but also PM's.
Is there a way to fix the width of forum posts that don't have oversized images and PM's without losing the ability to have the scroll bar on posts with oversized images?
Thank You,
Nuguru 
|
Hi,
Yes, there is... by editing vBulletin's IMG code tag.
Edit this file (make a backup first): upload\includes\class_bbcode.php
*** Replace ***
PHP Code:
return '<img src="' . $link . '" border="0" alt="" />';
*** With ***
PHP Code:
return '<div class="hidemsg"><img src="' . $link . '" border="0" alt="" /></div>';
That will fix it. Only the picture width is affected; not the width of the rest of the message text. Also, this updates the IMG code in all parts of the forum: posts, PM's, siggies, and extensions like vbPortal and vBAdvanced.
Regards,
Nathan