PDA

View Full Version : postbit area all out line


vppremier
01-10-2007, 07:57 PM
please view an example here - http://stepinthezone.com/forum/showthread.php?p=2223#post2223

the area that displays the users post, location and join date are all out out line and I don't know why nor have I made any template change recently.

How do I try to fix this?

peterska2
01-10-2007, 08:04 PM
It's due to the length of the location field varying for each user. The options you have are to change the maximum allowed characters for the location field via the user profile field manager, or to live with it, or to remove the display of the location from the postbit.

Ntfu2
01-10-2007, 10:33 PM
thanks for the link with the awesome language...

vppremier
01-11-2007, 07:10 AM
Sorry about the language. I removed the location field from that profile manager, but now its seems users with awards, from the yaas plugin, are show in a different length that users without awards. What else should I try?

It seems that it's being caused due to the addition of the 'Total Awards: 1 (moreĀ» ...)' when a user has been issued a reward. Can I lengthen the size of the postbit for users who don't have awards to the same size for users who do?

peterska2
01-11-2007, 07:55 AM
Not without forcing widths for the other items. A better solution might be to relocate the awards to another part of the postbit, such as under the username, or even take out the images and just have the number of awards displayed.

vppremier
01-11-2007, 12:17 PM
I would prefer to take it from there and move it over under the users title. So I would take the following code

<!-- show awards -->
<if condition="$post[showuserawards]">
<div>
$post[userawards]
<br>
$vbphrase[total_awards]: $post[num_awards] (<a href="member.php?$session[sessionurl]u=$post[userid]#award">$vbphrase[more_awards] ...</a>)
</div>
</if>
<!-- /show awards -->

from the postbit template and put it where?