Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 13 Apr 2007, 11:51
upirate upirate is offline
 
Join Date: Mar 2007
really dumb question (getavatarurl location)

Anyone know where getavatarfunction is located in 3.6.5 ?


thanks
Reply With Quote
  #2  
Old 13 Apr 2007, 12:43
tobybird's Avatar
tobybird tobybird is offline
 
Join Date: Jul 2006
not following... are you referring to $avatarurl or $post[avatarurl]?
Reply With Quote
  #3  
Old 13 Apr 2007, 12:48
upirate upirate is offline
 
Join Date: Mar 2007
the function getavatarurl()

it returns the URL to the users avatar


it used to be in the older versions of VB
Reply With Quote
  #4  
Old 13 Apr 2007, 12:57
tobybird's Avatar
tobybird tobybird is offline
 
Join Date: Jul 2006
Oh I'm sorry. blond moment. And don't know right off hand....
Reply With Quote
  #5  
Old 13 Apr 2007, 13:15
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
There is no function with that name in vB 3.6.5.

you probably will need the function fetch_avatar_url(), which is defined in includes/functions_user.php.
__________________
Marco van Herwaarden
Ex vBulletin.org Coordinator
Reply With Quote
  #6  
Old 13 Apr 2007, 13:26
upirate upirate is offline
 
Join Date: Mar 2007
oooooooo ok.
They must have replaced the old one.

WOuld you know if it returns avatars from both the avatar tables ?

thanks for the reply
Reply With Quote
  #7  
Old 13 Apr 2007, 13:41
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Both avatar tables?
__________________
Marco van Herwaarden
Ex vBulletin.org Coordinator
Reply With Quote
  #8  
Old 13 Apr 2007, 14:06
WetWired's Avatar
WetWired WetWired is offline
 
Join Date: Jun 2002
Yes, fetch_avatar_url should always return the correct URL, regardless of if they use a stock or custom avatar, and whether it is in the database or the file system, to the best of my knowledge.
Reply With Quote
  #9  
Old 13 Apr 2007, 14:15
upirate upirate is offline
 
Join Date: Mar 2007
coolio
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 13:10.

Layout Options | Width: Wide Color: