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)
-   -   Custom Avatars as Files (updated for vBulletin 2.2.2) (https://vborg.vbsupport.ru/showthread.php?t=11760)

Jawelin 02-28-2002 11:48 AM

*^ BUMP ^*
:pirate:

newvbuser 03-10-2002 09:02 AM

Has anyone used this hack with 2.2.3b vb?

atrl 03-10-2002 06:56 PM

I tried installing it but had some problems, But it may have just been me

atrl 03-11-2002 01:01 AM

Kier, Does this work with Vbulletin 2.2.4, cause I just installed 2.2.4 and I wanna know if it works on it?

MaSTaKiLLaH 03-24-2002 07:23 AM

I always get the errormessage from the error_avatarnotimage template.

Any idea ?

Erwin 03-24-2002 07:59 AM

Quote:

Originally posted by atrl
Kier, Does this work with Vbulletin 2.2.4, cause I just installed 2.2.4 and I wanna know if it works on it?
Works fine with my forums using vB 2.2.4

Wayne2k1.com 03-27-2002 12:23 PM

BE AWARE

vBulletin 2.2.4 users

In both the first step of PHP editing (private.php and announcement.php and admin/functions.php) and the last one (/(admin/user.php) the last line is NOT:

Code:

} else
but

Code:

} else {
Just a warning :D

newvbuser 04-15-2002 04:22 AM

Hey is this hack causing any probs with generating email lists, or mass emailing group functions?

Mass emailing does notwork for me but the only major hack I have is this hack and nothing else so I am a bit worried as to why mass email is not working :(

Jawelin 04-25-2002 10:10 AM

Hi. I've been using this hack for months without any problem, even mixing with other avatar-related ones...

Suddendly, some days ago, I noticed some mis-function with the custom avatar upload by an user.
Infact, with vb2.2.5, I noticed which follows:[list=1][*]Avatarrevision field in user table isn't incremented (it lasts 0)[*]Row in customavatar table is correctly added[*]New image file (avatarXX_R.gif/jpg) isn't copied into custom avatar directory[*]The new avatar is correctly displayed near the username everywhere [ getavatarurl() function ], but the url of the image isn't a file but avatar.php?userid=xx&dateline=1019732362 ... This means the hack isn't effective this case.[*]Old uploaded avatars with files in custom directory (and the correct avatarrevision value in the user table) still work correctly. The url of file is actually linked.[/list=1] --- > I think the problem is in member.php but I double-checked your instructions and didn't found any mistake...

Could you help me ?

Thank you very much
Bye

P.S.: custom avatars are ALWAYS stored into directory as .gif files, both gif and jpg types. Reason is obvious, but could it be a (another than above described one) problem to browser to correctly decode the img format when displaying it ?
Thanks again.

Colon33 06-04-2002 11:11 PM

Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/forums.gamer-pit.com/httpdocs/admin/user.php on line 706

I keep getting this whenever i try uploading an avatar or linking one. The image appears broken with the URL pointning to avatar.php rather than the file itself. All directories are CHMOD'd to 777

KuraFire 06-09-2002 08:57 PM

so, like, this hack doesn't work well on vB 2.2.5 ?

:(

Dean C 09-17-2002 03:37 PM

anyone have this working on a 2.2.6???

Thanks in Advance

- miSt

Raizor 09-21-2002 05:58 PM

I am using this on 2.2.6 and the only issue that I have is that after a database restore, the avatar links are all broken. The only way to get them back is to re-apply the links again in every account that had a custom avatar.

I was wondering if there is a way to store the links in the database so that a restore would keep the custom avatars functioning properly.

Smoothie 09-21-2002 08:35 PM

Have it working on 2.2.7

exTracT 10-17-2002 09:19 AM

anyone have this working with 2.28? was there anything noted to set it up? I want to protect my avatars from cross linking

Tim Wheatley 10-18-2002 01:11 PM

Hm... My host says this will make masses of difference with the server. I already have attachments as files installed. I have 2.2.7 (heavily hacked) installed. I see someone has this working... I'll give it a shot!

Tim Wheatley 10-18-2002 11:27 PM

Works perfect for uploading and storage thusfar. vb2.2.7.

Will keep you informed.

Okiewan 10-19-2002 02:59 PM

Version 2.2.8 ... seems that the member.php has changed, as the code is not the same as in the readme file. Any tips on where to insert the code?

PHP Code:

// read file
$filesize=@filesize($filename);
if (
$filesize>$avatarmaxsize) {
    eval(
"standarderror(\"".gettemplate("error_avatartoobig")."\");");
    
// file size too big
    
exit;



ladyfyre 10-22-2002 01:57 AM

I am running 2.2.8 as well, and the block of code you are looking for is still there, just slightly changed....

look for:

PHP Code:

        // read file
        
$filesize=@filesize($filename);
        if (
$filesize>$avatarmaxsize) {
          @
unlink($filename);
          eval(
"standarderror(\"".gettemplate("error_avatartoobig")."\");");
        } 


Brew 11-03-2002 06:29 PM

One of the things I noticed about this hack is that it doesn't delete images when a user has been deleted in the admin area.

Anyone have any ideas on how to get the image deleted when the users have been pruned/deleted?

Brew

spazeman 11-25-2002 06:44 AM

Quote:

Originally posted by Brew
One of the things I noticed about this hack is that it doesn't delete images when a user has been deleted in the admin area.

Anyone have any ideas on how to get the image deleted when the users have been pruned/deleted?

Brew

yes good question. i really want to install this hack but i need to be able to easily delete the avatar images when i nuke a user.

catbaba 01-25-2003 03:30 PM

FYI, I have this hack working on vB 2.2.9.

It's super!

X-Fan 03-20-2003 03:41 AM

I recently upgraded to vB 2.3.0 and re-applied this hack but it's not working. Keep getting "No avatar specified. If you followed a valid link, please notify the webmaster" errors.

Can someone help?

Cyclonus 04-22-2003 11:51 AM

I've got this working in vB 2.3.0, but a couple of questions, if anyone knows.

1. How do you make it compatible with the Welcome Panel hack? Everything I tried, it doesn't pull up the URL to the avatar file correctly (doesn't add user ID to it).

2. My users get an error whenever they upload a custom avatar:

Quote:

[function.copy]: failed to create stream
It does allow the upload to complete & picks up the new avatar, so it's no big deal, I was just wondering...

Koutaru 04-28-2003 11:03 PM

=/ yes working with the welcomepanel would greatly help

gmarik 05-24-2003 11:34 AM

Quote:

04-29-03 at 04:03 AM Koutaru said this in Post #225
=/ yes working with the welcomepanel would greatly help
Indeed. :chinese:

Courage 05-24-2003 12:35 PM

I have 2.3.0 and is working with the wellcome panel hack.

Indeed the avatar is not haken from the file, but from Mysql on the forum home...
I also have improuved avatar settings hack :)

Thomas P 09-27-2003 10:53 AM

Any issues about this hack and 2.3.2?

Is it working with the Welcome Panel hack (not sure) and what do I have to obey?

thx,
-Tom

forumdude 09-21-2004 11:29 PM

Please add the ability to this hack to import the avatars back into the db so that it can be upgraded to vb3.


All times are GMT. The time now is 01:12 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.01390 seconds
  • Memory Usage 1,782KB
  • 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
  • (2)bbcode_php_printable
  • (4)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
  • (29)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