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)

HalfBreed 08-12-2001 07:00 PM

**BUMP**

Dakota 08-17-2001 06:14 AM

Here's how to get it working in 2.0.3

In admin/functions/php, announcement.php and private.php

Find:
PHP Code:

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

and replace it with:
PHP Code:

      if ($post[hascustomavatar] and $avatarenabled) {
        if (
$usefileavatar$avatarurl="custom_avatars/avatar$post[userid]_$post[avatarrevision].gif";
        else 
$avatarurl="avatar.php?userid=$post[userid]"


Christian 08-17-2001 06:51 PM

Do you have to run the install again after upgrading?

If so, which one did you use?
The original or the one of the modified hack?

Castel 08-23-2001 05:07 PM

Dakota, that's the exact same code as the original hack. I am aware that the showthread.php changes are now in functions.php but this doesn't make it work.

Look at the source code of a thread with a custom avatar and you will see the avatar is still img src=avatar.php.... while on other pages that display the avatar it does indeed come for the custum_avatars folder.

Lordmusic 08-24-2001 11:39 PM

Keir, buddy. Please rerelease an update for your hack!!! It is needed.

dost 08-25-2001 01:41 AM

Yes please I also want to use this hack with vB 2.0.3

centris 08-25-2001 03:09 PM

Would someone PLEASE start a new thread for 2.03 hacks. I ran the install script and then found that the code did not match, now I have to wait for an update.

Sven 08-29-2001 04:54 PM

Mhmm, if just Kier would look into here and post something like:

Yes, I'm going to update, be patient

or at least

No, I'm too busy, sorry

pier 09-04-2001 01:14 PM

Any news yet ? My forum needs this mod to work!
thanks for your great feature

pier

tamarian 09-04-2001 11:05 PM

I have a guess why Kier didn't update the hack.

It's already done on the vB 2.0.4 waiting for release! :D


All times are GMT. The time now is 04:17 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.01300 seconds
  • Memory Usage 1,735KB
  • 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
  • (4)pagenav_pagelink
  • (2)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