Sorry if this is a repeat request - I couldn't find it...
Anyway, it would be really cool if there was an ssi_unreadReplies function, which shows an SSI version of http://www.simplemachines.org/community/index.php?action=unreadreplies.
Cheers and thanks
Sounds cool. :)
I'll see later if I can write that. I'll get back to you.
Awesome! :D
Ok, this is a *really* quick and dirty version, but it works:
<?php// Include standard SSI stuffrequire("/var/www/html/forums/SSI.php");// We also need Recent.php to get the unread replies arrayrequire("/var/www/html/forums/Sources/Recent.php");// Log user activitywriteLog();// Make the call, get the arrayUnreadTopics();echo '<table>';foreach ($context['topics'] as $post){ echo '<tr> <td align="right" valign="top" nowrap="nowrap"> [', $post['board']['link'], '] </td> <td valign="top"> <a href="', $post['href'], '">', $post['subject'], '</a> ', $txt[525], ' ', $post['last_post']['member']['link'], ' ', $post['new'] ? '' : '<a href="' . $scripturl . '?topic=' . $post['id'] . '.from' . $post['newtime'] . ';topicseen#new"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/new.gif" alt="' . $txt[302] . '" border="0" /></a>', ' </td> <td align="right" nowrap="nowrap"> ', $post['last_post']['time'], ' </td> </tr>';}echo '</table>';?>