Anyone know how to make the Recent Topics open to a full page like how the Shoutbox! can open to a new page.
I addition, it would be cool if it could list the threads by the following columns in this full page:
- Subject (thread topic)
- Started by (member name)
- Replies (number of replies)
- Views (number of views)
- Last post (showing the date, time, and user who last modified thread)
:)
You can go to TP admin session --> Block manager and limit it with your number !
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg77.imageshack.us%2Fimg77%2F4182%2Frecents4ti.jpg&hash=62dcb5d14458f6df426a15043240e85c1ebf68dd)
Read more about your add: http://www.tinyportal.net/smf/index.php?topic=596.40
Right now my Recent Topics is a right block, which I like, but I want the option to make it a full page with some enhancements.
I will see if I can add that full-page option, like shoutbox does. What extras were you thinking of?
Quote from: Bloc on January 23, 2006, 11:52:46 AM
I will see if I can add that full-page option, like shoutbox does. What extras were you thinking of?
In addition to the date/time stamp and Topic Name, these extras would be great:
- Started by (member name)
- Replies (number of replies)
- Views (number of views)
- Last post (showing the date, time, and user who last modified thread)
Just like this site has - http://www.chevyavalanchefanclub.com/cafcna/index.php?action=last24
Have you tried this in a center block?
echo '
<table border="0" width="100%" cellspacing="1" cellpadding="4" class="bordercolor">
';
$what=ssi_recentTopics('5', 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['newtime'], '#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>';
Written by Bloc. I may have made some comestic changes to it, I dunno.
Thank you for find that code Xarcell. That's very close to what I'm looking for. I'd still, if possible, would like to have it as a right block, with a link to open a new dedicated page of its own like the shoutbox!
That is so close though! :)
If your looking for a chat system, there are a few out there.
I recommend flash chat. Very fast, comes with tons of features, and even has sounds.
However, it costs $5. It's worth the price, and comes with the SMF intergration package. It intergrades itself into SMF if you choose to at the installation page. No coding nesscessary.
Quote from: Xarcell on January 26, 2006, 02:02:14 AM
If your looking for a chat system, there are a few out there.
I recommend flash chat. Very fast, comes with tons of features, and even has sounds.
However, it costs $5. It's worth the price, and comes with the SMF intergration package. It intergrades itself into SMF if you choose to at the installation page. No coding nesscessary.
Hi Xarcell,
Thanks for the info on the Flash Chat. I installed that feature too, but still looking to have a separate page of just recent topics just like this - http://www.chevyavalanchefanclub.com/cafcna/index.php?action=last24
Not sure how the admin got to show the last24 worth of last modified topics on a separate page, but that's what I'm looking for. If not the last 24, then at least the last 50 topics.