![]() |
How to know does user have avatar or not?
Hello guys,
I'm trying to know about have user avatar or not. I'm looking into userinfo array: print_r($vbulletin->userinfo); And I see this in it for both user that has avatar and user that has not: [avatarid] => 0 [avatarrevision] => 0 In both cases it's 0. :confused: |
PHP Code:
|
Quote:
I've changed it little bit. I've used this: PHP Code:
PHP Code:
|
PHP Code:
|
I've made this work by this adding these lines into login_inc mod:
PHP Code:
But still thanks for your advices. |
All times are GMT. The time now is 08:30 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:
|