The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hello again,
I've stumbled onto this mod, which gives you a default avatar in; 1. Member List: Code:
<phpcode><![CDATA[if ($show['avatar'] != true && $vbulletin->options['avatarenabled']) {
$avatarurl = $vbulletin->options['gd_davatar_file'];
$show['avatar'] = true;
}]]></phpcode>
2. Postbit: Code:
<phpcode><![CDATA[if ($show['avatar'] != true && $this->registry->options['avatarenabled'] && !($this->registry->userinfo['userid'] > 0 AND !$this->registry->userinfo['showavatars'])) {
$post['avatarurl'] = $this->registry->options['gd_davatar_file'];
$show['avatar'] = true;
}]]></phpcode>
3. Profile: Code:
<phpcode><![CDATA[if ($this->registry->options['avatarenabled']) {
$this->userinfo['avatarurl'] = $this->registry->options['gd_davatar_file'];
$this->userinfo['avatarwidth'] = FIXED_SIZE_AVATAR_WIDTH;
}]]></phpcode>
Info on "<hookname>" would help too! Best Regards, ~tEh'P?r4d0x |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|