I have the recent topic's block installed and it works very well except for it does not show certain members posts as recent. It works flawlessly for the majority of users though. I do not have a good basis for code work (read none) and I cannot see any problems. Any help would be appreciated.
global $scripturl;
echo '
<table border="0" width="100%" cellspacing="1" cellpadding="4" class="bordercolor">
<tr><td colspan="3" class="titlebg">Recent topics</td></tr> ';
$what=ssi_recentTopics('8', NULL, 'array');
foreach ($what as $topic)
{
echo '
<tr>
<td class="windowbg" valign="middle">
', $topic['link'];
// Is this topic new? (assuming they are logged in!)
if (!$topic['new'] && $context['user']['is_logged'])
echo '
<a href="', $scripturl, '?topic=', $topic['topic'], '.from', $topic['new_from'], '#new"><img src="', $settings['images_url'], '/', $context['user']['language'], '/new.gif" alt="', $txt[302], '" border="0" /></a>';
echo '
</td>
<td class="windowbg2" valign="middle" width="20%">
', $topic['poster']['link'], '
</td>
<td class="windowbg2" valign="middle" width="35%">';
if ($settings['images_url'] != $settings['theme_url'] . '/images' || file_exists($settings['theme_dir'] . '/images/icons/last_post.gif'))
echo '
<a href="', $topic['href'], '"><img src="', $settings['images_url'], '/icons/last_post.gif" alt="', $txt[111], '" title="', $txt[111], '" border="0" style="float: right;" /></a>';
echo '
<span class="smalltext">
', $topic['time'], '
</span>
</td>
</tr>';
}
echo '
</table>';
Have you checked the block itself and looked at the member groups who have permission to view it?
This is covered in the FAQs, in this board.Actually, I've just re-read your post, I didn't read it correctly.
Quoteit does not show certain members posts as recent.
Apologies for that.
Any particular member groups? Post Count Based? Any permissions that may be causing this?
Any particular board?
I think it is solved. I'm not too sure what the problem was but I changed some setting and it worked. Will try and get a better understanding of the issue. Thanks
Okay, cool. I did try it on my site and didn't notice any problems with it.
Let us know if you figure out what it was.
I'll mark this solved for now.