The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Just started playing
with the member profile page in 3.7 and need a little help with some alignment and section movements, which to me at least are not as obvious as I expected. Any help much appreciated. (see attached).First How to center user profile picture, then the other marked design issues. |
|
#2
|
|||
|
|||
|
Just the centering of the profile picture now if anyone could point the way please
|
|
#3
|
||||
|
||||
|
<div align="center">Profile picture code</div>
I'm not sure of the exact code it uses, but if you search the template for something like pic or picture you'll find it i'm sure
|
|
#4
|
|||
|
|||
|
Thanks I tried that and didn't work
|
|
#5
|
||||
|
||||
|
To remove reputation, try removing this:
Code:
<div id="reputation">$prepared[reputationdisplay]</div> |
|
#6
|
|||
|
|||
|
thanks cheat master reps removed fine
|
|
#7
|
|||
|
|||
|
Still looking for some help to center the user profile picture - bump
|
|
#8
|
|||
|
|||
|
Anyone any ideas how you can center the profile picture in the memberinfo primary content container??
|
|
#9
|
||||
|
||||
|
Its not a line code fix.. you need to reorder the cells..
this is code for profile pic. Code:
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<if condition="$prepared['profilepicurl']">
<td id="profilepic_cell" class="tborder alt2"><img src="$prepared[profilepicurl]" $prepared[profilepicsize] alt="<phrase 1="$prepared[username]">$vbphrase[xs_picture]</phrase>" /></td>
</if>
<td valign="top" width="100%" id="username_box"<if condition="$prepared['profilepicurl']"> class="profilepic_adjacent"</if>>
<if condition="$prepared['rank'] OR $prepared['reputationdisplay']">
<div id="reputation_rank">
<if condition="$prepared['reputationdisplay']">
<div id="reputation">$prepared[reputationdisplay]</div>
</if>
<if condition="$prepared['rank']">
<div id="rank">$prepared[rank]</div>
</if>
</div>
</if>
<h1>$prepared[musername] $prepared[onlinestatus]</h1>
<if condition="$prepared['usertitle']">
<h2>$prepared[usertitle]</h2>
</if>
</td>
</tr>
</table>
Code:
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td valign="top" width="100%" id="username_box"<if condition="$prepared['profilepicurl']"> class="profilepic_adjacent"</if>>
<if condition="$prepared['rank'] OR $prepared['reputationdisplay']">
<div id="reputation_rank">
<if condition="$prepared['reputationdisplay']">
<div id="reputation">$prepared[reputationdisplay]</div>
</if>
<if condition="$prepared['rank']">
<div id="rank">$prepared[rank]</div>
</if>
</div>
</if>
<h1>$prepared[musername] $prepared[onlinestatus]</h1>
<if condition="$prepared['usertitle']">
<h2>$prepared[usertitle]</h2>
</if>
</td>
<if condition="$prepared['profilepicurl']">
<td id="profilepic_cell" class="tborder alt2"><img src="$prepared[profilepicurl]" $prepared[profilepicsize] alt="<phrase 1="$prepared[username]">$vbphrase[xs_picture]</phrase>" /></td>
</if>
</tr>
</table>
|
|
#10
|
|||
|
|||
|
Thank you that does help. Only my current code is structured slightly different, so may take a while to work out but your post was very helpful.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|