![]() |
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 |
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. |
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 |
I told that in my first post.
PHP Code:
|
Use this script;
PHP Code:
HTML Code:
<if condition="$show[avatar]"> |
All times are GMT. The time now is 10:52 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|