The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
How can I remove gaps between posts? Like here on vBulletin.org there's a tiny gap between each post in a thread.
|
#2
|
||||
|
||||
![]()
From the top of the postbits here:
HTML Code:
<!-- post #1524601 --> <div id="edit1524601" style="padding:0px 0px 4px 0px"> <!-- this is not the last post shown on the page --> |
#3
|
|||
|
|||
![]()
Thanks. I simply changed the postbit_wrapper so it said 0px instead of the variable. Do you know how I could make the padding apply only to the last post?
|
#4
|
||||
|
||||
![]()
It looks like there may be a variable called "$threadinfo[lastpostid]" . So, just put in a conditional of if $postid equals $threadinfo[lastpostid] then whatever.
edit: Actually, looking further into showthread, it looks like you may be able to use $post['islastshown'] instead of the threadinfo one. I'd just play with it on a test site. |
#5
|
|||
|
|||
![]()
I tried this but it didn't seem to change anything. ( The 'post reply' button and other content in that row is still too close to the last post ).
Code:
<!-- post #$post[postid] --> <if condition="$show['spacer']"> $spacer_open <if condition="$threadinfo[lastpostid]"><div id="edit$post[postid]" style="padding:0px 0px 6px 0px"><else /><div id="edit$post[postid]" style="padding:0px 0px 0px 0px"></if> <if condition="!$post['islastshown']"><!-- this is not the last post shown on the page --></if> </if> $postbit <if condition="$show['spacer']"> </div> $spacer_close </if> <!-- / post #$post[postid] --> Never mind, I used the $post[islastshown] variable. |
#6
|
||||
|
||||
![]() Code:
<if condition="$threadinfo['lastpostid'] == $post['postid']"> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|