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)

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


All times are GMT. The time now is 04:10 PM.

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.03850 seconds
  • Memory Usage 1,736KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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