vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Auto Resize Your Images 3.52 compliant (https://vborg.vbsupport.ru/showthread.php?t=103915)

ggiersdorf 01-31-2006 02:43 PM

The problem I am running into now is basically Signatures are used with the IMG tag this mod changes anything that has the IMG tag.

We need to re-write the $signature to use an alternate img tag like [SIG] [SIG] or somehow have the field for signatures remove the script above and use the default one from Vb. Basically trick it in signatures to use original vb code.

PHP Code:

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

anyone want to help with this let me know I have some updated code than the above that works better but Im holding off posting it till were done here..

S@NL - BlackBik 01-31-2006 06:42 PM

Quote:

Originally Posted by vissa
S@NL - BlackBik,

I had some errors on my forum with the resizing (at least I believe that's what caused it). I had a previous version of VBGallery installed. I then upgraded to VBPicGallery. So the old vbgallery pictures are now broken if posted within the forum (they are broken regardless of your mod)

Using the mod you provided, I get the following error at the very top of the forum page for certain threads.


-vissa

Hi Vissa,

Sorry, but I can't help you there. The error is caused by vbgarage.php and I don't use that hack. I don't have a clue why you get this error.

Yes you are right when you say my version of this hack is on the serverside. It causes extra serverload and when you have many images in a thread (including sig images) it will definitly slow your page.
There is a java hack on the cli?nt side. I'm using it now, since my users complained about long loading times. You can find it here: https://vborg.vbsupport.ru/showthrea...ghlight=resize.
It's not as sophisticated, it doesn't show when an image is unavailable or the imageserver is down, but it's much quicker ;)

ggiersdorf's hack is also on the serverside, but it's much quicker as my version as it execute less code and doesnt get the imagesize before resizing the image.

3dsoft 01-31-2006 07:57 PM

The image resizes correctly but the layout is still broken in Opera 8.51

What are the template changes?

lazytown 02-01-2006 11:16 AM

Thanks for your help -- I will look at the javascript version.

-vissa

Zia 02-02-2006 06:53 PM

ggiersdorf

Quote:

Where the signature variable is. Which I think it's $post[signature]
https://vborg.vbsupport.ru/showthread.php?t=92625
this variable was posted in that link...

dont know, mite it give some support

The_Rayman 02-10-2006 02:05 PM

Hey S@NL - BlackBiker,

Thanks for the advanced hack!
Got it installed and works fine here in Mozilla and IE... don't use Opera... ;)

kompakt 02-23-2006 11:35 PM

works perfectly for me, thanks :)

Zia 03-02-2006 04:59 PM

ggiersdorf ..helo..
umm when update will be release?

kildjean 03-03-2006 08:35 PM

I modified the info with the text you suggested and I got this error now:

Parse error: parse error, unexpected T_IF, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/zonaxbox/public_html/foros/includes/class_bbcode.php on line 1978

rhino56 03-05-2006 03:23 PM

i used it and it worked fine, version 3.53

www.cryo-labs.com


All times are GMT. The time now is 02:25 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.01163 seconds
  • Memory Usage 1,740KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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