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)
-   -   Miscellaneous Hacks - Postbit Legacy Outline Enhancement for 4.0 (https://vborg.vbsupport.ru/showthread.php?t=231125)

mandingo 12-24-2009 10:00 PM

Postbit Legacy Outline Enhancement for 4.0
 
1 Attachment(s)
Taken from the original:
Pro. Postbit Legacy
by Jacki

Directions


First download
Add additional_css.css to all your pages
by:
Lynne

Then..

Open up your additional_css.css file
Admin cp > Styles & Templates > Style Manager >Edit Templates > additional_css.css and add the following:

Code:

.pbit {
padding: 3px 3px 3px 3px;
background-color: #option;
border-top: 1px solid #dadada;
border-right: 2px solid #dadada;
border-left: 1px solid #dadada;
border-bottom: 2px solid #dadada;
margin-bottom: 3px;
}

Obviously edit the css to suit your needs.

Then open up your postbit_legacy template:

Admin cp > Styles & Templates > Style Manager >Edit Templates > Postbit > Postbit_legacy
and find things you want outlined.

<div class="pbit">code</div>

Code:

<div class="pbit"><span class="rank">{vb:raw post.rank}</span></div>

Sample:
http://internetdomainnamedotcom.com/...s/45sample.jpg


I take no credit whatsoever for this mod,fyi

thedudleys 12-25-2009 03:41 AM

so basically everything gets a more defined border in postbit legacy style?

mandingo 12-25-2009 04:15 AM

Yes,it's a way to add borders and/or a different style to certain elements of your postbit.

shadowgfx 12-25-2009 11:46 AM

i like it, better then using the default layout

BSMedia 12-25-2009 11:41 PM

Why not make all the padding sizes as one line rather than the 4?

padding: 3px 4px 5px 6px;

denman75 12-26-2009 04:36 PM

sory for bad english

i cant get it to work
i downloaded the Add additional_css.css to all your pages mod

than i entered

PHP Code:

.pbit {
padding-left3px;
padding-right0px;
padding-top3px;
padding-bottom3px;
background-color#option;
border-top1px solid #dadada;
border-right2px solid #dadada;
border-left1px solid #dadada;
border-bottom2px solid #dadada;
margin-bottom3px;


in the css file


than i enter this in postbit -legacy

PHP Code:

<div class="pbit"><span class="rank">{vb:raw post.rank}</span></div

what im doing wrong ?
thank you verry much
i clicked installed cus i want to have lines

mandingo 12-26-2009 04:54 PM

Quote:

Originally Posted by denman75 (Post 1938728)
sory for bad english

i cant get it to work
i downloaded the Add additional_css.css to all your pages mod

than i entered

PHP Code:

.pbit {
padding-left3px;
padding-right0px;
padding-top3px;
padding-bottom3px;
background-color#option;
border-top1px solid #dadada;
border-right2px solid #dadada;
border-left1px solid #dadada;
border-bottom2px solid #dadada;
margin-bottom3px;


in the css file


than i enter this in postbit -legacy

PHP Code:

<div class="pbit"><span class="rank">{vb:raw post.rank}</span></div

what im doing wrong ?
thank you verry much
i clicked installed cus i want to have lines

First of all you'll want to change
Quote:

background-color: #option;
to a color,or even just leave that line out to use your current background color.

Secondly:
find
HTML Code:

<span class="rank">{vb:raw post.rank}</span>
in your postbit_legacy template and add:
HTML Code:

<div class="pbit">
before it,and:
HTML Code:

</div>
after it.
Doing so will outline only your ranks.
Hope that helps.

mandingo 12-26-2009 04:59 PM

Quote:

Originally Posted by BSMedia (Post 1938303)
Why not make all the padding sizes as one line rather than the 4?

padding: 3px 4px 5px 6px;

Thanks.
Code modified.

Dr.osamA 01-01-2010 05:30 AM

thanxx

installed
________
Gm Family 1 Engine History

Rob F 01-26-2010 01:24 PM

Have just tried playing with this and can get the outline around most things.

How do I center the content within the outline sections like the avatar, username etc? And any idea how I can get the same effect around the Blog Entries line and any additional userfields (I have vMoods installed too)?

Thanks


All times are GMT. The time now is 11:24 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.01118 seconds
  • Memory Usage 1,757KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_html_printable
  • (4)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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