Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > vBgarage

Reply
 
Thread Tools
vBGarage popup - doesn't resize in IE Details »»
vBGarage popup - doesn't resize in IE
Version: , by lazytown lazytown is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 02-02-2005 Last Update: Never Installs: 0
 
No support by the author.

I've had some users complaining that the vBGarage full size pop-ups don't automatically resize in Internet Explorer like they do with other photos in VB. IE6 has the auto-resize feature that scales images to fit a users brower. For some reason they don't scale with vBGarage.

-V

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-02-2005, 09:28 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Without a screen shot or link we can't make an assessment. Try posting one or the other.

No one else has reported this, we need as much info as possible.
Reply With Quote
  #3  
Old 02-02-2005, 11:35 PM
lazytown lazytown is offline
 
Join Date: Feb 2004
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you are running IE6, you will know what I am talking about. It affects all users of IE6 and vBGarage. Try it on your motorcycle forums if you have IE installed. You'll see that normal enlarged VB photos resize when you change your browser's window size (interactively) and VBG popups don't.

By the way, some people disable auto-resizing in IE so they won't notice it.

-V
Reply With Quote
  #4  
Old 02-02-2005, 11:53 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vissa

1) If you are running IE6, you will know what I am talking about.

2) It affects all users of IE6 and vBGarage.

3) Try it on your motorcycle forums if you have IE installed.

4) You'll see that normal enlarged VB photos resize when you change your browser's window size (interactively) and VBG popups don't.

5) By the way, some people disable auto-resizing in IE so they won't notice it.

-V
1) We are. On windows XP and Win98 and I get the desired result from the popups.

2) We can't confirm that.

3) We did and I get the desired result.

4) I can't seem to duplicate that action? Maybe it's a setting? Got a link to a demo?

5) Thanks for pointing that out, it will help elsewhere.

All the templates in 4.0.0 are as is from version 3.1.1 that magnus released. All the functionalities are as they were.

All of the templates have been updated in the upcoming release, however I'm not sure what functionality you expect, still, or if it will be in there.
Reply With Quote
  #5  
Old 02-03-2005, 12:22 AM
lazytown lazytown is offline
 
Join Date: Feb 2004
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok try going to http://ProDogGroomingSupplies.com/forums

In your version of IE, when you see a very large photo and change the window size so that it no longer fits, it should scale the image down in real-time (kind of neat). But the popups from vBGarage are not doing that for me or some of my users. They also don't have scroll bars and sometimes go off-screen if they are large enough. I've never installed a previous version of vBG, so I can't say its a new problem.



Example:

If you click these thumbs from within this post and scale your window down small enough, the photo will shrink.
http://www.prodoggroomingsupplies.co...ead.php?t=4136

However, if you click the thumbs from this vBGarage, they will not shrink and do not even have scroll bars.
http://www.prodoggroomingsupplies.co...o=view&id=1434

-V
Reply With Quote
  #6  
Old 02-03-2005, 01:46 AM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's what's happening. vB is firing off the data. We are requesting it in an html page when a popup is requested.

You can mimic this behaviour by changing the your vbgarage_imagebits template to this... vBGarage is not sending as many headers as vB though, so your milage may vary.

HTML Code:
<a style="cursor:pointer; cursor-hand" href="$vboptions[bburl]/vbgarage.php?do=getimage&amp;id=$image[vbgarageid]" onclick="PopupPic(this.href); return false;" target="_blank"><img src="$vboptions[bburl]/vbgarage.php?do=thumb&amp;width=100&amp;id=$image[vbgarageid]" alt="$image[name]" border="0" /></a>
Here's a link to you. http://www.prodoggroomingsupplies.co...getimage&id=52
Reply With Quote
  #7  
Old 02-03-2005, 08:57 AM
lazytown lazytown is offline
 
Join Date: Feb 2004
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by noppid
Here's what's happening. vB is firing off the data. We are requesting it in an html page when a popup is requested.

You can mimic this behaviour by changing the your vbgarage_imagebits template to this... vBGarage is not sending as many headers as vB though, so your milage may vary.

HTML Code:
<a style="cursor:pointer; cursor-hand" href="$vboptions[bburl]/vbgarage.php?do=getimage&amp;id=$image[vbgarageid]" onclick="PopupPic(this.href); return false;" target="_blank"><img src="$vboptions[bburl]/vbgarage.php?do=thumb&amp;width=100&amp;id=$image[vbgarageid]" alt="$image[name]" border="0" />
Here's a link to you. http://www.prodoggroomingsupplies.co...getimage&id=52
Now popups are opening at only 200 pixels wide! By the way, I think you left off the closing </a>


Also -- within the "vbgarage_popup" template, we should first check the user's maximum screen width/height and then only resize the popup window up to that size.. Otherwise we are opening a window larger than a user may be able to handle.

-V
Reply With Quote
  #8  
Old 02-03-2005, 02:26 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not a java programmer, so don't expect these details to be dealt with. It is what it is.

Thanks
Reply With Quote
  #9  
Old 02-03-2005, 11:00 PM
lazytown lazytown is offline
 
Join Date: Feb 2004
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well its great, so don't get me wrong! My users are very happy overall. Some of the tweaks I've mentioned are pretty easy to implement, so if I do them would you want me to give you the code?
-V
Reply With Quote
  #10  
Old 02-03-2005, 11:06 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vissa
Well its great, so don't get me wrong! My users are very happy overall. Some of the tweaks I've mentioned are pretty easy to implement, so if I do them would you want me to give you the code?
-V
If you are slick with all that in Javascript, sure. I could work it out, but honestly, my hands are full now with the bite I took of this.

This should remain a 2 step process though. In the calling window work out the resolution of the users screen and size of the new window accordingly, then in the recieving window do the focus. Although we do have one problem, nothing is supplying an image size to work with in the calling window.

I'll try and think of the most efficient way to get that for you, unless you have an idea?

Thanks.

EDIT. Shows ya how much I know. I guess ya can do all the resizing and focusing on the recieving window and just pop off the new window with the attributes we need from the calling window, size not mattering to caller.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:38 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.04364 seconds
  • Memory Usage 2,295KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete