Quote:
Originally Posted by Jupp
Change the plugin code in nCode Image Resizer: Replacer In Cached Data from
Code:
$this->ncode_imageresizer_do = false;
if(defined('NCODE_IMAGERESIZER_INIT') && strtolower(get_class($this)) == 'vb_bbcodeparser' && ($forumid != "signature" || $this->registry->options['ncode_imageresizer_resizesignatures'] == '1')) {
if(!empty($parsedtext) && $parsedhasimages) {
$parsedtext = $this->handle_bbcode_img($parsedtext, $dobbimagecode, $parsedhasimages);
$parsedtext = ncode_imageresizer_replace($parsedtext);
$parsedhasimages = false;
} else {
$this->ncode_imageresizer_do = true;
}
}
to:
Code:
$this->ncode_imageresizer_do = false;
if(defined('NCODE_IMAGERESIZER_INIT') && strpos(strtolower(get_class($this)),'vb_bbcodeparser') !== false && ($forumid != "signature" || $this->registry->options['ncode_imageresizer_resizesignatures'] == '1')) {
if(!empty($parsedtext) && $parsedhasimages) {
$parsedtext = $this->handle_bbcode_img($parsedtext, $dobbimagecode, $parsedhasimages);
$parsedtext = ncode_imageresizer_replace($parsedtext);
$parsedhasimages = false;
} else {
$this->ncode_imageresizer_do = true;
}
}
and change the plugin code in nCode Image Resizer: Replacer In Uncached Data from:
Code:
if(defined('NCODE_IMAGERESIZER_INIT') && strtolower(get_class($this)) == 'vb_bbcodeparser' && $this->ncode_imageresizer_do !== false) {
$text = ncode_imageresizer_replace($text);
}
to:
Code:
if(defined('NCODE_IMAGERESIZER_INIT') && strpos(strtolower(get_class($this)),'vb_bbcodeparser') !== false && $this->ncode_imageresizer_do !== false) {
$text = ncode_imageresizer_replace($text);
}
Either copy and paste the complete plugin code or simply replace the red code in the particular plugin with the green code.
|
Thanx very much - works deliciously LOL
Appreciate the sharing
Quote:
Originally Posted by ShackMaster
Is there anyway to require users to make a selection during registration? I would like to have the options to resize available during registration and warn 1024 resolution (or lower) that they should choose to have their images resized to the maximum default of 800 pixels wide so that the forum does not go widescreen on them for larger images. Currently the option load on the Edit Options page.
Thanks!
|
Good idea - don't know how difficult that'd be to accomplish - but subscribing, as it would be nice to have such an option....
Quote:
Originally Posted by Pirate45
Seems to be working now but the drawback is that a different size is needed for the blogs due to the left side on the blog pages.
Would it be possible to have another version of this that would apply ONLY to the blogs?
|
Ditto to what I said above...
Jacquii.