Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Postbit Legacy Outline Enhancement for 4.0 Details »»
Postbit Legacy Outline Enhancement for 4.0
Version: 1.00, by mandingo mandingo is offline
Developer Last Online: Dec 2014 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.0.0 Rating:
Released: 12-24-2009 Last Update: Never Installs: 16
Template Edits
Re-useable Code Code Changes  
No support by the author.

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:



I take no credit whatsoever for this mod,fyi

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 12-25-2009, 03:41 AM
thedudleys thedudleys is offline
 
Join Date: Feb 2008
Location: Umatilla, Fl
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so basically everything gets a more defined border in postbit legacy style?
Reply With Quote
  #3  
Old 12-25-2009, 04:15 AM
mandingo's Avatar
mandingo mandingo is offline
 
Join Date: Jun 2008
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes,it's a way to add borders and/or a different style to certain elements of your postbit.
Reply With Quote
  #4  
Old 12-25-2009, 11:46 AM
shadowgfx shadowgfx is offline
 
Join Date: Jul 2009
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i like it, better then using the default layout
Reply With Quote
  #5  
Old 12-25-2009, 11:41 PM
BSMedia BSMedia is offline
 
Join Date: Feb 2009
Posts: 454
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

padding: 3px 4px 5px 6px;
Reply With Quote
  #6  
Old 12-26-2009, 04:36 PM
denman75 denman75 is offline
 
Join Date: Aug 2006
Location: Netherlands
Posts: 228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 12-26-2009, 04:54 PM
mandingo's Avatar
mandingo mandingo is offline
 
Join Date: Jun 2008
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by denman75 View Post
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.
Reply With Quote
  #8  
Old 12-26-2009, 04:59 PM
mandingo's Avatar
mandingo mandingo is offline
 
Join Date: Jun 2008
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BSMedia View Post
Why not make all the padding sizes as one line rather than the 4?

padding: 3px 4px 5px 6px;
Thanks.
Code modified.
Reply With Quote
  #9  
Old 01-01-2010, 05:30 AM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanxx

installed
________
Gm Family 1 Engine History
Reply With Quote
  #10  
Old 01-26-2010, 01:24 PM
Rob F Rob F is offline
 
Join Date: Oct 2002
Location: Ireland
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:49 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04855 seconds
  • Memory Usage 2,332KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_html
  • (4)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete