Go Back   vb.org Archive > Community Central > Community Lounge
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 05-22-2004, 11:57 PM
tHe Rk tHe Rk is offline
 
Join Date: Jan 2004
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tony
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.
Yeah I figured that out as well, but how do you get the smaller spaces between the boxes? If you use a <br > Tag it goes way down the page, which I want them fairly close. Is the only way to insert (empty) tables in between them? Or is there a simpler way? Thanks again!

Edit: I did a view source for one of the pages here. I see ---> margin-bottom: 2px.
Awesome. vB3 Really does work easily if you know what your doing. Know if I could just figure out what I am doing
Reply With Quote
  #12  
Old 05-23-2004, 12:31 AM
Ryan Ashbrook's Avatar
Ryan Ashbrook Ryan Ashbrook is offline
 
Join Date: Dec 2002
Location: Cincinnati, Ohio
Posts: 422
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's really simple once you get used to it.
Reply With Quote
  #13  
Old 05-23-2004, 06:51 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Especially the templates, once you get the hang of what each template does and have a fair understanding on what the main variables too, together with some HTML knowledge, it will become easy.
Reply With Quote
  #14  
Old 07-03-2004, 03:01 AM
imported_Cool_Rice imported_Cool_Rice is offline
 
Join Date: May 2004
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm.. I think I know where to put the postbit part, just in the template manager and postbit right? But the DIV class thing, I have no idea where that is...
Does it go into a CSS file?
Reply With Quote
  #15  
Old 07-03-2004, 09:47 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, the specific CSS code is placed (you can use the style manager to make it easier) in and then you use the div tag, and calling the name you put the specific CSS code under.

Eg. <div class="name of specific CSS code">blablablacode</div>

Those are the basics of it.
Reply With Quote
  #16  
Old 07-03-2004, 05:56 PM
imported_infernonet imported_infernonet is offline
 
Join Date: Jan 2004
Location: UK
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think he means where do you put the css code my self i put it in 'Style Manager -> The Style' under 'Additional CSS Definitions' near the bottem.

Add to the bottem of the 'Additional CSS Definitions' first box

Example:

Code:
/* ***** PostBit ***** */
.postbit {
	border: 1px solid #999999;
	background-color: #EFEFEF;
	margin-bottom: 2px;
	height: 20px;
}
CSS is very customizable, You can replace 'background-color' with background-image if you wanted and so on

Example:

Code:
	background-image: url(images/gradients/gradient_tcat.gif);
Good Place to learn css is @ http://www.w3schools.com/css/default.asp

Posted by Brad @
http://www.vbulletintemplates.com/mo...ead.php?t=5922

Hope this helps.
Reply With Quote
  #17  
Old 07-03-2004, 05:57 PM
imported_infernonet imported_infernonet is offline
 
Join Date: Jan 2004
Location: UK
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also remember to change the hex codes ect to your own needs
Reply With Quote
  #18  
Old 07-04-2004, 04:14 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, right. Sorry for the misunderstanding, Cool_Rice.
Reply With Quote
  #19  
Old 07-13-2004, 11:39 PM
imported_Cool_Rice imported_Cool_Rice is offline
 
Join Date: May 2004
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Thanks Tony and Infernonet I've got this working now! I just would like to know what code would add some cellpadding to the inside of the divs... i tried putting cellpadding="3" but that doesnt seem to work.

Please help!
Reply With Quote
  #20  
Old 07-27-2004, 03:34 AM
imported_Cool_Rice imported_Cool_Rice is offline
 
Join Date: May 2004
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could anyone offer some help with this please?
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 07:03 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.04001 seconds
  • Memory Usage 2,248KB
  • 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
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete