![]() |
really dumb question (getavatarurl location)
Anyone know where getavatarfunction is located in 3.6.5 ?
thanks |
not following... are you referring to $avatarurl or $post[avatarurl]?
|
the function getavatarurl()
it returns the URL to the users avatar it used to be in the older versions of VB |
Oh I'm sorry. blond moment. :rolleyes: And don't know right off hand....
|
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. |
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 |
Both avatar tables?
|
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.
|
coolio
|
All times are GMT. The time now is 09:28 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|