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)

Servaas 10-21-2006 03:08 PM

Is it possible to just specify one area of the forum? I'm looking for a mod that resizes signature images, but keeps images in posts intact.

cuphongle 10-21-2006 04:51 PM

great one, installed and is working perfectly on 3.62

Viper007Bond 10-22-2006 01:52 AM

Quote:

Originally Posted by Viper007Bond
This plugin breaks the XHTML validity of my forum. Any chance of fixing that? The problem is that "onload" is no longer allowed. Perhaps adding a unique CSS class to all images we want to affect and then running a JS function on page load that finds all images with that CSS class would work (tempted to just hack it myself). :)

Hmm, problem with that is that the images aren't resized until the whole forum has fully loaded rather than just the image. Dang. :(

erhanerhan_5 10-23-2006 11:58 PM

Quote:

Originally Posted by cerebro
To install/update in 3.6.2 go to pluing section....uninstall the pluing and re install. Works fine whit the new options.

i dont understand this message :S

please simple write again

im using 3.6.2 and dont working this hack:(

abramelin 10-26-2006 06:46 PM

is this mod works correctly on vb 3.6.2?

Phooey 10-29-2006 02:19 PM

Works great, this is exactly what I was looking for. Thanks!

tobybird 11-01-2006 08:04 PM

Perfect. This is exactly what I was looking for! Clicked Install.

Cocko 11-02-2006 04:22 PM

is there a german translation out ?

beano33 11-15-2006 08:05 PM

I'm using the How do I give paying members the option to disable ads? modification. Apparantly the User options in this hack uses $customfields too because only paying members can see the resize fields with "Allow All Options" selected. I'd like to change it so all members have the resizing options. Removing the disable ads feature isn't an option. It doesn't matter to me if it's coded directly into the modifyoptions template as it's not a setting I plan on changing. Any help is appreciated. Thanks!

dfe 11-16-2006 09:37 AM

How do I turn this on by default for all users?

Spleasure 11-17-2006 06:34 AM

Quote:

Originally Posted by beano33 (Post 1118148)
I'm using the How do I give paying members the option to disable ads? modification. Apparantly the User options in this hack uses $customfields too because only paying members can see the resize fields with "Allow All Options" selected. I'd like to change it so all members have the resizing options. Removing the disable ads feature isn't an option. It doesn't matter to me if it's coded directly into the modifyoptions template as it's not a setting I plan on changing. Any help is appreciated. Thanks!

I must say that the hack you reference to is doing some ugly things: you should find a more sophisticated way of showing/hiding the custom user field. Perhaps moving it to another options category is the easiest work around

Invalid ID 11-18-2006 11:34 PM

All the attachments are coming to me for moderation, which is a headache, is there a way that whenever someone posts a big photo, it's resized as 620 x 800 ?

Thanks

Invalid ID 11-20-2006 12:28 AM

I input my allowed size to be 640 x 800 and chose "Default dimensions as maximum" yet members are able to post 1000 x 600 size photos.

Why the resizer not checking?

Viper007Bond 11-20-2006 12:58 AM

Members are able to post images of any size. This just resizes them to smaller via Javascript when displayed.

Invalid ID 11-20-2006 01:13 AM

But it didn't do so. The photos were posted and showing as large as was posted.

mauro1947 11-20-2006 07:45 PM

Hi!
Somebody has probed with vB 3.6.3??
Thanks!

Rabbitoh Warren 11-22-2006 06:50 AM

Installed and appears to be working great – thanks for the mod. The only slight problem is that the text does not appear in Safari (it does in Camino). See attachment.

Dennis B 11-24-2006 12:00 AM

Is anybody having conflicts between this hack and lightbox...?
Thanks

KSE 11-25-2006 05:31 AM

installed on v3.6.4 working ok so far. Thanks!

http://www.socaljdm.com/forums/showt...php?p=285#p285

Maksa 11-25-2006 08:48 AM

will it work with VB 3.6.4 ?

ApexSpeed 11-25-2006 01:45 PM

Just installed on vB 3.6.4 and the oversized photos are still showing up, even after limiting them to 500 px wide through the Control Panel. Is there something else that needs to be done to this plug-in to make it function correctly?

I used a simple hack on the class_bbcode.php page previously, and now that there is an update from 3.6.0 to 3.6.4, that simple code hack no longer works. This seems to be the next best option, if it works on the updated vB version.


Anyone else having this problem?

AWJunkies 11-26-2006 09:06 PM

mine works fine on 3.6.3 havent updated to 3.6.4 yet but dont see an issue with it. Havent tested IE though just FF.

KSE 11-28-2006 04:16 PM

Quote:

Originally Posted by KSE (Post 1124647)
installed on v3.6.4 working ok so far. Thanks!

http://www.socaljdm.com/forums/showt...php?p=285#p285


^^^^^^^^^^^^^^^^^^^^^^

Mecho 12-03-2006 10:22 AM

i used this mod since i used vb 3.6.0 . but now in 3.6.4 i got a lot of Database error coz of this mod ... i got this error many many times per day :

Quote:

Database error in vBulletin 3.6.4:

Invalid SQL:
UPDATE user SET
### Bitfield: user.options ###
options = IF(options & 1, options, options + 1),
options = IF(options & 2, options, options + 2),
options = IF(options & 4, options, options + 4),
options = IF(options & 16, options, options + 16),
options = IF(options & 32, options - 32, options),
options = IF(options & 256, options, options + 256),
options = IF(options & 512, options - 512, options),
options = IF(options & 1024, options, options + 1024),
options = IF(options & 2048, options, options + 2048),
options = IF(options & 4096, options - 4096, options),
options = IF(options & 131072, options - 131072, options),
options = IF(options & 32768, options - 32768, options),
options = IF(options & 64, options, options + 64),
options = IF(options & 128, options - 128, options),
languageid = 1,
autosubscribe = 1,
threadedmode = 0,
timezoneoffset = '5.5',
showvbcode = 2,
pmpopup = 1,
maxposts = -1,
daysprune = 0,
startofweek = 1,
ncode_imageresizer_mode = 'enlarge',
ncode_imageresizer_maxwidth = NULL,
ncode_imageresizer_maxheight = NULL,
pageroption = 0,
pagerbuddyoption = 0,
pagersoundoption = 0
WHERE userid = 3021;

MySQL Error : Unknown column 'ncode_imageresizer_maxwidth' in 'field
list'
Error Number : 1054
Date : Sunday, December 3rd 2006 @ 01:16:21 PM
Script :
http://www.mechodownload.com/forum/p...=updateoptions
Referrer :
http://www.mechodownload.com/forum/p...do=editoptions
IP Address : XXXXXXXXXX
Username : XXXXXXXXXXx
Classname : vb_database
I Would appreciate if u help me to fix it . thanks

KURTZ 12-03-2006 12:09 PM

great hack!!!

just INSTALLED on 3.6.4

Capper5016 12-03-2006 04:41 PM

It works fine....but only resizes in the same window, won't open in a new window, which means if the images are too large, that it breaks the template.

Spleasure 12-05-2006 05:16 PM

Quote:

Originally Posted by Mecho (Post 1130651)
i used this mod since i used vb 3.6.0 . but now in 3.6.4 i got a lot of Database error coz of this mod ... i got this error many many times per day :



I Would appreciate if u help me to fix it . thanks

For some reason the fields have disappeared from the database. Please execute the following queries to re-add these fields:
Code:

ALTER TABLE `user` ADD `ncode_imageresizer_mode` ENUM("none", "enlarge", "samewindow", "newwindow") DEFAULT "enlarge" NOT NULL
ALTER TABLE `user` ADD `ncode_imageresizer_maxwidth` SMALLINT UNSIGNED DEFAULT NULL NULL , ADD `ncode_imageresizer_maxheight` SMALLINT UNSIGNED DEFAULT NULL NULL


Spleasure 12-05-2006 05:17 PM

Quote:

Originally Posted by Capper5016 (Post 1130962)
It works fine....but only resizes in the same window, won't open in a new window, which means if the images are too large, that it breaks the template.

Do you have an example board? And preferably a test account (normal user)? If you have, please PM on this forum

Mecho 12-05-2006 09:34 PM

Thanks for reply . where shall i add those code that u said ?!

i tried to add them in Admincp>Maintenance>execute SQL queries

but this message shows up :

Quote:

You are not authorized to execute SQL queries
Would u plz help me :) Thanks

