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:
Originally Posted by interfx
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?
|
Use this:
Code:
<vb:if condition="$show['guest']"></vb:if>