The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#4
|
||||
|
||||
![]()
Okay, if you want the user avatars to display directly below the titles, you will need to edit your "MEMBERINFO" template as follows:
Locate the code: HTML Code:
<vb:if condition="$prepared['usertitle']"> <br /> <span class="usertitle">{vb:raw prepared.usertitle}</span> </vb:if> HTML Code:
<img src="{vb:raw show.avatar}" alt="{vb:rawphrase xs_avatar, {vb:raw prepared.username}}" id="user_avatar" style="margin: 5px 0" />
Product: vBulletin Hook Location: member_complete Title: Create URL To Avatar Plugin PHP Code: PHP Code:
Click "Save." Now, to prevent the thumbnailed avatar from displaying, edit your "memberinfo_block_ministats" template by locationg the code: HTML Code:
<vb:if condition="$prepared['avatarurl']"> <dl class="stats"> <dt>{vb:rawphrase avatar}</dt> <dd class="avatar"><img src="{vb:raw prepared.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw prepared.username}}" id="user_avatar" /></dd> </dl> </vb:if> HTML Code:
<vb:comment><vb:if condition="$prepared['avatarurl']"> <dl class="stats"> <dt>{vb:rawphrase avatar}</dt> <dd class="avatar"><img src="{vb:raw prepared.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw prepared.username}}" id="user_avatar" /></dd> </dl> </vb:if></vb:comment> ![]() |
Благодарность от: | ||
Lynne |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|