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)

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.


All times are GMT. The time now is 01:12 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.01354 seconds
  • Memory Usage 1,746KB
  • 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
  • (6)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