MyBB Community Forums

Full Version: Hide and thanks system showing errors and 1 other strange error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Mybb Forum Link
http://www.technodevils.com/forum

mybb Ver:1.6

Hi guys, i have two strange problems which i tried to search before posting here, but couldnt find..

1)my footer is coming in header.
Image 1
[Image: footer1s.jpg]

Image 2
[Image: footer2y.jpg]

2)I installed Hide and thanks system, in which user has to click on thanks to unhide content which is hidden between HIDE tag.
But whenever user clicks on thanks, it shows these two errors, so whats wrong?
Image 1
[Image: error1v.jpg]
Image 2

[Image: error2u.jpg]

but thanks are added and thanis count is working properly

[Image: thankst.jpg]

, then why is error coming? please tell me how to resolve these both issues.


For the first point list your index template here.

Second point contact the plugin author...
Index template, not file Smile ACP > Templates & STyle > Templates > **expand template set** > Index page Templates > index. Also post the header and footer template.
contact your plugins author, not MyBB for error Hide Thanks..

MyBB already state, if you have custom template, then DO NOT UPGRADE to 1.6 unless you know what to do. The easiest way is contact author of your theme.
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
{$ps_header_index}
<table width="100%" border="0">
<tr>
<td width="75%" valign="top">{$welcomeguest}
{$forums}
{$recenttopics}
{$ps_footer_index}
</td>



<ul class="forum_legend smalltext">
<li><img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle;" /> <span class="smalltext">{$lang->new_posts}</span></li>
<li><img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle;" /> <span class="smalltext">{$lang->no_new_posts}</span></li>
<li><img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /> <span class="smalltext">{$lang->forum_locked}</span></li>
</ul>
<br />
{$boardstats}

{$footer}
</body>
</html>
(2010-08-07, 12:41 PM)MattRogowski Wrote: [ -> ]Index template, not file Smile

Huh? I didn't say file :p

As Matt said can you please post your header and your footer template here Smile
I don't know why you've got this:

<table width="100%" border="0">
<tr>
<td width="75%" valign="top">{$welcomeguest}
{$forums}
{$recenttopics}
{$ps_footer_index}
</td>

Everything's in the same table cell which is only taking up 75% of the width. The reason the layout is breaking is because the table row and table itself isn't closed. Change it to this:

{$welcomeguest}
{$forums}
{$recenttopics}
{$ps_footer_index}

Or if you really need the table for whatever reason, use this:

<table width="100%" border="0">
<tr>
<td width="75%" valign="top">{$welcomeguest}
{$forums}
{$recenttopics}
{$ps_footer_index}
</td>
</tr>
</table>
thanks MattRogowski for help