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 04-30-2007 09:09 PM

style problem ..
 
Hi,
I have a little template problem.
To be honest with you i dont have idea where problem could be.

I hope somone will be able to help me with this.

My website is : www.diskusije.net

Problem:

Here it shows that table is aligned properly when user is logged in.

http://www.diskusije.net/svastara/logged-in.jpg

Here it shows that table is not aligned properly when user is logged off.

http://www.diskusije.net/svastara/logged-off.jpg


... this only happens when user is logged in or logged off.

Any1 have idea how to fix this?

Thank you!

Princeton 04-30-2007 10:25 PM

check postbit_wrraper ... $spacer_open, $spacer_close

Daky 04-30-2007 10:42 PM

Hi,
I really dont know what to look there for :))

Here is my wrapper:

<!-- 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] -->

Thank you sir!

CyberAlien 05-01-2007 05:53 AM

Remove $spacer_open and $spacer_close from that code

Daky 05-01-2007 06:05 AM

That did not work for me.

Here is a picture of what happens when i remove it.

https://vborg.vbsupport.ru/

Now its not good when i am logged-in, but when logged - off its ok :)

CyberAlien 05-01-2007 06:08 AM

Try replacing spacer_open with this:
Code:

<!-- open content container -->
<if condition="$show['old_explorer']">
        <table cellpadding="0" cellspacing="0" border="0" width="$stylevar[outertablewidth]" align="center"><tr><td class="page" style="padding: 0">
<else />
<div align="center">
        <div class="page" style="width:$stylevar[outerdivwidth]; text-align:$stylevar[left]">
                <div style="padding: 0">
</if>


Daky 05-01-2007 06:12 AM

After i did that, all tables are going to the end of the page, it is all connected.


http://www.diskusije.net/svastara/nospace.jpg

CyberAlien 05-01-2007 08:32 AM

Another solution is edit template postbit_wrapper, and replace $spacer_open with code I posted above. Or you can open header template and add padding to main table instead of using spacer_ templates.

Daky 05-01-2007 03:28 PM

Hi,
After i do edit postbit_wrapper i get the same as:

http://www.diskusije.net/svastara/blah1.jpg

Problem fixed, thanks to CyberAlien.

Daky 08-21-2007 04:52 PM

Daky is back with the same problem :/

After upgrading to 3.6.8 and reverting the templates i have the same problem.

I tried to reach CyberAlien, but he does not respond.

Is there anyone else who could help me with this?

Thank you!
D

Any1 pls? :erm:


All times are GMT. The time now is 12:59 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.01077 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_code_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
  • (10)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