vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Unwanted block in footer (https://vborg.vbsupport.ru/showthread.php?t=239071)

MaryTheG(r)eek 03-25-2010 11:02 AM

Unwanted block in footer
 
1 Attachment(s)
Hello all,

Does anybody knows what template and/or stylevar I need to edit to remove the colored empty block that you can see in the attachment? Most probably the form's code is that causes this issue.

After modifying it, my footer template now is:
Code:

<div id="footer" class="floatcontainer footer">
 <vb:if condition="$show['dst_correction']">
 <!-- auto DST correction code -->
  <form action="profile.php?do=dst" method="post" name="dstform">
  <input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
  <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
  <input type="hidden" name="do" value="dst" />
  </form>
  <script type="text/javascript">
  <!--
  var tzOffset = {vb:raw bbuserinfo.timezoneoffset} + {vb:raw bbuserinfo.dstonoff};
  var utcOffset = new Date().getTimezoneOffset() / 60;
  if (Math.abs(tzOffset + utcOffset) == 1)
  { // Dst offset is 1 so its changed
    document.forms.dstform.submit();
  }
  //-->
  </script>
  <!-- / auto DST correction code -->
 </vb:if>
 <script type="text/javascript">
 <!--
  // Main vBulletin Javascript Initialization
  vBulletin_init();
 //-->
 </script>
        {vb:raw template_hook.footer_javascript}
</div>
</div> <!-- closing div for body_wrapper -->
<div class="below_body">
<div id="footer_time" class="shade footer_time">{vb:rawphrase all_times_are_gmt_x_time_now_is_y}</div>
<div id="footer_copyright" class="shade footer_copyright">
 <!-- Do not remove this copyright notice -->
 {vb:rawphrase powered_by_vbulletin}
 <!-- Do not remove this copyright notice -->
</div>
<div id="footer_morecopyright" class="shade footer_morecopyright">
 <!-- Do not remove cronimage or your scheduled tasks will cease to function -->
 {vb:raw cronimage}
 <!-- Do not remove cronimage or your scheduled tasks will cease to function -->
 {vb:raw vboptions.copyrighttext}
</div>
{vb:raw ad_location.ad_footer_end}
</div>

Greatfull to you
Maria

Seven Skins 03-25-2010 11:19 AM

Editing the 1st line the code removes the box.

From:
Code:

<div id="footer" class="floatcontainer footer">
To:
Code:

<div id="footer" class="floatcontainer">
.

MaryTheG(r)eek 03-25-2010 02:07 PM

Quote:

Originally Posted by Seven Skins (Post 2009951)
Editing the 1st line the code removes the box.

From:
Code:

<div id="footer" class="floatcontainer footer">
To:
Code:

<div id="footer" class="floatcontainer">
.

Thank you:-)) I've tried removing the class refference at all but didn't worked.

Maria

Seven Skins 03-25-2010 02:36 PM

It worked when I tried it in my footer.


Edit the 1st line of your footer template as below.

Code:

<div class="clear">

MaryTheG(r)eek 03-25-2010 04:07 PM

Quote:

Originally Posted by Seven Skins (Post 2010067)
It worked when I tried it in my footer.


Edit the 1st line of your footer template as below.

Code:

<div class="clear">

Sorry.... my bad English:-)) It worked fine according your instructions in the first reply. I just wanted to make a comment, that before my post here, I've tried removing the whole class refference.

Thank you again
Maria


All times are GMT. The time now is 03:09 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.01015 seconds
  • Memory Usage 1,729KB
  • 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
  • (7)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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