![]() |
profilepic variable
hey guys,
i am still modifing my wordpress blog, the login box on there is working fine. thanks again to deceptor that helped me make it run :). but i have got a new problem. i want to display the profilepic of the user, when logged in. the problem: if the user is logged in but did not upload a profilepicture, the code displays nothing. well, that's normal but i want to get a default profilepic in there under this conditions. like: if (profilepic-uploaded == 1 ) { echo "<img src="profpic">"; } else { echo "<img src="DEFAULT_profpic">"; } that means: i am searching for something like a variable that contains information if the user did upload a customprofilepic. got any hints?? i couldn't find something like this :(. i think i have to write a little db query to read out the customprofilepic table.... and, if anyone has got already a codesnippet for this query ... just post it :D :D |
All times are GMT. The time now is 08:22 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:
|