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)
-   -   Improved Avatar Settings... (https://vborg.vbsupport.ru/showthread.php?t=51875)

Chris M 06-01-2003 07:30 PM

@Dark Shogun - I am sure that is a vB default template:eek:

Satan

Verity 06-01-2003 08:14 PM

Quote:

Today at 10:30 PM hellsatan said this in Post #21
@Dark Shogun - I am sure that is a vB default template:eek:

Satan

Where would you find that then?

Thanks for helping,
Verity

Chris M 06-02-2003 05:49 PM

Perhaps it may be an error template which I forgot to add the "error_" in front of...

Satan

Chris M 06-02-2003 05:51 PM

Ah yes:)

Please clear your cache, and re-download the file in the first post:)

Satan

Verity 06-05-2003 12:28 AM

Perfect hack!! Works like a charm.

Thanks!

xug 06-05-2003 03:12 AM

It doesn't work on my vb2.3.0

it looks like that the code don't pick up the values of both fields :

That image is too large. The maximum dimensions are by pixels.

$avatarmaxwidth by $avatarmaxheight stay empty, while i see the right numbers in my panel.

Chris M 06-05-2003 06:41 AM

Can you check your database, and confirm that the settings are present please?:)

If they are, try replacing (temporarily) the $avatarmaxheight variable with:
Code:

$maximages
This is another vBulletin Options variable...

If this variable is parsed, so the code becomes (10 being vB's default setting for the maximum number of images per post/signature)
Quote:

That image is too large. The maximum dimensions are by 10 pixels.
then there is a problem with this hack which I will try and investigate...

If you get
Quote:

That image is too large. The maximum dimensions are by pixels.
then there is a problem with your board and the way it parses the variables stored in the vBulletin Options:)

Hopefully, whatever the problem, it can be corrected:)

Satan

xug 06-05-2003 11:34 AM

Hey Hellsatan, thanks for the support.

I changed the $avatarmaxheight with $maximages

and the screen say after trying to upload an avatar:

That image is too large. The maximum dimensions are by pixels.

To give you some extra info, when I did run the first time the SQL queries i did run them as the original with the your dimensions, then I realized I didn't want these dimensions and change the queries to my dimensions and run the two queries again.
Has this second move any influence on the working of the hack?

I also have checked again the database and here I have attached a screencopy to show they are in place.

For me to run my board normal, I have put the original member.php back in place.

If you want access to my site and database, please PM me your email and I will send you the info.

csidlernet 06-06-2003 08:44 PM

Thanks very much. i'm installing iT!

Chris M 06-07-2003 08:01 AM

@xug - You should remove the "avatarmaxsize" setting as that is no longer required;)

That might have affected it, as the settings do not know which to choose...

The fact that a global variable did not work surprises me alot - $maximages should have displayed a number, even when set to 0 it will display 0 when called...

Maybe this is a bug induced by an edit to your global.php file? If I were you, I would try uploading a fresh global.php, then re-adding any hacks you have added one by one, each time checking if the $avatarmaxwidth and $avatarmaxheight variables will work:)

Satan


All times are GMT. The time now is 12:29 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.01774 seconds
  • Memory Usage 1,737KB
  • 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_code_printable
  • (3)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