An old thread but it's right in line with what I'm looking for. I'm using the Pandora theme from once upon a long time ago. I know it was written for RC5 but I like it and it still works.
It does put an error in my error log when anyone clicks on unread posts and there are unread posts to see:
http://www.tallingroth.ca/index.php?action=unreadApply Filter: Only show the errors with the same message
8: Undefined index:
File: /home/cy4410/public_html/tallingroth/Themes/pandora_smf20rc5b/Recent.template.php
Line: 209
The line in question is this one:
$mootip = $topic[$which_post]['preview'];
from this area of code:
if(!empty($settings['showmootips']))
{
$which = !empty($settings['firstpreview']) ? 'first' : 'last';
$which_post = $which.'_post';
$mootip = '
<img src=' . (!empty($avvy[$topic[$which_post]['member']['id']]) ? $avvy[$topic[$which_post]['member']['id']] : $settings['images_url'].'/TPguest.png') . ' class=mooavy />
<span class=greysmalltext>' . $which .' post by <b>'.$topic[$which_post]['member']['name'].'</b><br>' . $topic[$which_post]['time'] . '</span>
<hr><div> '. $topic[$which_post]['preview'].'</div>';
}
else
$mootip = $topic[$which_post]['preview'];
I've tried declaring those variables up top in a multitude of ways but can't seem to get it right. Any help would be great. It's not killing the forum by any means but sometimes it does bury other errors I'm trying to find when I do tweaks.
Thanks guys.