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)

da420 02-02-2007 09:22 PM

Yeah, like I said, it's just my opinion. :cool:

Spleasure 02-02-2007 11:14 PM

I will release a new version with serious javascript and plugin improvements soon.

mac27 02-03-2007 01:09 AM

So do you know why my [IMG] tags stopped working after I removed this hack?

Spleasure 02-03-2007 07:24 AM

Quote:

Originally Posted by BobbyBig (Post 1170190)
When enlarging the Picture with mode "Enlarge in same window", and clicking again to make it smaller, the Forum doesnt get back to the small width, it stays at it was when the picture was enlarged.

Any solution for that ?

In Mozilla/FireFox right? I know the issue, I don't know of a solution :( I think it's something which should be fixed at the browser level

Quote:

Originally Posted by mac27 (Post 1173262)
I removed this hack and now my [IMG] tags are not working. Any ideas of why this would happen?

I have no clue. Do you have a link to you forum?

lard007 02-04-2007 09:03 AM

I've added/removed this product twice and unfortunately it just doesn't seem to work

I'm not getting any errors and the otions are in VB - I can even see the resizer scripts corretly when I view the page source but nothing seems to happen

I've seen in this thread that others are reporting exactly this problem - on version 3.6.4

Did anyone get this working?

Thanks,

Lard

Spleasure 02-04-2007 09:06 AM

Quote:

Originally Posted by lard007 (Post 1174253)
I've added/removed this product twice and unfortunately it just doesn't seem to work

I'm not getting any errors and the otions are in VB - I can even see the resizer scripts corretly when I view the page source but nothing seems to happen

I've seen in this thread that others are reporting exactly this problem - on version 3.6.4

Did anyone get this working?

Thanks,

Lard

You seem to have read posts in this thread ("I've seen in this thread that others are reporting exactly this problem"). Then you should have seen that there are people for whom it does work. Additionally, you would have seen that whenever someone has a problem, I request for a link to the forum where the problem occurs.

lard007 02-04-2007 09:23 AM

Quote:

Originally Posted by Spleasure (Post 1174255)
You seem to have read posts in this thread ("I've seen in this thread that others are reporting exactly this problem"). Then you should have seen that there are people for whom it does work. Additionally, you would have seen that whenever someone has a problem, I request for a link to the forum where the problem occurs.

Hello,

Firstly, thanks for the response!

Yes, I note that there are plenty of people that are using this with any problems at all and it looks great

A link to my forum is as here:

http://www.battlefieldbrothers.com/f...7550#post17550

Any queries then let me know,

Many thanks,

Lard

Spleasure 02-04-2007 09:37 AM

Quote:

Originally Posted by lard007 (Post 1174263)
Hello,

Firstly, thanks for the response!

Yes, I note that there are plenty of people that are using this with any problems at all and it looks great

A link to my forum is as here:

http://www.battlefieldbrothers.com/f...7550#post17550

Any queries then let me know,

Many thanks,

Lard

In the source I see that your forum contains a product which manipulates the img tag in some weird way. It adds the ID "vBCodeIMG" to each image. This not only prevents the image resizer from working, but is also wrong HTML-wise: an ID should be unique.
Please check your modifications and disable the offending modification. If you could post which product caused the problem I'll be very grateful, as I can put in on my "incompatibility list".

lard007 02-04-2007 09:58 AM

Quote:

Originally Posted by Spleasure (Post 1174271)
In the source I see that your forum contains a product which manipulates the img tag in some weird way. It adds the ID "vBCodeIMG" to each image. This not only prevents the image resizer from working, but is also wrong HTML-wise: an ID should be unique.
Please check your modifications and disable the offending modification. If you could post which product caused the problem I'll be very grateful, as I can put in on my "incompatibility list".

Hi,

I was using a different resizer and it appears that I didn't remove the previous one correctly before migrating to this one - the previous hack was here:

https://vborg.vbsupport.ru/showthrea...ight=vBCodeIMG

The code that I failed to remove was located in the includes/class_bbcode.php

