vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Space Between Posts (Legacy) (https://vborg.vbsupport.ru/showthread.php?t=95427)

trag 08-31-2005 10:00 PM

Space Between Posts (Legacy)
 
I've done a decent amount of minor hacks to my forum, but I have yet to figure out how to change the space between each post in Legacy mode. I'd like to first try having no space, and secondly try it with different sizes between 2-10 pixels. Anyone know where this can be changed? Thanks.

Note: Wrong Thread... not sure where I was supposed to put this. There are like 5000000 forums! Sorry in advance =(.

Adrian Schneider 09-01-2005 07:23 AM

yeah, wrong forum lol

go to your postbit_legacy or postbit template, at the very beginning there should be

<!-- post #$post[postid] -->
<if condition="$show['spacer']">
$spacer_open
<if condition="!$post['islastshown']">
<div style="padding:0px 0px $stylevar[cellpadding]px 0px">
<else />
<if condition="$post['toppadding']">
<div style="padding:$stylevar[cellpadding]px 0px 0px 0px">
</if>
</if>
<div id="edit$post[postid]">
</if>

and at the very end:

<if condition="$show['spacer']"></div><if condition="!$post['islastshown']"></div></if>$spacer_close</if>
<!-- / post #$post[postid] -->

^ edit em


All times are GMT. The time now is 12:29 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.00903 seconds
  • Memory Usage 1,705KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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