MyBB Community Forums

Full Version: Strange gap on Forum top
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,

Just a strange one im having.

On my index page the forum displays without issue, but when you click on a link to go to a thread a strange white gap appears at the top of the page.

Any ideas?

Index

[Image: 160bktv.png]

Thread page

Naturally you cant see the white gap but it sits across the top of the green, about 30mm wide.
[Image: 2iqoi35.png]

Thanks
(02-04-2016, 12:15 PM)belgrade Wrote: [ -> ]Hi all,

Just a strange one im having.

On my index page the forum displays without issue, but when you click on a link to go to a thread a strange white gap appears at the top of the page.

Any ideas?

Index

[Image: 160bktv.png]

Thread page

Naturally you cant see the white gap but it sits across the top of the green, about 30mm wide.
[Image: 2iqoi35.png]

Thanks

Hi all, just a bump to see if anyone can assist with this.

Thanks
can you post here your showthread templates.
(02-09-2016, 08:50 PM)Blackbeard Wrote: [ -> ]can you post here your showthread templates.

Hi there,

These are my showthread templates, thanks.

<html>
<head>

<!-- Site optimized with MySEO 1.0 -->
<title>{$thread['subject']} | {$mybb->settings['bbname']}</title>
<meta content="index,follow" name="robots"/>
<meta property="og:type" content="article"/>
<meta property="og:title" content="{$thread['subject']} | {$mybb->settings['bbname']}" />
<meta name="twitter:title" content="{$thread['subject']} | {$mybb->settings['bbname']}">
<!-- Site optimized with MySEO 1.0 -->


<title>{$thread['subject']}</title>
{$headerinclude}
{$can_link}
{$thx_script}
{$can_link}
<script type="text/javascript">
<!--
var quickdelete_confirm = "{$lang->quickdelete_confirm}";
var quickrestore_confirm = "{$lang->quickrestore_confirm}";
var allowEditReason = "{$mybb->settings['alloweditreason']}";
lang.save_changes = "{$lang->save_changes}";
lang.cancel_edit = "{$lang->cancel_edit}";
lang.quick_edit_update_error = "{$lang->quick_edit_update_error}";
lang.quick_reply_post_error = "{$lang->quick_reply_post_error}";
lang.quick_delete_error = "{$lang->quick_delete_error}";
lang.quick_delete_success = "{$lang->quick_delete_success}";
lang.quick_delete_thread_success = "{$lang->quick_delete_thread_success}";
lang.quick_restore_error = "{$lang->quick_restore_error}";
lang.quick_restore_success = "{$lang->quick_restore_success}";
lang.editreason = "{$lang->postbit_editreason}";
// -->
</script>
<!-- jeditable (jquery) -->
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1804"></script>
<script src="{$mybb->asset_url}/jscripts/jeditable/jeditable.min.js"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/thread.js?ver=1804"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/thankyoulike.min.js"></script>
<script type="text/javascript">
<!--
var tylEnabled = "{$mybb->settings['g33k_thankyoulike_enabled']}";
var tylCollapsible = "{$mybb->settings['g33k_thankyoulike_collapsible']}";
var tylUser = "{$mybb->user['uid']}";
var tylSend = "{$lang->tyl_send}";
var tylRemove = "{$lang->tyl_remove}";
// -->
</script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/thankyoulike.min.js"></script>
<script type="text/javascript">
<!--
var tylEnabled = "{$mybb->settings['g33k_thankyoulike_enabled']}";
var tylCollapsible = "{$mybb->settings['g33k_thankyoulike_collapsible']}";
var tylUser = "{$mybb->user['uid']}";
var tylSend = "{$lang->tyl_send}";
var tylRemove = "{$lang->tyl_remove}";
// -->
</script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/thankyoulike.min.js"></script>
<script type="text/javascript">
<!--
var tylEnabled = "{$mybb->settings['g33k_thankyoulike_enabled']}";
var tylCollapsible = "{$mybb->settings['g33k_thankyoulike_collapsible']}";
var tylUser = "{$mybb->user['uid']}";
var tylSend = "{$lang->tyl_send}";
var tylRemove = "{$lang->tyl_remove}";
// -->
</script>
{$ajaxthreadupdate['head']}<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/thankyoulike.min.js"></script>
<script type="text/javascript">
<!--
var tylEnabled = "{$mybb->settings['g33k_thankyoulike_enabled']}";
var tylCollapsible = "{$mybb->settings['g33k_thankyoulike_collapsible']}";
var tylUser = "{$mybb->user['uid']}";
var tylSend = "{$lang->tyl_send}";
var tylRemove = "{$lang->tyl_remove}";
// -->
</script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/thankyoulike.min.js"></script>
<script type="text/javascript">
<!--
var tylEnabled = "{$mybb->settings['g33k_thankyoulike_enabled']}";
var tylCollapsible = "{$mybb->settings['g33k_thankyoulike_collapsible']}";
var tylUser = "{$mybb->user['uid']}";
var tylSend = "{$lang->tyl_send}";
var tylRemove = "{$lang->tyl_remove}";
// -->
</script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/notemoderator.js"></script>
<script type="text/javascript">
<!--
lang.notemoderator_delete_error = "{$lang->notemoderator_delete_error}";
lang.notemoderator_delete_confirm = "{$lang->notemoderator_delete_confirm}";
lang.notemoderator_has_been_deleted = "{$lang->notemoderator_has_been_deleted}";
// -->
</script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/thankyoulike.js"></script>
<script type="text/javascript">
<!--
var tylEnabled = "{$mybb->settings['g33k_thankyoulike_enabled']}";
var tylCollapsible = "{$mybb->settings['g33k_thankyoulike_collapsible']}";
var tylUser = "{$mybb->user['uid']}";
-->
</script>
</head>
<body>
{$codebutquickedt}
{$header}
{$threadnotesbox}
{$pollbox}
<div class="float_left">
{$multipage}
</div>
<div class="float_right">
{$newreply}
</div>
{$ratethread}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder tfixed clear">
<tr>
<td class="thead">
<div class="float_right">
<span class="smalltext"><strong><a href="javascript:;" id="thread_modes">{$lang->thread_modes}</a>{$threadnoteslink}{$replybanlink}</strong></span>
</div>
<div>
<strong>{$thread['threadprefix']}{$thread['subject']}</strong>
</div>
</td>
</tr>
<tr><td id="posts_container">
<div id="posts">
{$posts}
</div>
</td></tr>
<tr>
<td class="tfoot">
{$search_thread}
<div>
<strong>&laquo; <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> &raquo;</strong>
</div>
</td>
</tr>
</table>
<div class="float_left">
{$multipage}
</div>
<div style="padding-top: 4px;" class="float_right">
{$newreply}
</div>
<br class="clear" />
{$quickreply}
{$threadexbox}
{$similarthreads}
<br />
<div class="float_left">
<ul class="thread_tools">
<li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
{$sendthread}
<li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>{$addremovefavorite}
{$addpoll}
</ul>
</div>
<br class="clear" />
<div class="float_right" style="text-align: right;">
{$moderationoptions}
{$forumjump}
</div>