return '<img src="' . $link . '" border="0" alt="" id="vBCodeIMG" />';

All now working perfectly - many thanks for looking into this - very much appreciated!

Clicked install

Spleasure 02-04-2007 06:23 PM

I've released one more RC because of the amount of changes. I want to have 1.0 stable, so one more (hopefully) RC is needed to get it right.

The changelog is:
1.0 release candidate 3 (February 4th 2007)
- added warning on installation when javascript is not present.
- removed redundant plugins
- small bugfixes
- signature resizing is optional. turn resizing of hotlinked images on or off in the control panel
- improvements in javascript code
- changed hook method so all bbcode class users get resize functionality automatically

Thanks for your support and have fun with the new version

Viper007Bond 02-04-2007 09:17 PM

Updated!

haris_led 02-04-2007 09:23 PM

well i'm getting a database error when i try to do something in usercp/change settings

Code:

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 - 512, options),
                options = IF(options & 2048, options, options + 2048),
                options = IF(options & 4096, options - 4096, options),
                options = IF(options & 131072, options - 131072, options),
                options = IF(options & 64, options, options + 64),
                options = IF(options & 128, options - 128, options),
        languageid = 0,
        autosubscribe = 1,
        threadedmode = 2,
        timezoneoffset = '2',
        showvbcode = 1,
        pmpopup = 1,
        maxposts = -1,
        daysprune = 0,
        startofweek = 1,
        ncode_imageresizer_mode = 'enlarge',
        ncode_imageresizer_maxwidth = 700,
        ncode_imageresizer_maxheight = 0
WHERE userid = 1;

MySQL Error  : Unknown column 'ncode_imageresizer_maxwidth' in 'field list'
Error Number : 1054
Date        : Sunday, February 4th 2007 @ 06:19:14 PM
Script      : xxxx/forum/profile.php?do=updateoptions
Referrer    : xxxx/forum/profile.php?do=editoptions
IP Address  : xxxx
Username    : xxxx
Classname    : vb_database

if i disable the hack, everything is ok:rolleyes:

Spleasure 02-04-2007 09:27 PM

Quote:

Originally Posted by haris_led (Post 1174781)
well i'm getting a database error when i try to do something in usercp/change settings

if i disable the hack, everything is ok:rolleyes:

For some reason the installation failed. Please try to reinstall.

haris_led 02-04-2007 09:55 PM

database error if i try to uninstall, database error after i overwrite it again and go to edit the options!
wtf?

BobbyBig 02-04-2007 10:11 PM

This Update adds white pixels to my pictures...
Edit: Fixed.

transitbus 02-04-2007 10:37 PM

Update warns that column ncode_imageresizer_mode already exists. Can you add a conditional statement for those of us upgrading so we don't have to remove the add statement from the xml when trying to upgrade?

mescalin 02-04-2007 11:56 PM

I installed today, first i uploaded js.txt and renamed to only.js then i installed the plugin.. But i get the fallowing error..

Fatal error: Call to undefined function: ncode_imageresizer_replace() in /big/home/madeintu/public_html/forum/includes/class_bbcode.php(415) : eval()'d code on line 2

Spleasure 02-05-2007 07:18 AM

Quote:

Originally Posted by haris_led (Post 1174795)
database error if i try to uninstall, database error after i overwrite it again and go to edit the options!
wtf?

Does your vBulletin database user have the permissions to alter the vBulletin table?

Please execute the queries:
Code:

ALTER TABLE `user` ADD `ncode_imageresizer_mode` ENUM("none", "enlarge", "samewindow", "newwindow") DEFAULT "enlarge" NOT NULL
Code:

ALTER TABLE `user` ADD `ncode_imageresizer_maxwidth` SMALLINT UNSIGNED DEFAULT NULL NULL
Code:

ALTER TABLE `user` ADD `ncode_imageresizer_maxheight` SMALLINT UNSIGNED DEFAULT NULL NULL

Quote:

