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)

eva2000 12-03-2001 03:10 AM

thanks Bira :D

Dark Blaze 12-05-2001 06:31 PM

Great Hack Kier, congrats :)

Dark Blaze 12-05-2001 06:32 PM

Also, thanks Bira for making this hack available for 2.2.1 version forums :)

SirSteve 12-05-2001 06:47 PM

What happens to the current custom avatars my members are using if I install this hack?

bira 12-05-2001 09:56 PM

Quote:

Originally posted by SirSteve
What happens to the current custom avatars my members are using if I install this hack?
If you follow the hack's installation instructions accurately and run the script, the avatars will be converted to gif files. From the user standpoint, he will see absolutely no difference: his custom avatar will continue to show up as normal. The only difference is that instead of it being <img src="avatar.php?userid=xxx"> it will be <img src="custom_avatars/xxx.gif"> (or something like that)

DarkReaper 12-05-2001 10:25 PM

For those interested, I rewrote Kier(I think? maybe it was tubedogg...)'s version of the hack to 2.2.1. It works on mine just like the old one did. If you're interested, I could write up the code changes and post them...

bira 12-05-2001 10:30 PM

DarkReaper, I think that's what I did some 6 or so posts up :D

SirSteve 12-05-2001 10:34 PM

So you still change private.php and announcement.php? I don't have this code in mine:

if ($post[hascustomavatar] and $avatarenabled) {
$avatarurl="avatar.php?s=$session[sessionhash]&userid=$post[userid]";

bira 12-05-2001 10:38 PM

SirSteve, the respective code in those two files would be:

PHP Code:

    if ($post[hascustomavatar] and $avatarenabled) {
      
$avatarurl="avatar.php?userid=$post[userid]&dateline=$post[avatardateline]"


Lesane 12-15-2001 01:42 PM

Does this hack work in 2.0.3? ;)


All times are GMT. The time now is 11:01 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.01435 seconds
  • Memory Usage 1,734KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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