Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-13-2013, 10:51 PM
the1rabbits the1rabbits is offline
 
Join Date: Apr 2011
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Postbit help

I would like to modify how threads are displayed and would very much appreciate some help. I think this is beyond my scope, so I am hoping someone can help me.

Basically on showthread pages I want to separate each post slightly. Please see my example screenshot:



Also, where the red dots are, can I change the color of that bar to be white so it looks as though the post content area flows into it and it is not separated by the white/grey?
Reply With Quote
  #2  
Old 04-14-2013, 02:29 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your image is too small for us to view it.
Reply With Quote
  #3  
Old 04-14-2013, 03:04 AM
the1rabbits the1rabbits is offline
 
Join Date: Apr 2011
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry Lynne, I didn't even realise.

This link should be better

http://imgbox.com/abyIop6G
Reply With Quote
  #4  
Old 04-14-2013, 02:45 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, the postfoot background uses the stylevar "postbit_foot_background"

As for the spacing between posts, that is set in this CSS:

HTML Code:
.postbit, .postbitlegacy, .eventbit {
	margin-bottom: {vb:stylevar padding};
etc }
So, either change the padding stylevar (which will effect a lot more than that) or just add this to your additional.css template:
HTML Code:
.postbit, .postbitlegacy, .eventbit {
	margin-bottom: xxpx;
}
Change xx to the margin you want.
Reply With Quote
  #5  
Old 04-14-2013, 09:37 PM
the1rabbits the1rabbits is offline
 
Join Date: Apr 2011
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Lynne

Thanks for that works great, Can you also help me change one other bit

If you look at the screenshot: http://i.imgbox.com/abl4GJQQ.png


I would like to make the post head curved. However, see how the first post is attached to the blue bar... Can every post after post #1 be curved?

I suppose the first post on every page needs to stay the same (not curved) but every subsequent posthead can be curved.

--------------- Added [DATE]1365979234[/DATE] at [TIME]1365979234[/TIME] ---------------

Also, is it possible to attach that bottom bar to the last posts postbit_foot

http://i.imgbox.com/abl7C5J7.png
Reply With Quote
  #6  
Old 04-14-2013, 10:39 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You would need to add several (and go look up radius css because you need to add different stuff for different browsers - this is just for one browser):

HTML Code:
.postbit, .postbitlegacy, .eventbit {
     border-radius: 10px 10px 10px 10px;
}

.postbit .posthead, .postbitlegacy .posthead, .eventbit .eventhead {
     border-radius: 10px 10px 0px 0px;
}

.postbit .postfoot .textcontrols, .postbitlegacy .postfoot .textcontrols, .eventbit .eventfoot .eventcontrols {border-radius: 0 0 10px 10px;}
Reply With Quote
  #7  
Old 04-15-2013, 12:03 AM
the1rabbits the1rabbits is offline
 
Join Date: Apr 2011
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Lynne!

Thanks so much that worked great!

There's just two more things which I would love to fix.

http://imgbox.com/acgbtCHv

Can it be made so the first post on each page is not curved.

Here is a URL to that thread http://forums.nrlweekly.com/showthre...the-Masters%29
Reply With Quote
  #8  
Old 04-15-2013, 01:36 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You probably can't change the first post without either changing the template or using a plugin to change the template to allow a custom class for all postibits but the first of the page.

Why not curve the tool bar bottom and add a small space between it and the first post? That would probably be easier.
Reply With Quote
  #9  
Old 04-15-2013, 02:26 AM
the1rabbits the1rabbits is offline
 
Join Date: Apr 2011
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
You probably can't change the first post without either changing the template or using a plugin to change the template to allow a custom class for all postibits but the first of the page.

Why not curve the tool bar bottom and add a small space between it and the first post? That would probably be easier.
That's a good idea Lynne

Would you be able to help me with the code for that?
Reply With Quote
  #10  
Old 04-16-2013, 11:17 AM
the1rabbits the1rabbits is offline
 
Join Date: Apr 2011
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump
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 01:15 AM.


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.04246 seconds
  • Memory Usage 2,256KB
  • 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
  • (3)bbcode_html
  • (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
  • (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
  • (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