The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
![]()
OK, I think you can do something like you want without any php coding. You already have the block of info with the avatar image at the top, you just need to edit that template to move the image abovethe other info. So edit template memberinfo_block_ministats and search for "avatar" to find this block of code:
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}}" {vb:raw prepared.avatarsize} id="user_avatar" /></dd> </dl> </vb:if> And remove it. Then at the top of that same template, insert the part marked in red below: Code:
<div class="mini_stats blockbody userprof_content userprof_content_border"> <div class="userinfo " > <h5 class="blocksubhead userprof_blocksubhead smaller">{vb:rawphrase mini_statistics}</h5> <div class="blockrow member_blockrow"> <img src="{vb:raw prepared.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw prepared.username}}" {vb:raw prepared.avatarsize} id="user_avatar" /><br /> Hopefully that's close to what you want. |
#12
|
|||
|
|||
![]()
Kevin,
That is soooo close ![]() The last thing I would want to do is enlarge the size of the photo. If somehow I can just use the default upload size than it would be perfect. Thanks again for all of your help, I have been trying on my own for a few days now and got nowhere. |
#13
|
|||
|
|||
![]()
Try removing {vb:raw prepared.avatarsize} from the stuff you added to the memberinfo_block_ministats template. Edit:...actually I don't think that's going to do it, still working on it....
OK, you also need a plugin. Go to "Add New Plugin" under "Plugin & Products". Leave the product dropdown at "vbulletin" and select "member_profileblock_fetch_unwrapped" from the Hook Location dropdown menu. Next, enter a title, maybe something like "full size avatar in profile". Then paste this code in the large text area: Code:
if (!empty($prepared['avatarurl'])) $prepared['avatarurl'] = str_replace('&type=thumb', '', $prepared['avatarurl']); Now select the Yes radio button next to "Plugin is Active", and press Save. Hopefully that will do it. |
#14
|
|||
|
|||
![]()
Yessss!!! Sooo happy! Thank you so much!! I really appreciate it!
![]() ![]() ![]() ***If anyone is interested in previous post this you still have to remove the {vb:raw prepared.avatarsize} |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|