vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Set avatar max width AND height (https://vborg.vbsupport.ru/showthread.php?t=35933)

isman 09-16-2002 12:46 AM

I have the strangest problem on this one. After installing the hack I no longer have the option to upload a custom avatar in the user control panel. No matter what I do it won't show up.

However, in the main control panel if I go to edit the user and change the avatar I have the option to upload.

Anyone else seen this or know what the problem is?

isman 09-17-2002 12:39 AM

Quote:

I have the strangest problem on this one. After installing the hack I no longer have the option to upload a custom avatar in the user control panel. No matter what I do it won't show up.

However, in the main control panel if I go to edit the user and change the avatar I have the option to upload.

Anyone else seen this or know what the problem is?
Disregard this message. I must be getting old, I turned a simple hack into a three day nightmare.

Take me out back and shoot me.

Great hack by the way.

andyrose 02-16-2003 03:41 AM

This hack is excellent, just what I was looking for. Thanks for putting in the work to code it. :)

kikosho 03-05-2003 07:04 PM

Is it possible to disable the original paramter for maxheight/maxwidth. We are using 160x100 with the new hack...however in order to make it work - I had to set the maxheight/maxwidth variable to 160. As a result, we have people posting up avatars that are larger than we intended.

any mySQL code which can remove that table? hope I am explaining this clearly. :)

Logtenberg 06-19-2003 07:19 PM

Will this hack also have a minimum with and height?

I'd like all the avatars uploaded by members to be exactly the same width and height.

S.Shady 06-19-2003 08:58 PM

Quote:

03-05-03 at 05:04 PM kikosho said this in Post #24
Is it possible to disable the original paramter for maxheight/maxwidth. We are using 160x100 with the new hack...however in order to make it work - I had to set the maxheight/maxwidth variable to 160. As a result, we have people posting up avatars that are larger than we intended.

any mySQL code which can remove that table? hope I am explaining this clearly. :)


change the settings in the avata section ion the vB Options page :)

Quote:

Today at 04:19 PM Logtenberg said this in Post #25
Will this hack also have a minimum with and height?

I'd like all the avatars uploaded by members to be exactly the same width and height.


this hack will make the maximum set number of pixels not minimum. sorry.

------

[high]* S.Shady clicks install.
[/high]

Seams to work on 2.3.0 :) good job

S.Shady 06-19-2003 09:10 PM

Please ignore my ignorance i didnt see this said before https://vborg.vbsupport.ru/showthrea...131#post271131

Also this sould be included in the install.

Open modifyavatar_custom template
Find:
Code:

$avatarmaxdimension by $avatarmaxdimension
Replace with:
Code:

$avatarmaxwidth by $avatarmaxheight
This will display the correct allowed setting next to the upload section :)


All times are GMT. The time now is 12:02 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.00996 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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