vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Postbit help (https://vborg.vbsupport.ru/showthread.php?t=297175)

the1rabbits 04-13-2013 10:51 PM

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:

https://vborg.vbsupport.ru/external/2013/04/24.jpg

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?

Lynne 04-14-2013 02:29 AM

Your image is too small for us to view it.

the1rabbits 04-14-2013 03:04 AM

Sorry Lynne, I didn't even realise.

This link should be better :)

http://imgbox.com/abyIop6G

Lynne 04-14-2013 02:45 PM

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.

the1rabbits 04-14-2013 09:37 PM

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

Lynne 04-14-2013 10:39 PM

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;}


the1rabbits 04-15-2013 12:03 AM

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

Lynne 04-15-2013 01:36 AM

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.

the1rabbits 04-15-2013 02:26 AM

Quote:

Originally Posted by Lynne (Post 2416414)
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?

the1rabbits 04-16-2013 11:17 AM

bump


All times are GMT. The time now is 07:10 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.01147 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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