Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-19-2005, 12:19 AM
Kran Kran is offline
 
Join Date: Jun 2005
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 09-19-2005, 12:40 AM
KuRi KuRi is offline
 
Join Date: Jan 2005
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this can be done using the css and div classes cant it??.... i think so.... ill give it a go
Reply With Quote
  #3  
Old 09-19-2005, 12:43 AM
Kran Kran is offline
 
Join Date: Jun 2005
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It probably can, but I don't know either div classes or CSS.
Reply With Quote
  #4  
Old 09-19-2005, 10:55 PM
KuRi KuRi is offline
 
Join Date: Jan 2005
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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">
Reply With Quote
  #5  
Old 09-20-2005, 06:40 PM
Kran Kran is offline
 
Join Date: Jun 2005
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you so much!
Reply With Quote
  #6  
Old 09-24-2005, 02:01 AM
Quillz's Avatar
Quillz Quillz is offline
 
Join Date: Jan 2005
Location: Los Angeles, CA
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this work with the vB3 postbit, if I was to edit the postbit template, as opposed to postbit_legacy?
Reply With Quote
  #7  
Old 09-24-2005, 03:18 AM
KuRi KuRi is offline
 
Join Date: Jan 2005
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i havent tryed it as i dont like the horizontal postbit...
Reply With Quote
  #8  
Old 09-24-2005, 04:49 AM
bhxtyrant bhxtyrant is offline
 
Join Date: Jun 2005
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 09-24-2005, 12:04 PM
KuRi KuRi is offline
 
Join Date: Jan 2005
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it will work with 3.x.x and allso does work with the 'new' horizontal postbit
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 08:56 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.02131 seconds
  • Memory Usage 2,232KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete