Hex_legend
11-26-2007, 10:00 PM
This should work on all versions of 3.6.x but has only been tested on 3.6.8
What does it do?
This moves the "User Type, Avatar and Group Memberships" into an arranged order and grouped together.
How easy is it to install?
Very easy, 1-3 minutes
Files to upload: 0
Template Edits: 1
Products to import: 0
Additional Files: 0
Screenshots?
Attached :)
Notes
Please be fair with me, this is my first modification, so for this reason it's not very advanced and many people would be able to do it. If anyone has any changes to my code, please let me know.
Even with this mentioned, please do not redistribute this file as your own work, if you really want to redistribute this, please give credit to me :)
Edits:
In template MEMBERINFO
Find:
<if condition="$show['avatar']">
<img src="$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">
$vbphrase[xs_avatar]</phrase>"
border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" />
<else />
Delete this.
Next, find:
<if condition="$userinfo['usertitle']">$userinfo[usertitle]</if>
Delete this.
Find:
<phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase>
</if>
$template_hook[memberinfo_groups]
Delete this.
Find:
<if condition="$show['membergroups']">
<dl id="membergroups_list" class="smallfont">
$membergroupbits
</dl>
<else />
Add below:
<b>Groups:</b>           
<phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase>
</if>
$template_hook[memberinfo_groups]
<br><br>
<b>Member Type:</b>  <if condition="$userinfo['usertitle']">$userinfo[usertitle]</if>
<br><br>
<b>Avatar:</b>            
<if condition="$show['avatar']">
<img src="$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">
$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor];
border-top:none" />
<else />
$userinfo[username] has no avatar defined, define one
<a href="profile.php?do=editavatar">here</a>
</if>
Save and you're done :)
The 2 screens below show a user with and without an avatar set to show the differences between.
Please click "Install"
What does it do?
This moves the "User Type, Avatar and Group Memberships" into an arranged order and grouped together.
How easy is it to install?
Very easy, 1-3 minutes
Files to upload: 0
Template Edits: 1
Products to import: 0
Additional Files: 0
Screenshots?
Attached :)
Notes
Please be fair with me, this is my first modification, so for this reason it's not very advanced and many people would be able to do it. If anyone has any changes to my code, please let me know.
Even with this mentioned, please do not redistribute this file as your own work, if you really want to redistribute this, please give credit to me :)
Edits:
In template MEMBERINFO
Find:
<if condition="$show['avatar']">
<img src="$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">
$vbphrase[xs_avatar]</phrase>"
border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" />
<else />
Delete this.
Next, find:
<if condition="$userinfo['usertitle']">$userinfo[usertitle]</if>
Delete this.
Find:
<phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase>
</if>
$template_hook[memberinfo_groups]
Delete this.
Find:
<if condition="$show['membergroups']">
<dl id="membergroups_list" class="smallfont">
$membergroupbits
</dl>
<else />
Add below:
<b>Groups:</b>           
<phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase>
</if>
$template_hook[memberinfo_groups]
<br><br>
<b>Member Type:</b>  <if condition="$userinfo['usertitle']">$userinfo[usertitle]</if>
<br><br>
<b>Avatar:</b>            
<if condition="$show['avatar']">
<img src="$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">
$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor];
border-top:none" />
<else />
$userinfo[username] has no avatar defined, define one
<a href="profile.php?do=editavatar">here</a>
</if>
Save and you're done :)
The 2 screens below show a user with and without an avatar set to show the differences between.
Please click "Install"