vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   postbit area all out line (https://vborg.vbsupport.ru/showthread.php?t=136128)

vppremier 01-10-2007 07:57 PM

postbit area all out line
 
please view an example here - http://stepinthezone.com/forum/showt...=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

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?


All times are GMT. The time now is 07:04 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01015 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete