![]() |
Default avatar
1 Attachment(s)
This mod add a default avatar, simply ^^
PHP Code:
PHP Code:
PS2: image (avatar.png) is already included |
Thank you Allan
|
Is there a way to make a default avatar for unregistered users?
|
Quote:
http://www.vbulletin.com/forum/images/misc/avatar.png |
Sorry, let me more clear... I'm looking for a solution to have unregistered users have a unqiue avatar... The default avatar (PS2) would still be there for registered users, but wanted an unique avatar for unregistered users...
Would your solution work for somehting like that? |
There is a product that does this also, perhaps that could help you interfx
|
|
thanx
|
Thanks Allan!
|
How is this different from the option in the Admin CP that lets you set a default avatar?
|
Hey Allan, I'm a bit confused.
Doesn't $show[avatar] check to see whether the user has chosen to display or hide avatars through his/her userCP? Meaning, if I were to go to my userCP and uncheck the "Show Avatars" then your code kicks in showing the default blank one. Is that the purpose of your code? Or are you trying to make it so that if a user does not have an avatar, the default one is shown? Quote:
Code:
<vb:if condition="$show['guest']"></vb:if> |
Thanks for the bit bro, but I would like to fix the code just a little bit more to make it perfect. Currently, the default avatars are not linking to the profile. Use this one instead:
Code:
<vb:if condition="$show['avatar']"> |
^^ that's the difference between amateur tweaking and the real pro's.
Thanks for the insight, I've only changed the .gif to .png so I'm not sure, but I think everything will stay the same as it was? Doesn't vB takes care of this ? (I mean to check if the avatars is on/off in usercp) |
All times are GMT. The time now is 05:49 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:
|