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)
-   -   style problem .. (https://vborg.vbsupport.ru/showthread.php?t=146128)

Daky 08-24-2007 04:59 PM

Hi,

In this code:

<!-- post #$post[postid] -->
<if condition="$show['spacer']">
$spacer_open
<div id="edit$post[postid]" style="padding:0px 0px $stylevar[cellpadding]px 0px">
<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] -->

When i remove this: $spacer_open , top of the page looks ok, but not the bottom.
If i remove $spacer_close , again it is not ok.

Lynne 08-24-2007 05:23 PM

I think you need to remove both spacer_open AND spacer_close in order for it to look right. I did it on my harddrive and it looked fine. Like this (copy/pasted from yours above):

In this code:

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

<div id="edit$post[postid]" style="padding:0px 0px $stylevar[cellpadding]px 0px">
<if condition="!$post['islastshown']"><!-- this is not the last post shown on the page --></if>
</if>

$postbit

<if condition="$show['spacer']">
</div>

</if>
<!-- / post #$post[postid] -->

Daky 08-24-2007 05:30 PM

Hi

After i remove both of them, this happens:

http://www.diskusije.net/svastara/after-remove.jpg

Lynne 08-24-2007 06:09 PM

OK, you know what I noticed. in comparing it to my test site is that you do not have a spacer_open and spacer_close after the navbar template. When I added that to my test page, it made everything in line. It seems like that got removed somewhere along the way.

(You closed your forums so I was unable to take a new copy of your source to see if this really was the problem.)

Oh, and you also have an empty "spacer_close" after the <!-- / toolbar --> that needs to not be empty.

Daky 08-24-2007 06:29 PM

Actually...

Can you log in my forum with Admin access and check it? see if you can fix it.

Thank you!
D

Lynne 08-24-2007 07:12 PM

Quote:

Originally Posted by Daky (Post 1324937)
Actually...

Can you log in my forum with Admin access and check it? see if you can fix it.

Thank you!
D

I can try. I'll send you a PM.

Daky 08-26-2007 04:16 AM

I just would like to thank Lynne.

Thank you! for helping me fix my problem! Without you nothing would be done.

D


All times are GMT. The time now is 08:06 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.01158 seconds
  • Memory Usage 1,728KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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