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)

burntire 04-02-2008 11:39 PM

Quote:

Originally Posted by Sworm (Post 1481349)
This mod work on vBulletin 3.7 RC2?

TX

Yes

ZomgStuff 04-05-2008 11:14 PM

Why is this in German for me?

adamadamadam 04-06-2008 04:23 AM

Hello - is it at all possible to setup this theme so that it's installed to specified themes and not ALL themes?

I have some themes that are 100% browser width where image resizing isn't necessary and some that are a set width (1024px) where image resizing is necessary. How do I choose which themes to have this installed to?

mahsazn 04-06-2008 12:59 PM

does it work with 3.6.8 ?

Kadence 04-07-2008 04:24 AM

Quote:

Originally Posted by ZomgStuff (Post 1483970)
Why is this in German for me?

Do you mean Dutch? Did you download vbulletin-language-nl.xml? You might need to uninstall something.

adamadamadam 04-07-2008 07:30 PM

Can I choose which themes/styles to install this to?

Kentaurus 04-09-2008 01:58 AM

Really good hack. Thanks for sharing.

I only did a couple of changes, I post them here for your consideration (I TESTED THE 3.5 version it seems)

The preg_replace code, even if non-expensive, is executed each time a post is parsed, and doesn't use the already in place post cache, you can verify it by querying the postparsed table, the <img> code is left there unreplaced.

Instead, I REMOVED the postbit_complete plugin, and replaced it for a

bbcode_parse_complete plugin with the following content:
Code:

if(defined('NCODE_IMAGERESIZER_INIT'))
{
    $this->cached['text'] = $text = preg_replace('/<img src="([^"]*)" border="0" alt="" \/>/', '<img src="\\1" border="0" alt="" onload="NcodeImageResizer.createOn(this);" />', $text);
}

With that, the postbit is just parsed once, and subsequent views of the thread/postbit don't call the preg_replace at all. You can check the "postparsed" table and the new <img> info would be there. Since I run a medium-big forum, every bit of optimisation counts :)

And... I'm contributing a spanish translation :)

fsbmax 04-10-2008 03:34 AM

fixed my problem, human error on my behalf

fsbmax 04-10-2008 03:35 AM

fixed!^^^

Southernphuk 04-12-2008 02:51 AM

Works just fine on the latest RC version - no issues or problems.

Jase2 04-14-2008 04:35 PM

Confirmed. Works great on RC3. :)

nightbloom 04-16-2008 06:17 AM

I have this hack as well and it does not work for the albums. That would really bring this mod up to date with the new vB version.

Jase2 04-16-2008 12:14 PM

Because it was not made for the albums ;)

However, I may work on an updated release.

Jase2 04-16-2008 02:23 PM

Been in touch with Spleasure, and he has given me permission to release an updated version, then take future requests.

Jase2 04-16-2008 08:44 PM

nightbloom,

Why would you want this for the albums? You can set the max size for albums in ACP.

As Spleasure has given me permission of the code, I will release it for 3.7, then fix any bugs, and add any features.

fulviods 04-17-2008 01:09 PM

Finally a good script! Work well on 3.7 RC1

Jase2 04-18-2008 10:53 AM

Just going to release this for 3.7 -- has Spleasure has given me the rights to the code. I will then take future requests, and fix any bugs that may pop up. :)

Jase2 04-18-2008 09:18 PM

Released for 3.7 and supported: https://vborg.vbsupport.ru/showthread.php?p=1494099

adamadamadam 04-24-2008 06:25 AM

Hopefully third time's the charm: Can I choose which forums to install this to specifically rather than installing it to my entire message board?

Jase2 04-24-2008 07:36 AM

No, that is currently not an option. Sorry.

adamadamadam 05-06-2008 01:47 AM

Alright then - since you're doing updates, COULD you add this feature? Some forums have different styles that are full-screen and some on a fixed width and the ability to choose which forum to do the image resizing on would be really handy.

PHILIPS-08 05-23-2008 12:30 AM

thanx for the image resizer

thedudleys 06-06-2008 11:03 AM

Does this work for 3.6.8?

Sadie Frost 06-07-2008 12:31 AM

Yep it does :)

Marcus_Fenix 06-26-2008 06:56 AM

-edit- wrong forum :)

usmansabir 06-27-2008 09:20 PM

great release.. thankx...

Mu Basheer 09-25-2008 09:02 PM

Great

but there is one compatible with VB 3.7.3?

Best regards

Marco 09-29-2008 04:46 PM

Version 1.0.1 works fine on vBulletin 3.7.3. :)

sR->Shaun 11-11-2008 03:26 PM

Quote:

Originally Posted by Chris-777 (Post 1249755)
Great mod, but I'm getting W3 validation errors with the "onload" attribute.



Here's a thread with the problem if you want to toss into validator.w3.org:

http://www.sevenstring.org/forum/art...html#post32110

Quote:

Originally Posted by Spleasure (Post 1250052)
Known problem. It's on my todo list


Any progress on this?

Greni01 01-05-2009 01:06 PM

Great Addon !! I love it . :up:

Just a question, where can i change the sentence
"This image has been resized. Click this bar to view the full image. The original image is sized 1024x768."

I would like to translate it to german for my users.

Thx in advance :)

PachiUniverse 01-11-2009 11:52 PM

If this is my site "http://www.mysite.com" will this work on images from "http://www.yoursite.com/logo.jpg"?

That's how all my images are now and I'm wondering if there is a way for this to work on outside image sources.

Thanks.

JohorBahru 01-19-2009 01:28 PM

will it resize with correct ratio?

maybepost 02-11-2009 04:32 AM

Does this work with 3.8.1?

whitesoxfan5622 04-03-2009 01:22 AM

I have it running with 3.8.1
Only problem is the bar says
"This image has been resized. Click this bar to view the full image. The original image is sized %1%2."

It uses %1%2, if anyone know how to just remove that part, let me know!

voter 04-16-2009 08:52 PM

After I tried to unsintall this I am not more able to change any of my templates.

After pressing save the error comes

It comes Fatal error: Call to undefined method vb_activecache::flush() in ...includes/adminfunctions_template.php(2359) : eval()'d code on line 6

Any idea.

Dollarsign 04-16-2009 10:39 PM

when posting a large image, is it normal for the image to load at its original dimensions and then be resized into the resize box?

fly 04-17-2009 09:21 AM

Quote:

Originally Posted by Dollarsign (Post 1792883)
when posting a large image, is it normal for the image to load at its original dimensions and then be resized into the resize box?

Yes. Resizing is all done client side.

accludetuner 11-06-2009 09:20 PM

Works flawlessly in 3.8.4! Thank you!

joeycannoli 11-07-2009 02:34 PM

Silly question but does anyone know where in Vbulletin to find the options menu as shown i nthe 4th picture?

muratcan25 01-02-2010 05:43 AM

Thanks For It
Installed


All times are GMT. The time now is 07:16 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.02069 seconds
  • Memory Usage 1,788KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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