{$usersbrowsing}
{$footer}
<div id="thread_modes_popup" class="popup_menu" style="display: none;"><div class="popup_item_container"><a href="showthread.php?mode=linear&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}" class="popup_item">{$lang->linear}</a></div><div class="popup_item_container"><a href="showthread.php?mode=threaded&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}" class="popup_item">{$lang->threaded}</a></div></div>
<script type="text/javascript">
// <!--
if(use_xmlhttprequest == "1")
{
$("#thread_modes").popupMenu();
}
// -->
</script>
<script type="text/javascript">
$(".author_avatar img").error(function () {
$(this).unbind("error").closest('.author_avatar').remove();
});
</script>
</body>
</html>
what do you use {$codebutquickedt} for? it's above the header.
(02-09-2016, 09:23 PM)Blackbeard Wrote: [ -> ]what do you use {$codebutquickedt} for? it's above the header.

No idea TBH, but I just tired deleting it but it made no difference.
what plugins are you using?
you have to check your css file. I think there is the issue, but I cannot confirm that without url and more info.

EDIT:
maybe check for #logo in global css and remove padding
I have this issue all it takes is to delete
"
<title>{$thread['subject']}</title>
"

and then the white bar should dissapear. Its also documented in the readme of the MySEO plugin
Hi all, thanks for your help.

Tried various the various things you all mentioned but with no luck.

I then tried switching off each plugin, and eventually discovered it was a plugin that was causing the issue.

The plugin is (At Home Polls (2.2) is causing the issue. For some reason its ok on the index page but creates the white bar on the posts pages.

Any suggestions?

Thanks.