PDA

View Full Version : postbit_legacy/userinfo_extra/alignment issue


blind-eddie
05-04-2015, 01:20 PM
The only edit done to the postbt_legacy template was the arcade edit in the
userinfo_extra section.
<dt>{vb:raw post.crowns}{vb:raw post.champtext}</dd>

That would not throw off the text.

That edit was removed and still userinfo_extra text was aligned right.

postbit.css template has never been edited and addition.css template has not been added to.

All plugins were disabled which there are only 3 added and still userinfo_extra text aligns right.

No other changes have been other then style colors.

No matter what I have tried will move the userinfo_extra text to the left.

Any help would be appreciated.

Replicant
05-04-2015, 01:30 PM
Got a link to the offending page?

squidsk
05-04-2015, 01:59 PM
Clear cache? Also the original edit was not done quite correctly. It should have been as follows:

<dt>{vb:raw post.crowns}</dt><dd>{vb:raw post.champtext}</dd>

You were missing the closing dt tag and opening dd tag.

Replicant
05-04-2015, 02:09 PM
Good catch...

blind-eddie
05-04-2015, 04:40 PM
Like I stated in my first post, with that code removed from the template the align issue is present, but thank you for the info.

--------------- Added 1430767825 at 1430767825 ---------------

Found the problem, seems someone did in fact edit the postbit_legacy a bit.

This
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if>
<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
<dt>{vb:rawphrase posts}</dt> <dd>{vb:raw post.posts}</dd>
{vb:raw template_hook.postbit_userinfo_right_after_posts}

Should have been this

<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if>
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if>
<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
<dt>{vb:rawphrase posts}</dt> <dd>{vb:raw post.posts}</dd>
{vb:raw template_hook.postbit_userinfo_right_after_posts}

We are all good now