Originally Posted by mescalin (Post 1174831)
I installed today, first i uploaded js.txt and renamed to only.js then i installed the plugin.. But i get the fallowing error..

Fatal error: Call to undefined function: ncode_imageresizer_replace() in /big/home/madeintu/public_html/forum/includes/class_bbcode.php(415) : eval()'d code on line 2

At which location do you get that error? When viewing a thread?

Mupetz 02-05-2007 08:57 AM

I have the same error here.
Code:

Fatal error: Call to undefined function: ncode_imageresizer_replace() in /home/content/e/a/s/eastsideunited/html/includes/class_bbcode.php(415) : eval()'d code on line 9
When viewing index.php
Uninstall until fix. I have no choice.

Thanks

TrIn@dOr 02-05-2007 09:02 AM

We have 1.0 RC 2

Can u explain the upgrade procedure to RC 3?

Thanks in advance.

Spleasure 02-05-2007 09:20 AM

Quote:

Originally Posted by Mupetz (Post 1175068)
I have the same error here.
Code:

Fatal error: Call to undefined function: ncode_imageresizer_replace() in /home/content/e/a/s/eastsideunited/html/includes/class_bbcode.php(415) : eval()'d code on line 9
When viewing index.php
Uninstall until fix. I have no choice.

Thanks

Please contact me by IM.
What other plugins do you have installed?
Did you activate the demo mode?
Quote:

Originally Posted by TrIn@dOr (Post 1175069)
We have 1.0 RC 2

Can u explain the upgrade procedure to RC 3?

Thanks in advance.

1. Upload the new js file
2. Import the XML file

Quote:

Originally Posted by mescalin (Post 1174831)
I installed today, first i uploaded js.txt and renamed to only.js then i installed the plugin.. But i get the fallowing error..

Fatal error: Call to undefined function: ncode_imageresizer_replace() in /big/home/madeintu/public_html/forum/includes/class_bbcode.php(415) : eval()'d code on line 2

Please contact me by IM

Bulent Tekcan 02-05-2007 09:39 AM

Good product.....

This is wonderful if you seperately resize signature.

Thanks

Gizmo999 02-05-2007 09:56 AM

Getting database error on upgrade, it doesn't look like its installed :(


Database error in vBulletin 3.6.4:

Invalid SQL:
ALTER TABLE `user` ADD `ncode_imageresizer_mode` ENUM("none", "enlarge", "samewindow", "newwindow") DEFAULT "enlarge" NOT NULL;

MySQL Error : Duplicate column name 'ncode_imageresizer_mode'
Error Number : 1060
Date : Monday, February 5th 2007 @ 11:54:09 AM
Script : http://www./admincp/plugin.php?do=productimport
Referrer : http://www./admincp/plugin.php?do=productadd
IP Address :
Username :
Classname : vb_database

Spleasure 02-05-2007 10:32 AM

Quote:

Originally Posted by Gizmo999 (Post 1175097)
Getting database error on upgrade, it doesn't look like its installed :(


Database error in vBulletin 3.6.4:

Invalid SQL:
ALTER TABLE `user` ADD `ncode_imageresizer_mode` ENUM("none", "enlarge", "samewindow", "newwindow") DEFAULT "enlarge" NOT NULL;

MySQL Error : Duplicate column name 'ncode_imageresizer_mode'
Error Number : 1060
Date : Monday, February 5th 2007 @ 11:54:09 AM
Script : http://www./admincp/plugin.php?do=productimport
Referrer : http://www./admincp/plugin.php?do=productadd
IP Address :
Username :
Classname : vb_database

What was the version you had installed before?

Gizmo999 02-05-2007 11:20 AM

Quote:

Originally Posted by Spleasure (Post 1175107)
What was the version you had installed before?

1.0 RC2

Mecho 02-05-2007 01:01 PM

thanks for update :)

Tralala 02-05-2007 05:17 PM

Quote:

Originally Posted by Spleasure (Post 1149095)
Do you have a test link?



It's difficult for me to debug on safari as I don't have a macintosh computer. Does it report any javascript errors?



