vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - Image resizer (https://vborg.vbsupport.ru/showthread.php?t=118048)

Marco 08-28-2007 07:40 AM

Quote:

Originally Posted by Skybert (Post 1324835)
This thing worked flawlessly, but one question.

The top bar that is white text on white backround, how do I edit the colors?

Thanks in advance

Edit the ncode_imageresizer_headinclude template, it's in there.

MotMann 08-28-2007 08:07 AM

What shel i do with the language file? i dont have Netherland :(

I will upgrade....

Subah 08-28-2007 09:11 AM

Cool , Thanks :)

fringehead 08-31-2007 12:44 AM

really nice Mod! I switched to a fixed-width forum and it fixed all the posts that were too big!

Thanks,

Sean

oicyu8chu 08-31-2007 02:48 AM

One of the most useful mods of all time!

Choo

cyclone-uk 08-31-2007 09:42 AM

Works great on 3.6.8 thanks for a great mod.

IrPr 08-31-2007 01:22 PM

Any way to use with vBBlog?

dcramps 09-02-2007 01:50 AM

doesnt work at all for me. 3.6.7 PL1

SaTaNaSsO 09-05-2007 09:14 PM

great mod.. but the resizing include signature... it is possible to exclude it???
my VB is in italian language... and in the yellow bar of the resizing doesn't appear the phrases like "Click to enlarge"etc etc...
how can i fix this??

Jupp 09-09-2007 01:13 PM

Quote:

Originally Posted by IrPr (Post 1329481)
Any way to use with vBBlog?


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.


All times are GMT. The time now is 06:29 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01756 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete