vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   What is the URL to display a custom avatar??? (read, then it'll make more sense) (https://vborg.vbsupport.ru/showthread.php?t=37991)

Velocd 04-28-2002 11:42 PM

What is the URL to display a custom avatar??? (read, then it'll make more sense)
 
With the following absolute link:

avatar.php?&userid=$post[userid]

I can display any user who is using their own avatar from another website or that they uploaded. For example,

https://vborg.vbsupport.ru/avatar.php?&userid=1

Will give you FireFly's avatar ;)

BUT--what is the link to display a custom avatar, the ones located in your avatars folder. Because avatar.php?&userid=$post[userid] doesn't work :(

(quick example of this is on my forum my avatar is uploaded, found here http://www.diffusion4.com/avatar.php?&userid=1 ,but this members avatar is a custom avatar: http://www.diffusion4.com/avatar.php?userid=20 --see it doesn't work)

So, what I need is a link that I can insert into my templates and will display either an uploaded/website linked avatar OR a custom avatar.

Anyhelp??? ^_^

Velocd 04-29-2002 01:52 AM

Nobody knows?? I was hoping somebody would have replied by now :(

Admin 04-29-2002 11:16 AM

Use the getavatarurl() function to get the path you can use in <img>.

Velocd 04-30-2002 01:57 PM

/me is greatly in FireFly's debt ^_^

Velocd 05-01-2002 04:47 AM

edit:

i got it working finally ^_^


All times are GMT. The time now is 04:01 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.02147 seconds
  • Memory Usage 1,713KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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