Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-25-2010, 11:02 AM
MaryTheG(r)eek MaryTheG(r)eek is offline
 
Join Date: Sep 2006
Location: Greece
Posts: 1,340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Unwanted block in footer

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
Attached Images
File Type: jpg vbfooter.jpg (8.5 KB, 0 views)
Reply With Quote
  #2  
Old 03-25-2010, 11:19 AM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Editing the 1st line the code removes the box.

From:
Code:
<div id="footer" class="floatcontainer footer">
To:
Code:
<div id="footer" class="floatcontainer">
.
Reply With Quote
  #3  
Old 03-25-2010, 02:07 PM
MaryTheG(r)eek MaryTheG(r)eek is offline
 
Join Date: Sep 2006
Location: Greece
Posts: 1,340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Seven Skins View Post
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
Reply With Quote
  #4  
Old 03-25-2010, 02:36 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It worked when I tried it in my footer.


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

Code:
<div class="clear">
Reply With Quote
  #5  
Old 03-25-2010, 04:07 PM
MaryTheG(r)eek MaryTheG(r)eek is offline
 
Join Date: Sep 2006
Location: Greece
Posts: 1,340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Seven Skins View Post
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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:24 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.04146 seconds
  • Memory Usage 2,227KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (7)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (1)postbit_attachment
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete