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)

Bad Bunny 04-21-2002 05:35 AM

Thanks for a great hack.
Had to ask some friends how to run the query thing for phpmyadmin, but it was simple. I am just dumb.
Thanks.

TECK 04-21-2002 06:26 AM

Quote:

Originally posted by Gutspiller
It's called there is no F***ing way I am reinstalling 50+ hacks just to have the latest version. :P
thanks for letting me hack really easy into your board and take over, delete all your accounts, ban you and other admins, delete all members and posts, etc. that's what you make me think when you when you say, is to hard for you to upgrade.

good luck. i hope you dont have any enemy out there who loves php. it should take him not longer then 15min to destroy your "hacked" board.

and btw, with araxis merge you can do this, upgrade ur board in about 30min. without reinstalling all the hacks.

Meta 04-24-2002 03:20 PM

Nice hack. Thank you, Gamingforce!

Smoothie 04-27-2002 09:33 AM

question, added this hack, works fine. But when you go to edit options, change avatar in your user cp, it still shows the 80x80 pixel dimensions allowed. Not the 80x100 I have set in the admin cp. Shouldn't it say the correct dimensions which are allowed?

Bad Bunny 05-05-2002 08:03 AM

The maker of the hack left out one thing. Apply the chages that you applied to the error template to User Option Templates>modifyavatar_custom
namely, replace
$avatarmaxdimension by $avatarmaxdimension
with
$avatarmaxheight pixels or $avatarmaxsize

Hope this helps. :->

Smoothie 05-05-2002 03:53 PM

Thanks!

parasic 07-10-2002 02:05 AM

Great hack, just installed on my forum and works perfectly. But you did leave out the change needed in the modifyavatar_custom template.

It should be something like:

FIND:
$avatarmaxdimension by $avatarmaxdimension

REPLACE WITH:

$avatarmaxwidth by $avatarmaxheight

kikosho 07-14-2002 12:35 PM

is there a script yet that is compatible with vB 2.6??

Gamingforce 07-15-2002 03:02 AM

This works with the latest.

DeadMan384AD 08-26-2002 02:57 AM

Yup I just installed it on my board, I noticed the thing in the User CP too.

Interesting story installing it tho... I've never gone into phpMyAdmin before, EVER. I've never even touched mySQL(I still managed to pass the database course tho... :D )
So, You know what happens when you enter in the wrong password?
Screaming, yelling, dripping sweat, ICQ messages from 5 people saying "What did you do???" etc....
Luckily the ex-owner/admin was still online and fixed it for me...

:D Great hack tho!


All times are GMT. The time now is 02:46 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.00991 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
  • (2)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