vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Board Optimization - How to reduce space in postbit (https://vborg.vbsupport.ru/showthread.php?t=230859)

prophetmuhammad 11-02-2011 04:57 PM

i just don't understand the vB team sometimes.

dippetas 01-05-2012 12:56 PM

has anyone tested it on vb 4.1.9?

sadiq6210 01-14-2012 09:09 AM

This is not working after upgrade from 4.1.8 to 4.1.10 :(

Any update? I really need it

thenamesgould 01-15-2012 01:11 AM

Still works fine for me in 4.1.10 ...

sadiq6210 01-15-2012 05:14 AM

oh
It is my mistake
I am using RTL so I must change the code to (left) instead of (right)

Now it is working perfect (vb4.1.10)

Thanks

Peejay 01-24-2012 05:30 PM

Sorry chaps, but how did you get it working in vb4.1.10 seeing as you can't edit the Main CSS?

I'm obviously missing something obvious, but I just can't see it for looking?

Edit: Idiot status confirmed - found it finally

Style Manager > Edit Templates > CSS Templates > postbit.css

Thanks for the mod, it works perfectly.

Alfa1 03-25-2012 11:22 PM

If your signature is not at the bottom of your post then its not working.

Please vote for a fix to be included in vbulletin:

http://tracker.vbulletin.com/browse/VBIV-14262

.

synseal 06-01-2012 10:01 PM

I have voted, just can't believe this has not yet already been included. This simple tweak makes a massive difference to the look of threads.

zulfiqar.halari 07-29-2012 06:30 AM

Hi.
How to reduce space between after content and last edited notification on postbit.
Regards

LgsOfChampions 07-29-2012 04:53 PM

installed!!!

Man I've been looking for this mod for two weeks lol. I've posted every where to no luck. So I gave up on this and coincidentally came across it.
LOve it!!

Simple mods like this is what makes your board look and go a long way!!!
thanks

Vick98 08-04-2012 12:03 AM

Does this work for 4.2 and are there an screen shots to show a before and after?

S@NL - BlackBik 08-20-2012 02:17 PM

Yes, it works on vB4.2
Don't have any screen-shots but basicly it does exactly what is said in the first post.

kh99 08-20-2012 02:26 PM

Didn't know this existed, but I have a couple things to add: one is that if you put the code in the additional.css template, it will stay there when you upgrade. Also, you might be able to remove more space by adding this (in additional to the code shown in the first post):

Code:

.postbitlegacy .postrow.has_after_content {
    padding-bottom: 0px;
}


0px might remove a little too much, but you can increase it if you want.

Edit: oops, didn't notice that we're on page 12 of comments, this has probably been mentioned before.

oldz442 08-22-2012 11:19 AM

1 Attachment(s)
Went a bit further and bottom aligned 'edited by', 'signature' and the 'likebox thanks hack'. Some pics and CSS below. There is more CSS tweak stuff... margin, padding, etc.

---------------
additional.css
---------------
.top-align { vertical-align: top; }
.bottom-align { vertical-align: bottom; }
.postbitlegacy .postbody { margin: 0 !important; }
.postbitlegacy .postrow.has_after_content { padding-bottom: 0em !important; }

---------------
postbit_legacy
---------------
Code:

<div class="postdetails">
  <table style="width:100%">
    <tr>
      <td rowspan="2" class="top-align">
        <div class="userinfo">
          LEFT-USERINFO-BOX
        </div>
      </td>
      <td class="top-align">
      <div class="postbody">
        CONTENT
      </div>
      </td>
    </tr>
    <tr>
      <td class="bottom-align">
        LASTEDIT / SIGNATURE / LIKEBOX
      </td>
    </tr>
  </table>
</div>


mjfutures 08-24-2012 11:08 PM

Quote:

Originally Posted by kh99 (Post 2358480)
Didn't know this existed, but I have a couple things to add: one is that if you put the code in the additional.css template, it will stay there when you upgrade. Also, you might be able to remove more space by adding this (in additional to the code shown in the first post):

Code:

.postbitlegacy .postrow.has_after_content {
    padding-bottom: 0px;
}


0px might remove a little too much, but you can increase it if you want.

Edit: oops, didn't notice that we're on page 12 of comments, this has probably been mentioned before.

Where do I put this additional code?

dougdirac 08-25-2012 01:08 PM

Quote:

Originally Posted by mjfutures (Post 2359760)
Where do I put this additional code?

In the Style Manager

Edit Templates--> CSS Templates-->additional.css

ndut 09-08-2012 08:59 PM

1 Attachment(s)
anybody can help?
how to reduce space between image reputation ?

thank you

dougdirac 09-24-2012 11:40 PM

Quote:

Originally Posted by oldz442 (Post 2358979)
Went a bit further and bottom aligned 'edited by', 'signature' and the 'likebox thanks hack'. Some pics and CSS below. There is more CSS tweak stuff... margin, padding, etc.

---------------
additional.css
---------------
.top-align { vertical-align: top; }
.bottom-align { vertical-align: bottom; }
.postbitlegacy .postbody { margin: 0 !important; }
.postbitlegacy .postrow.has_after_content { padding-bottom: 0em !important; }

---------------
postbit_legacy
---------------
Code:

<div class="postdetails">
  <table style="width:100%">
    <tr>
      <td rowspan="2" class="top-align">
        <div class="userinfo">
          LEFT-USERINFO-BOX
        </div>
      </td>
      <td class="top-align">
      <div class="postbody">
        CONTENT
      </div>
      </td>
    </tr>
    <tr>
      <td class="bottom-align">
        LASTEDIT / SIGNATURE / LIKEBOX
      </td>
    </tr>
  </table>
</div>


Does this work even if you're not using the Likes hack?

oldz442 09-24-2012 11:58 PM

Sure. The last <td> is just to bottom align things within it.

I just had to play around with margins/padding a bit. ie. my last edit line is still a tad bit high (~14px when it should be closer 10px bottom margin)

Superorb 10-01-2012 06:34 AM

Quote:

Originally Posted by oldz442 (Post 2368299)
Sure. The last <td> is just to bottom align things within it.

I just had to play around with margins/padding a bit. ie. my last edit line is still a tad bit high (~14px when it should be closer 10px bottom margin)

Can this be done without tables? I'd love to remove the space AND have the signatures align with the bottom.

oldz442 10-01-2012 07:24 AM

Quote:

Originally Posted by Superorb (Post 2369923)
Can this be done without tables? I'd love to remove the space AND have the signatures align with the bottom.

I imagine if you orient/setup the divs correctly, it would be just a matter of adding a 'td' class to the bottom div along with a vertical-align:bottom. No doubt there are other ways... I just found a div/table setup easier.

MAME 10-22-2012 01:41 AM

Excellent! I've been waiting for this.
*installed*

Harpo 10-22-2012 03:06 PM

I am using the vertical postbit. will this help remove the space even if I am not using legacy? Installed anyway. :)

cjwinternet 11-17-2012 09:22 PM

I can't see that this makes any difference. Unistalled.

f4vn 11-28-2012 02:41 PM

Quote:

Originally Posted by top dogs 360 (Post 2094877)
.postbitlegacy .postrow.has_after_content {
padding-bottom: 1em;

Yours will say 4em; change that to 1em and it should work for you.

This is located in the same postbit.css as you changed clear from both to none like this

.postbitlegacy .after_content {
position: relative;
width: 100%;
clear:none;



Tops Dogs 360
www.xboxhounds.com

I think this is the best way :)

synseal 11-28-2012 11:04 PM

Yes title should be changed to postbit legacy even though the code is self explanatory.

xeenux 01-18-2013 02:23 PM

Thanks so much!

Amaury 02-04-2013 04:49 PM

Is this compatible with 4.2.0?

Amaury 02-05-2013 02:47 AM

Did the necessary edits, but couldn't this just be added to additional.css?

abumohamed 02-05-2013 04:21 AM

thank you so much

K.C. 02-25-2013 03:30 PM

Tried it at one place with the 4.2 version of vbulletin but it says that the css file is obsolete and available for reference purpose only. Does anyone know a different way to do this?

Pop's Stang 03-03-2013 02:12 AM

Just did this with my 4.2 verison and it worked great!!

Admin Cp > Styles & Templates > Edit Template > CSS Templates > Postbit.CSS

Put in the code as stated. Like I said, it worked great! :up:

DF031 03-06-2013 04:24 PM

In our Syle Manager there is no option named "CSS Templates" :-(

- - solved it - -

The initial instructions in this thread are not correct. One should choose the Edit Templat option first.

Amaury 03-06-2013 05:05 PM

Quote:

Originally Posted by DF031 (Post 2408341)
In our Syle Manager there is no option named "CSS Templates" :-(

- - solved it - -

The initial instructions in this thread are not correct. One should choose the Edit Templat option first.

It's kind of obvious you have to go to Edit Templates first.

CSS Templates.

DF031 03-07-2013 03:52 PM

Well, obviously it is not for some people :p

I have done these changes but do not see the desired effect ? Should I clean the cache, does it only work with new posts, or . . . ? What could be wrong ?

dizzynation 03-07-2013 06:41 PM

Anyone have a screenshot of the difference?

dizzynation 03-07-2013 06:45 PM

4.2 users can just add the code to additional css right?

dizzynation 03-07-2013 06:52 PM

Quote:

Originally Posted by Pop's Stang (Post 2407504)
Just did this with my 4.2 verison and it worked great!!

Admin Cp > Styles & Templates > Edit Template > CSS Templates > Postbit.CSS

Put in the code as stated. Like I said, it worked great! :up:

Added per these instructions, I dont see a difference

vb 4.2 PL3

Amaury 03-07-2013 07:08 PM

Quote:

Originally Posted by dizzynation (Post 2408613)
Anyone have a screenshot of the difference?

https://vborg.vbsupport.ru/showpost....2&postcount=17

dizzynation 03-08-2013 03:04 AM

Quote:

Originally Posted by Amaury25 (Post 2408630)

Got it, so all other posts without signatures still stay the same? That would be neat if it cleaned up everything


All times are GMT. The time now is 09:20 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.01650 seconds
  • Memory Usage 1,819KB
  • 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
  • (4)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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