The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Anyone know where getavatarfunction is located in 3.6.5 ?
thanks |
|
#2
|
||||
|
||||
|
not following... are you referring to $avatarurl or $post[avatarurl]?
|
|
#3
|
|||
|
|||
|
the function getavatarurl()
it returns the URL to the users avatar it used to be in the older versions of VB |
|
#4
|
||||
|
||||
|
Oh I'm sorry. blond moment.
And don't know right off hand....
|
|
#5
|
|||
|
|||
|
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. |
|
#6
|
|||
|
|||
|
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 |
|
#7
|
|||
|
|||
|
Both avatar tables?
|
|
#8
|
||||
|
||||
|
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.
|
|
#9
|
|||
|
|||
|
coolio
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|