vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Help please custom user profile page 2 (https://vborg.vbsupport.ru/showthread.php?t=67153)

Jolten 07-14-2004 12:23 AM

Help please custom user profile page 2
 
Hi,

I'm putting together a secondary user profile page. I've got the vBulletin backend using permissions and user accounts. One problem i can't seem to solve is pulling the user's avatar into the page. All the coding I try pulled the viewing user's avatar into the page. Nothing I try will pull the profile owner's avatar into the page. I've looked through member.php to see how it's done there, but even jsut copy and pasting that code results in teh viewer's avatar showing.

Can anyone show me how to display a user's avatar on a non-vb page and have the page display the profile owner's avatar not the users?

For example if the page address is http://www.yourhost.com/forum/profile2.php?uid=Bob

On that page I want Bob's avatar to show.

Thanks

Jolten 07-15-2004 03:59 PM

Please, anyone.

Andreas 07-15-2004 04:26 PM

Basically it's

PHP Code:

$avatarurl fetch_avatar_url($userid); 

Where $userid is the user id of the user for which you want to retrieve the avatar.

Jolten 07-15-2004 04:34 PM

Thanks kirby. I'm having a serious problem getting things to actually call the avatar of the user who owns the profile page. For some reason everything I try shows the avatar of the user who is surfing. Even the code youv'e posted above shows the avatar of the user who is viewing the page. Not the user who owns the page.

Jolten 07-19-2004 10:08 AM

Please, anyone.

Jolten 07-25-2004 06:08 AM

man.... who'd have thought it'd be so difficult.


All times are GMT. The time now is 12:29 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.00914 seconds
  • Memory Usage 1,719KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete