vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   How to remove space after last post (https://vborg.vbsupport.ru/showthread.php?t=153966)

utw-Mephisto 08-01-2007 08:10 AM

How to remove space after last post
 
We add a gif bar below the the posts adding the code in red in the SHOWTHREAD template.

Code:

<div id="posts">$postbits<div id="lastpost"></div></div>

<!-- start content table -->
$spacer_open
<!-- / start content table -->

<!-- controls below postbits -->

<!-- bottom graphic line -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="35" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_small_left.gif" width="35" height="20" alt=" " border="0" /></td>
        <td  width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_small_mid.gif)"><img src="$stylevar[imgdir_misc]/cat_small_mid.gif" width="100%" height="20" alt=" " border="0" /></td>
        <td width="35" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_small_right.gif" width="35" height="20" alt=" " border="0" /></td>
      </tr>
  </table>
<!-- /bottom graphic line -->



<table cellpadding="0" cellspacing="0" border="0" width="100%">

But as you can see, it has a space below the last post :

http://i12.tinypic.com/6ciebmq.jpg

(in case its important, we are using Postbit-Legacy)

Dismounted 08-01-2007 09:10 AM

HTML Code:

<div id="posts">$postbits<div id="lastpost"></div></div>

<!-- bottom graphic line -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="35" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_small_left.gif" width="35" height="20" alt=" " border="0" /></td>
        <td  width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_small_mid.gif)"><img src="$stylevar[imgdir_misc]/cat_small_mid.gif" width="100%" height="20" alt=" " border="0" /></td>
        <td width="35" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_small_right.gif" width="35" height="20" alt=" " border="0" /></td>
      </tr>
  </table>
<!-- /bottom graphic line -->

<!-- start content table -->
$spacer_open
<!-- / start content table -->

<!-- controls below postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%">


utw-Mephisto 08-01-2007 11:10 AM

Same problem ... :(

Ok, done it

I add the conditional $post['islastshown'] in postbit_legacy :P


All times are GMT. The time now is 06:57 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.01771 seconds
  • Memory Usage 1,725KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete