Hello. I hope someone here can help us with this. I just checked our forum error log, and though our forum has only been open to our members for a few days, we have 170 pages of this message:
Lainaa8: Undefined index: topbottomEnable
File: /home/milstori/public_html/forum/Themes/7dana_smf/Display.template.php (eval?)
Line: 495
I opened the display.template.php and found the line in question (the one in bold):
Lainaa<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="margin-top: 1ex;">
<tr>
<td align="left" class="catbg" width="100%" height="30">
<table cellpadding="3" cellspacing="0" width="100%">
<tr>
<td>
<a name="bot"></a><b>', $txt[139], ':</b> ', $context['page_index'], ($modSettings['topbottomEnable'] ? $context['menu_separator'] . '<a href="#top">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/go_up.gif" alt="' . $txt['topbottom4'] . '" border="0" align="top" />' : $txt['topbottom4']) . '</a>' : ''), '
</td>
<td align="right" style="font-size: smaller;">';
Help..?
Does this occur on the default theme as well? If not, you might want to post this in the 7dana theme's topic instead for more support.
We changed the theme and haven't had the problem. I'll post in teh 7dana topic as well, though. Thank you!
Change that line to this:
<a name="bot"></a><b>', $txt[139], ':</b> ', $context['page_index'], (!empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . '<a href="#top">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/go_up.gif" alt="' . $txt['topbottom4'] . '" border="0" align="top" />' : $txt['topbottom4']) . '</a>' : ''), '