da420 12-05-2006 09:55 PM

Quote:

Originally Posted by Mecho (Post 1132788)
Thanks for reply . where shall i add those code that u said ?!

i tried to add them in Admincp>Maintenance>execute SQL queries

but this message shows up :



Would u plz help me :) Thanks

This permission is set in your config.php file in your includes directory.

Set your user ID to run SQL queries in the appropriate field and you should be able to run MySQL queries.

Mecho 12-05-2006 10:24 PM

Quote:

Originally Posted by da420 (Post 1132818)
This permission is set in your config.php file in your includes directory.

Set your user ID to run SQL queries in the appropriate field and you should be able to run MySQL queries.

Thanks for info :)

Mecho 12-05-2006 10:27 PM

Quote:

Originally Posted by Spleasure (Post 1132569)
For some reason the fields have disappeared from the database. Please execute the following queries to re-add these fields:
Code:

ALTER TABLE `user` ADD `ncode_imageresizer_mode` ENUM("none", "enlarge", "samewindow", "newwindow") DEFAULT "enlarge" NOT NULL
ALTER TABLE `user` ADD `ncode_imageresizer_maxwidth` SMALLINT UNSIGNED DEFAULT NULL NULL , ADD `ncode_imageresizer_maxheight` SMALLINT UNSIGNED DEFAULT NULL NULL


