The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Size avatar in profile
Where can I change the size of the avatar in your profile?
|
#2
|
|||
|
|||
I believe the template you are looking for is memberinfo_block_ministats.
|
#3
|
||||
|
||||
HTML Code:
<img src="{vb:raw prepared.avatarurl}" />
it can be encoded? where to find this variable? or change? |
#4
|
|||
|
|||
Code:
<img src="{vb:raw prepared.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw prepared.username}}" {vb:raw prepared.avatarsize} id="user_avatar" /> Code:
<img src="{vb:raw prepared.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw prepared.username}}" width="xx" height="yy" id="user_avatar" /> |
#5
|
|||
|
|||
I was just wondering the same thing but found it. If you have a look in usergroup manager and edit the group you will find the sizes can be changed there in each group.
I hope that helps |
#6
|
||||
|
||||
Quote:
it stretches the avatar size encoded {vb:raw prepared.avatarurl} |
#7
|
||||
|
||||
dimensions can be here? class_userprofile.php
Code:
* Prepares the User's Avatar * */ function prepare_avatar() { fetch_avatar_from_userinfo($this->userinfo, true, false); if ($this->userinfo['avatarurl'] == '' OR !$this->registry->options['avatarenabled'] OR ($this->userinfo['hascustomavatar'] AND !($this->userinfo['permissions']['genericpermissions'] & $this->registry->bf_ugp_genericpermissions['canuseavatar']) AND !$this->userinfo['adminavatar'])) { $this->prepared['avatarurl'] = ''; $this->prepared['avatarsize'] = ''; } else { $this->prepared['avatarsize'] = ($this->userinfo['avatarwidth'] ? ' width="' . $this->userinfo['avatarwidth'] . '"' : '') . ($this->userinfo['avatarheight'] ? ' height="' . $this->userinfo['avatarheight']. '"' : ''); $this->prepared['avatarurl'] = $this->userinfo['avatarurl']; } } |
#8
|
||||
|
||||
no fix?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|