The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Avatars in showthread
How can I make it so noavatar.gif will appear as the default unless the member has selected an avatar?
Thanks, SM |
#2
|
||||
|
||||
In functions.php replace this:
Code:
if ($post[hascustomavatar] and $avatarenabled) { $avatarurl="avatar.php?userid=$post[userid]&dateline=$post[avatardateline]"; } else { $avatarurl=""; } Code:
if ($post[hascustomavatar] and $avatarenabled) { $avatarurl="avatar.php?userid=$post[userid]&dateline=$post[avatardateline]"; } else { $avatarurl="images/noavatar.gif"; } |
#3
|
|||
|
|||
*Edit* It worked perfectly!
Thank you very much for the code! SM |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|