vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   Boxes around user info (https://vborg.vbsupport.ru/showthread.php?t=89111)

dndog 05-09-2004 12:40 AM

Boxes around user info
 
How does vBT get the boxes around the user information in the postbit?

Thanks.

Ryan Ashbrook 05-09-2004 12:48 AM

I'm guessing tables. ;)

skinvb 05-09-2004 02:15 AM

no you can use DIV :This is example:
Class:
Quote:

.postbit {
BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid; BACKGROUND-COLOR: #ffffff;
}
and code in postbit:
Quote:

<div class="postbit">$vbphrase[join_date]: $post[joindate]</div>
You're done

Tony G 05-09-2004 07:08 AM

Yep, it's done using a div class. This is the best way to do tables like that. :)

Ryan Ashbrook 05-09-2004 03:29 PM

*Ryan smacks hisself*

I'm an idiot. :p I forgot about div. :p

Elmer 05-10-2004 10:56 PM

hmm i think this would be ok also..
hmm i think this would be ok also..
HTML Code:

.postbit {
        border: 1px solid #000000;
        background-color: #ffffff;
}

it's the same thing

tHe Rk 05-22-2004 10:29 PM

Quote:

Originally Posted by skinvb
no you can use DIV :This is example:
Class:


and code in postbit:


You're done

What is DIV? Where do I put that first DIV code? Please HELP!

I just upgraded from vB2, so this something I havn't seen before.

Tony G 05-22-2004 11:01 PM

DIV is used for many things, but for this, it is used to call a CSS class you have pre-set in your style settings. So putting something like <div class="postbit"> calls the CSS options for 'postbit'

You'd put the DIV code (as skinvb has posted above) in your postbit template. You'd put the code around each of the variables which call something like Join Date, or posts etc. placing the variable inbetween the code.

tHe Rk 05-22-2004 11:31 PM

Quote:

Originally Posted by Tony
DIV is used for many things, but for this, it is used to call a CSS class you have pre-set in your style settings. So putting something like <div class="postbit"> calls the CSS options for 'postbit'

You'd put the DIV code (as skinvb has posted above) in your postbit template. You'd put the code around each of the variables which call something like Join Date, or posts etc. placing the variable inbetween the code.

Okay! Man this stuff is so confusing. But I got it figured out now. Thanks for posting that. It took me a minute to figure it out, but was very helpfull! Thanks a Ton!

Tony G 05-22-2004 11:50 PM

Sorry I wordered it like that. Skinvb gave an example of how it should look in the postbit template:

<div class="postbit">$vbphrase[join_date]: $post[joindate]</div>

That is only for Join Date though. For something else, you'd take out:

$vbphrase[join_date]: $post[joindate]

and replace it with another profile field you'd like to put a box around. So, for example, posts.

Hope that made it a little more clearer.


All times are GMT. The time now is 06:04 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.01169 seconds
  • Memory Usage 1,737KB
  • 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
  • (1)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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