vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=237650

osayidan 09 Apr 2010 17:34

So in the end this is actually the best and simplest image resizer. I've now tried all of them, and played around with the code on each, and this one is the winner.

I managed to create a very crude fix for enabling CMS resizing on this one. Problem with it is that the warning bar on top becomes over-sized, probably some CSS issue. Here is an example:
https://www.vbulletin.org/forum/external/2010/04/65.png

If you do not mind this, do not want to wait for a new hack or update to this one, and understand that you are doing this at your own risk, then here is how I did this:

Open: product-sevenskins_imageresizer-v1.0.0.xml

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Bellow this, and above "</plugins>, add:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save as a NEW file, this way you have the original to go back to if needed.
Uninstal/delete the old hack, you do not need to delete the contents of "upload" folder.
Import the edited one, you do not need to reupload the "upload" folder.

Check if it works for you.

If not, to revert to the old version, uninstal/delete this one. Import the original.


This is likely a very crude method of accomplishing this, and I'm only sharing this for those desperate for a good resizer that works on CMS. For me this is a temporary fix until the author of this hack releases something better.

Note: this was done on 4.0.2, I have no idea how it will behave on any other variation, or if any other mods will interfere.

murekhalir 09 Apr 2010 18:12

Does this work on the CMS?

osayidan 09 Apr 2010 18:32

Quote:

Originally Posted by murekhalir (Post 2018458)
Does this work on the CMS?

Not by default but see my post right above yours and see if that helps you.

Morsolo 12 Apr 2010 04:00

I have always been a fan of the nCode resizer, primarily because of the bar above the image, which allows users to wrap [URL] around the image. Most - if not, all - resizers make the image clickable to enlarge, so wrapping [URL] has no effect; and a lot of my members do that.

I'd like to see multiple inputs on the AdminCP with multiple locations of images. (For example, being able to set a different max width for CMS, Blog, Posts, PM's, etc.)... Also, I've noticed that it doesn't resize [SIGPIC], which is a minor annoyance.

Also, any know how to set a different width if an image is quoted? My forum is fixed at 900px wide, so my images are resized down to 500px, but then if quoted, they stick out, so I make them set at about 460px... I'd like to be able to utilize max available area.

Even better, is it at all possible to just make max width "100%", so that it'll just resize down to the available area?

...But I'm just nitpicking here, brilliant mod :)

Alucard^ 14 Apr 2010 06:54

Best image resizer!

But i have a suggestion (that i need) so if you can add it, would be really cool.

I want to use the plugin for signatures too, but with another width and height max.

Sry for my english.

Installed, ofcourse.

sticky 14 Apr 2010 08:14

Anyone? Does it resize attachments and links?

Does it work with the CMS?

Morsolo 14 Apr 2010 11:59

Quote:

Originally Posted by sticky (Post 2020948)
Anyone? Does it resize attachments and links?

Does it work with the CMS?

Osayidan added to the code to allow it to function with the CMS, seen only a few posts above...
http://www.vbulletin.org/forum/showp...8&postcount=46

vBulletin resizes attachments itself and ... how can you resize a link?

mofeu 17 Apr 2010 16:15

how is this image resizer work?

djbaxter 17 Apr 2010 16:27

Quote:

Originally Posted by mofeu (Post 2022696)
how is this image resizer work?

It works well. :)

sticky 21 Apr 2010 09:04

Quote:

Originally Posted by Morsolo (Post 2021067)
Osayidan added to the code to allow it to function with the CMS, seen only a few posts above...
http://www.vbulletin.org/forum/showp...8&postcount=46

vBulletin resizes attachments itself and ... how can you resize a link?

I meant resizing linked images.

Big_Jason 23 Apr 2010 20:35

Quote:

Originally Posted by Alucard^ (Post 2020922)
Best image resizer!

But i have a suggestion (that i need) so if you can add it, would be really cool.

I want to use the plugin for signatures too, but with another width and height max.

Sry for my english.

Installed, ofcourse.

x2 on that request. You'd solve my #1 headache if this could independently resize signatures to a different size than posts in images and blogs.

Any thoughts on making that a reality? Pretty please?

Oh and installed :)

MikeWarner 24 Apr 2010 08:49

I love this hack - other resizers make something that should be simple into something complicated. This hack keeps it nice and simple!

Quick question though - on trying to improve my YSlow score, it is saying that the ncode js file reference should be moved to the footer. How can I do this?

Sworm 26 Apr 2010 10:00

anybody has tried to use it on 4.0.3?

djbaxter 26 Apr 2010 10:16

Quote:

Originally Posted by Sworm (Post 2027481)
anybody has tried to use it on 4.0.3?

Yep. Working fine for me on 4.03.

Alex@Mk3OC 26 Apr 2010 15:30

Working fine on 4.0.3 here as well


All times are GMT. The time now is 08:28.

Powered by vBulletin® Version 3.8.14
Copyright © 2023, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.