vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - Postbit Legacy Poster User Info: (Centered) (https://vborg.vbsupport.ru/showthread.php?t=237042)

btedition 01-23-2014 04:46 AM

Quote:

Originally Posted by ramesh_umk3 (Post 2476175)
it takes time to customize whole fileds. Once try to place below code in your additional.css template

Code:

.userinfo_extra {
    text-align: right;
}

Regards,

This code will center all additional fields?

ramesh_umk3 01-23-2014 07:51 AM

It's left, right combination like you see in the first post screenshot , if you need centered then you have to change postbit_legacy each and every field

btedition 01-24-2014 02:33 PM

Works well with 4.2.0 except that one userfield is out of proportion and Rep Power is not aligned. Can't figure what is the problem..

ramesh_umk3 01-25-2014 08:13 AM

Just goto postbit_legacy and search for "{vb:rawphrase reppower}" align however you like frame with <div style element

btedition 01-25-2014 11:52 AM

Quote:

Originally Posted by ramesh_umk3 (Post 2476768)
Just goto postbit_legacy and search for "{vb:rawphrase reppower}" align however you like frame with <div style element

I'm not a code expert :( :$ mind telling me the exact code?

ramesh_umk3 01-25-2014 04:29 PM

Search for

{vb:rawphrase reppower}: {vb:raw post.reppower}

Replace with:

Code:

<div style="float:left;">{vb:rawphrase reppower}:</div> <div style="float:right;">{vb:raw post.reppower}</div>
Its weird idea but that's the only option you have to get pattern style :D

btedition 01-26-2014 02:42 AM

Quote:

Originally Posted by ramesh_umk3 (Post 2476830)
Search for

{vb:rawphrase reppower}: {vb:raw post.reppower}

Replace with:

Code:

<div style="float:left;">{vb:rawphrase reppower}:</div> <div style="float:right;">{vb:raw post.reppower}</div>
Its weird idea but that's the only option you have to get pattern style :D

Sorry to keep asking questions, I am using 4.2.0 and I couldn't find the code you're asking for. Here is a screenshot of my postbit_legacy..

https://vborg.vbsupport.ru/external/2014/01/8.jpg

These are the 5 "reppower" results that I've got..

Thanks in advance,

ramesh_umk3 01-26-2014 10:51 AM

Do you see <dt> {vb:rawphrase reppower} </dt> and below that <dd>

change according

Replace <dt> with below one

Code:

<dt style="float:left;">
Replace <dd with below one

Code:

<dd style="float:right;"

btedition 01-26-2014 02:42 PM

Quote:

Originally Posted by ramesh_umk3 (Post 2476919)
Do you see <dt> {vb:rawphrase reppower} </dt> and below that <dd>

change according

Replace <dt> with below one

Code:

<dt style="float:left;">
Replace <dd with below one

Code:

<dd style="float:right;"

awesome mate, can't thank you enough!

How can I center certain userfield ? the user field I want to center is userfield5

ramesh_umk3 01-27-2014 03:50 AM

Code:

<center>{vb:raw post.field5}</center>
use accordingly :)


All times are GMT. The time now is 01:08 PM.

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.01382 seconds
  • Memory Usage 1,739KB
  • 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
  • (8)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete