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)

bchertov 04-04-2007 04:31 PM

Hi,

Great Pluggin! Works great for online display! However, I have modified my site so it sends out HTML email notification. When parsing the message from bbcode to HTML for emails I want to turn off the resizer because the javascript is not supported and can sometime cause problems.

I am currently instantiating the parser and then trying to turn off the resizer like so:

Code:

        $postbit->bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
        $postbit->ncode_imageresizer_do = false;
        ...
        $pagetext_cache["$touser[languageid]"] = $postbit->bbcode_parser->parse($pagetext_orig, $foruminfo['forumid']);

However this is not defeating the resizer, the onload code is still being added. Can you help me?

Thanks!

rknight111 04-05-2007 01:07 AM

I have installed and still cant get it to work, and I did turn the CSS store on and no problems, now I want to fiqure out how to get this working.

RON

AllenMead 04-07-2007 08:37 AM

Fantastic add on. I have RC 2 installed on another site, not updated to RC4 yet. However, I have just installed RC4 onto a new site and my index.php page is showing an error on the status bar.

Line: 333
Char: 1
Error: 'NcodeImageResizer' is undefined
Code: 0
URL: http://www.worldrallyforum.com/index.php

I am using CMPS ver: 2.2.1 (vb3.6) and vBulletin 3.6.5.

It doesn't show the error anywhere else on the forum. any help would be much appreciated.

Thanks

menababu 04-08-2007 04:31 AM

I dont see any option in admin cp-even tho it is working good v3.6.5.it resized by it self and when click it gets original size

check on www.desividesimasti.net

Thanks

morrow 04-09-2007 03:27 PM

I installed this today and recieve the same error...

I'm running the same as you (CMPS 2.2.1 / vB 3.6.1)

Line:303 = NcodeImageResizer.MODE = 'enlarge';

Quote:

Originally Posted by AllenMead (Post 1221739)
Fantastic add on. I have RC 2 installed on another site, not updated to RC4 yet. However, I have just installed RC4 onto a new site and my index.php page is showing an error on the status bar.

Line: 333
Char: 1
Error: 'NcodeImageResizer' is undefined
Code: 0
URL: http://www.worldrallyforum.com/index.php

I am using CMPS ver: 2.2.1 (vb3.6) and vBulletin 3.6.5.

It doesn't show the error anywhere else on the forum. any help would be much appreciated.

Thanks


bchertov 04-12-2007 12:13 AM

Would you please add a way that the pluggin can be turned off, particularly the ncode_imageresizer_replace function, programatically?

I want to be able to parse a given piece of a post and not have the replace being made (because its being sent in an HTML email). Thanks!

jahshaka 04-12-2007 07:34 AM

i would love to be able to control the size of the resized images on a per forum basis - some of my forums use the regular postbit and some use the legacy postbit...

as7aab 04-12-2007 07:39 AM

just upload the ncode_imageresizer.js to the forum folder "webite/forum"
upload product-ncode_imageresizer.xml from admincp...

if its that simple why doest it work for me?
i can see the settings in the admincp and in the usercp
but it doesnt resize any images

DJ XtAzY 04-14-2007 08:37 AM

I noticed this hack kinda cause the board to freeze/pause for a few seconds. Maybe it's because it's trying to anaylze all da images. If i disabled the product, the site loads smoothly. Is there a way to optimize the code a bit better so it doesnt lag?

testebr 04-16-2007 03:46 AM

when will you correct the mistake with the accentuated characters?

And can you load the .js file only in topic pages in next version?


All times are GMT. The time now is 04:02 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.01839 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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