vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   postbit_legacy/userinfo_extra/alignment issue (https://vborg.vbsupport.ru/showthread.php?t=318552)

blind-eddie 05-04-2015 01:20 PM

postbit_legacy/userinfo_extra/alignment issue
 
1 Attachment(s)
The only edit done to the postbt_legacy template was the arcade edit in the
userinfo_extra section.
Code:

<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:

Code:

<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 [DATE]1430767825[/DATE] at [TIME]1430767825[/TIME] ---------------

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

This
Code:

<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

Code:

<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


All times are GMT. The time now is 12:02 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.01569 seconds
  • Memory Usage 1,717KB
  • 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
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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