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)
-   -   Proportionally Auto Resize User Avatar (https://vborg.vbsupport.ru/showthread.php?t=113306)

toolblast 05-17-2006 03:11 PM

Hi Chief! Nice to see you here.

I believe it is only coded to work with GD right now but I'll look for php code that may work with imagemagick

-------------

Just a note to everyone who hasn't realized that I updated the plugin description: this hack doesn't work EVERYWHERE like previously stated. Some templates in vbulletin do not render global variables making the plugin not show the avatar. One of these templates is the postbit template. If you put '$useravatar' in that template nothing will happen. Why? I'm not sure, and if anyone knows how to make it work please share!

Thanks.

toolblast 05-17-2006 03:13 PM

Hey Chief,

I think I found something that may help. I haven't examined the code yet, but this page looks promising:

http://www.imagemagick.org/script/convert.php

The Chief 05-17-2006 06:19 PM

Quote:

Originally Posted by toolblast
Hey Chief,

I think I found something that may help. I haven't examined the code yet, but this page looks promising:

http://www.imagemagick.org/script/convert.php

Yup, it does, this is what I would need, if you can get this to work with a different plug-in or the same one you would make one more happy man ;)

Tell me if you need help testing it.

toolblast 05-18-2006 12:43 PM

Hmm. Well it looks like it would require a lot of research and coding to get imagemagick working lol. There really isn't very much documentation on the resizing function in IM with PHP.

Maybe in the future I'll try and add that in. In the meantime, you need to get GD Library on your server! lol

The Chief 05-18-2006 03:40 PM

Quote:

Originally Posted by toolblast
Hmm. Well it looks like it would require a lot of research and coding to get imagemagick working lol. There really isn't very much documentation on the resizing function in IM with PHP.

Maybe in the future I'll try and add that in. In the meantime, you need to get GD Library on your server! lol

That's something I can't do. Apache is uninstalled on my server, I am running my website on lighttpd which means no Apache, and why couldn't it be possible? vB 2.~something uses ImageMagick and there is some hacks for automatically resizing user avatars, but I only need it for this ;)

futuredood 08-02-2006 04:00 AM

hey toolblast,

have you made any progress in how to get the postbit_legacy to resize the image? this is similar to what i've been trying to do. i'm trying to have the profile pic in the memberinfo template, and in postbit_legacy to automatically resize that into an avatar. this would make the profilepic and avatar the same image. i have a whole thread going on on it here:

https://vborg.vbsupport.ru/showthread.php?t=122710

bashy 03-18-2007 08:31 AM

i tried this on 3.6 but no go for launch :(
Any chance on an upgrade please? :)

v12kid 04-18-2007 11:33 PM

same question, can you port this for 3.6 Ill even pay you for it! lol

Tralala 04-22-2007 10:16 PM

No go on 3.6.5 here either... would love to see an update!

rsuplido 12-13-2007 08:57 AM

Attached is a new imageresize.php script that should work with 3.6.5. Overwrite the original one. This script came from http://tech.mikelopez.info/2006/03/0...resize-script/ modified to work with this mod.


All times are GMT. The time now is 09:10 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.01347 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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