i think i should add them one by one , isn't it ?

if i'm right i got this error for first one :
Quote:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1060
error desc: Duplicate column name 'ncode_imageresizer_mode'
and this message for second one :
Quote:

Affected Rows: 3,239 (0.3227s)

CADguru 12-13-2006 10:31 AM

Installed like a dream on 3.6.4 and looking good :)

TrIn@dOr 12-13-2006 11:59 AM

Nice thanks.

AMG021 12-13-2006 08:34 PM

any way to make this work with vBadvanced?

derbe 12-15-2006 10:24 AM

SQL Error on vb 3.6.4

Quote:

Database error in vBulletin 3.6.4:

Invalid SQL:
UPDATE user SET
### Bitfield: user.options ###
options = IF(options & 1, options, options + 1),
options = IF(options & 2, options, options + 2),
options = IF(options & 4, options, options + 4),
options = IF(options & 16, options, options + 16),
options = IF(options & 32, options - 32, options),
options = IF(options & 256, options - 256, options),
options = IF(options & 512, options, options + 512),
options = IF(options & 2048, options, options + 2048),
options = IF(options & 4096, options, options + 4096),
options = IF(options & 131072, options - 131072, options),
options = IF(options & 32768, options - 32768, options),
options = IF(options & 64, options - 64, options),
options = IF(options & 128, options - 128, options),
languageid = 2,
autosubscribe = 1,
threadedmode = 0,
timezoneoffset = '1',
showvbcode = 1,
pmpopup = 1,
maxposts = 40,
daysprune = -1,
startofweek = 2,
ncode_imageresizer_mode = 'enlarge',
ncode_imageresizer_maxwidth = NULL,
ncode_imageresizer_maxheight = NULL
WHERE userid = 800;

MySQL Error : Unknown column 'ncode_imageresizer_maxwidth' in 'field list'
Error Number : 1054
What can I do?

Greetz Derbe

elricstorm 12-19-2006 02:00 PM

I installed this and clicked installed, and set the options to "none" for the users so they can't change the default size limits. I placed the max width to 480 and height to 0.

When I post a new post, it does not resize at all.

When I edit the same post and hit save, it resizes and I see the little bar that says click for full image.

However, when I refresh or visit the same post again, it goes back to the original size????

I'm using IE 7.0. Is there something wrong here?

Edit: Using vb 3.6.0 and using vbadvanced but I'm not concerned about the vbadvanced or it working on home pages, etc. I just want it to work within the forums.

tschai 12-19-2006 02:35 PM

Definitily one of the most usefull add-ons...for me
Works flawless also...Mooi werk!

*installs*

ashley53680 12-20-2006 12:05 AM

I installed it and am not getting errors... but it's not working either. lol 3.6.4

Snake 12-21-2006 08:00 PM

Thanks for this hack but how do I change the font in that bar to "smallfont"? Any idea?


All times are GMT. The time now is 03:56 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.01527 seconds
  • Memory Usage 1,832KB
  • 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
  • (2)bbcode_code_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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