Add a CSS class "table.ncode_imageresizer_warning td" and add your styling info to this class.

Has anyone tested this tweak to see if it fixes alert text display for Safari users?

https://vborg.vbsupport.ru/external/2007/02/26.jpg

Just curious to know before diving in. I'd love to use this hack but have a lot of Safari users and would like to know what I'm getting into before installation. That said, I'd be happy to offer any assistance with regards to troubleshooting. If anyone's made the tweak and would like me to log in with Safari to check things out, please post the URL here.

jw00dy 02-05-2007 05:18 PM

works fine here. thanks

Spleasure 02-05-2007 06:42 PM

I have made a new installer. I everyone who has problems installing / uninstalling / upgrading could contact me by IM (MSN/ICQ/see my contact page) or PM/email I can send a test version to see if it really solves the problems.

Tralala 02-05-2007 09:37 PM

In case it hasn't already been said... Spleasure is a rock star. This is one excellent add-on. Working great for me. Thanks so much for sharing it, Spleasure!

Spleasure 02-05-2007 10:31 PM

Quote:

Originally Posted by Tralala (Post 1175536)
In case it hasn't already been said... Spleasure is a rock star. This is one excellent add-on. Working great for me. Thanks so much for sharing it, Spleasure!

He says this because I fixed the safari bug. It will be in the next release.

Bulent Tekcan 02-06-2007 03:25 PM

Hello Spleasure

Is it possible to 2 section ? 1st is the forumdisplay image adjustment,2nd one is the signature image adjustment.

Thanks

Spleasure 02-06-2007 04:05 PM

Quote:

Originally Posted by Bulent Tekcan (Post 1176038)
Hello Spleasure

Is it possible to 2 section ? 1st is the forumdisplay image adjustment,2nd one is the signature image adjustment.

Thanks

What do you mean? Separate maximum dimensions for post images and signature images?

Bulent Tekcan 02-06-2007 06:01 PM

Quote:

Originally Posted by Spleasure (Post 1176074)
What do you mean? Separate maximum dimensions for post images and signature images?

Yes.....I think best product for all forum admin.

Thanks

KipLarson 02-06-2007 08:46 PM

Does this work with 3.61 and 3.64?

Shazz 02-06-2007 08:54 PM

Quote:

Originally Posted by KipLarson (Post 1176336)
Does this work with 3.61 and 3.64?

yes.

JohnBee 02-06-2007 09:27 PM

I have two request :)

1) Is it possible to have the image enlarge when clicked on(instead of the bar)
2) What are the chances of getting lightbox effect when enlarged

Those features would be awesome, especially the lightbox

Spleasure 02-07-2007 02:32 PM

Quote:

Originally Posted by JohnBee (Post 1176359)
I have two request :)

1) Is it possible to have the image enlarge when clicked on(instead of the bar)
2) What are the chances of getting lightbox effect when enlarged

Those features would be awesome, especially the lightbox

I have specifically made an information bar so [url ]https://vborg.vbsupport.ru/[/url] scenario's would still allow the image to have a link.
The lightbox effect is something I consider for a future version.

JohnBee 02-07-2007 06:28 PM

Quote:

Originally Posted by Spleasure (Post 1176800)
I have specifically made an information bar so [url ]https://vborg.vbsupport.ru/[/url] scenario's would still allow the image to have a link.
The lightbox effect is something I consider for a future version.

Ah well the link makes lots of sense, I dreaded some other version which did just that(really anoying)

Totally looking forward to the lighbox on this, your mod would become the cream of the crop with such features.

Great work!

taydu 02-09-2007 09:45 PM

try to update to RC3 and got this error message

Fatal error: Call to undefined function: ncode_imageresizer_replace() in ......../public_html/forums/includes/class_bbcode.php(415) : eval()'d code on line 2

I got this error when tried to access the forum and login in admincp


All times are GMT. The time now is 09:08 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.02025 seconds
  • Memory Usage 1,854KB
  • 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
  • (6)bbcode_code_printable
  • (21)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