vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to get those "boxes" around the user information (https://vborg.vbsupport.ru/showthread.php?t=96535)

Kran 09-19-2005 12:19 AM

How to get those "boxes" around the user information
 
I don't know if I was descriptive enough in the thread title but I have seen a lot of forums using the vb2 post bit and having "boxes" around the user information. An example of the "boxes" is here. I have seen it at many forums so I know it's not just an extreme pixels exclusive. This has probably been posted a million times before but I've been searching all day and cant find it. Can anyone point me towards how to do that?

KuRi 09-19-2005 12:40 AM

this can be done using the css and div classes cant it??.... i think so.... ill give it a go

Kran 09-19-2005 12:43 AM

It probably can, but I don't know either div classes or CSS.

KuRi 09-19-2005 10:55 PM

in 'All Style Options' part of the 'Style Manager', find near the bottom of the page 'Additional CSS Definitions' and add the following in the second box

Code:

.postbitinfo {
background-color: #E6ECF4;
border-top: 1px solid #4775A7;
border-right: 2px solid #4775A7;
border-left: 1px solid #4775A7;
border-bottom: 2px solid #4775A7;
padding-top: 3px;
padding-right: 0px;
padding-left: 3px;
padding-bottom: 3px;
margin-bottom: 3px;
}

change #E6ECF4 to the background colour you would like and change all 4 instances of #4775A7 to the border color you would like... the colors there are the same (or as close as i could get) to the example you posted

scroll right to the bottom and hit save

then in your 'postbit_legacy' template

find
Code:

<div>$vbphrase[join_date]: $post[joindate]</div></if>
change to
Code:

<div class="postbitinfo">$vbphrase[join_date]: $post[joindate]</div></if>
also below this code you will see simelar code for the location, age, posts and reputation.... where the div tag starts
Code:

<div>
replace these with
Code:

<div class="postbitinfo">

Kran 09-20-2005 06:40 PM

Thank you so much!

Quillz 09-24-2005 02:01 AM

Will this work with the vB3 postbit, if I was to edit the postbit template, as opposed to postbit_legacy?

KuRi 09-24-2005 03:18 AM

i havent tryed it as i dont like the horizontal postbit...

bhxtyrant 09-24-2005 04:49 AM

I'm also interested to know if this will work with version 3.0.I like this type of look as it looks more "clean" to me then just text with no boards.Thansk to anyone who can answer this.

KuRi 09-24-2005 12:04 PM

it will work with 3.x.x and allso does work with the 'new' horizontal postbit


All times are GMT. The time now is 06:54 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.01099 seconds
  • Memory Usage 1,726KB
  • 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
  • (5)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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