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)
-   -   Avatar As Link2 (https://vborg.vbsupport.ru/showthread.php?t=36462)

wooolF[RM] 03-29-2002 05:01 PM

]Thanx Scheccia ! Everything works just like a dream! :D Thanx very much :D

Psychdrone 03-30-2002 12:51 AM

I installed your hack Thats why I am posting in this thread:P

so can I send you my file? Could I get your email??

Storm 03-30-2002 10:17 PM

I installed your hack, and everything works great! But there is one thing that is not right - when I view another member's profile (using getinfo) my avatar shows up instead of the member's avatar, can you fix this? Thanks in advance. :)

Scheccia 03-31-2002 12:45 AM

yes... ok thanx...
I fix it... :)

in member find
Quote:

$userinfo[yahoo]=" ";
}

##### Avatar As Link2 #####
$avatarlink=$DB_site->query_first("SELECT avatar2 FROM avatarlink WHERE userid=$bbuserinfo[userid]");
$avatar2=$avatarlink[avatar2];

replace red word with:
$userinfo[userid]

Storm 03-31-2002 08:11 PM

OK, I changed that one thing there, uploaded, but it didn't fix that problem...

I got a different problem that I just found out about: if a user tries to their avatar in the user control panel, they get this message even if the file exists, even if it's a valid gif/jpeg:

'The uploaded file is not a valid GIF or JPG file. Please ensure that it is and try again.'

I can add avatars through the admin w/o any problems, so what do you think could be causing it?

Scheccia 03-31-2002 09:15 PM

I think that you have edited wrong the member file.
I register in your forum and I can't go to edit option.

Storm 03-31-2002 09:47 PM

OK, fixed that, that works perfect now, What do I do about the other problem?

Users can't link to their avatar w/o getting that error...

'Image is not a valid gif or jpeg, please check and try agian'

Scheccia 03-31-2002 11:46 PM

able it from admin in this way I can test

Storm 04-01-2002 12:10 AM

Avatars are enabled... you should be able to test it now, you don't need any posts to do it either.

Storm 04-04-2002 11:47 PM

Ok, you can now go into the admin and test the hack from there, test whatever you want to test, just let me know (please) what I need to change to make it work correctly for the users in the user control panel -> edit avatar screen. Thanks.


All times are GMT. The time now is 07:18 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.01179 seconds
  • Memory Usage 1,730KB
  • 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
  • (4)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