vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Wide image automatic resize for html and vB tags in posts - fixes template problems (https://vborg.vbsupport.ru/showthread.php?t=67743)

NietzscheKid 07-30-2004 12:40 PM

Quote:

Originally Posted by Natch
There might be a solution in the code in the Links Database hack ...

Damn. This is awesome. I am going to test it out. Thanks so much for this hack. :D

???`S?LV?R???` 07-30-2004 02:00 PM

sounds great, im definitly gonna use this

Steve St.Lauren 07-30-2004 06:02 PM

I just uploaded a new version that fixes the server down problem. It now checks to see if the server is up first. If it cannot connect to the server after 5 seconds it returns "Image server is down" so the users know why it took longer to generate the page. This was the best solution I could come up with for this. I also added a release # in the title and end of the hack lines of code to keep track of where it's at. Right now this is R0.9 - the original had no release number. Please update to the latest version.

Let me know how it's working for you too, please.

cinq 07-31-2004 12:33 AM

Using R0.9 on a vb3.0.1 board with no problems ( did a couple of comestic changes, the font size, opening the oversized image in a new window, and the table for displaying image link broken or server down )

Good job Steve ! :D

alkatraz 07-31-2004 02:15 AM

awesome hack!

???`S?LV?R???` 07-31-2004 08:36 AM

anyone have a live demo setup? :)

TheComputerGuy 07-31-2004 11:51 AM

<a href="http://www.runaked.com/forums/showpost.php?p=83416&postcount=76" target="_blank">Link for Live Demo</a>

You can use the demo I just posted!

I appreciate this a lot!

cinq 08-01-2004 02:19 PM

Odd, but it seems to work on some images but not on others.
For eg, i set the width max at 480

An image that is 500x300 is resized but not a 800x600 linked image.

Any clues as to why this might occur ?

Steve St.Lauren 08-01-2004 03:18 PM

Do you have a link for that 800x600 image so I can look at it? It would have to be a problem with the getimagesize command in php and that specific file. Perhaps it was done in a program that has something non-standard in the way the files are written? If you can get me the link to the file I'll take a look at it and see what I can figure out. So far it's working on all the images users have posted on our site.

SmartGnome 08-02-2004 12:34 PM

Install was a piece of cake........ thanks for the hack and install is clicked.


All times are GMT. The time now is 02:30 AM.

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.01165 seconds
  • Memory Usage 1,729KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)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