The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Trying to figure out if user has specified avatar
Hello,
I was wondering if anyone could tell me where I could find the database table / column that tells if an avatar has been set by the user. I've found that if I try to snag the avatar using the following method from a member who does not have an avatar, I get some default vBulletin image. PHP Code:
Brandon |
#2
|
||||
|
||||
If I am not wrong you want to check if a user has an avatar or not.
You can go to avatar or customavatar fields to see whether a user has an avatar or not. |
#3
|
|||
|
|||
Any idea what table those would be under?
I checked the user table and didn't find any values for any of the avatar fields even though many of the users have avatars. Brandon Okay, I found it. It's under the "customavatar" table. Brandon |
#4
|
||||
|
||||
I told that in my first post.
PHP Code:
|
#5
|
|||
|
|||
Use this script;
PHP Code:
HTML Code:
<if condition="$show[avatar]"> <img src="$avatar[url]" border="0" $avatar[size] /> </if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|