Link to Mod (http://mods.simplemachines.org/index.php?mod=46)
Written by [Unknown], I only did minor changes.
http://www.simplemachines.org/community/index.php?topic=18253.0
This mod will add the action "unreplied" which displays the topics without a reply yet.
Copyright 2004 by Cristian Lavaque. http://anguz.net
Can't install this. I see it in my Package Manager listing but there is no install option only list files and delete.
It mustnt be updated yet for your version of smf.
Is the download link broken?
Works for me.
Hmm, in IE it works, it doesn't in Firefox.
everytime i click on unreplied it gave me this error
Fatal error: Cannot redeclare template_unreplied() (previously declared in /usr/home/mixspot/public_html/community/Sources/Load.php(1103) : eval()'d code:177) in /usr/home/mixspot/public_html/community/Sources/Load.php(1103) : eval()'d code on line 294
what can i do to fix it??
You didn't uninstall the previous version before installing this one and now you have template_unreplied() twice it seems. Remove one. :)
Is there anyway to get this to work in classic theme? Is it merely a matter of moving files or what? Thanks.
Chris
No need to move files. In your template add a link with the action unreplied, like:
http://www.example.com/smf/index.php?action=unreplied
I'm having problems with ur mods....
Actions for instalation weren't defined!
(Traduced from Spanish)
But I have installed some more mods today....
The strings I only used the ones for english. If anyone feels like translating the strings in my mods to your language, go ahead, all I ask is that you post them in the mod's topic so others can use them too. :)
No, I mean it doesnt install....
That's the error message is told to me....
My mods aren't updated for SMF 1.0.3 yet, that may be the problem.
That is....
I'll have to wait..... Ur mods are usually great!
:D
I will work on the Theme while I wait...... ;D
Not working on 1.0.5 either?
i'm hoping that this will work with 1.0.5 soon
thanks!
Thanks for reminding me, I really am late with this update. :P
any update for this? is it working now for SMF 1.1B3?
this could be a VERY handy tools, my board is getting crowded.
thanks man, please let us know the plan.
In 1.1 you can now sort the topics in the unread action, like this:
http://www.simplemachines.org/community/index.php?action=unread;sort=replies
so I won't be updating this mod for 1.1 since it's there really. :)
Quote from: Anguz on September 11, 2005, 12:54:43 AMIn 1.1 you can now sort the topics in the unread action, like this:
http://www.simplemachines.org/community/index.php?action=unread;sort=replies
so I won't be updating this mod for 1.1 since it's there really. :)
But this is not the same actually! Many times I want to see topics, where my post was the last one.
Well, this mod won't work for you, then, unless you created the topic and had no replies. It doesn't show topics with a reply or more, no matter who replied last. This just lists unreplied-to topics, that is, with 0 replies. HTH.
Quote from: Anguz on January 14, 2006, 04:19:08 AMWell, this mod won't work for you, then, unless you created the topic and had no replies. It doesn't show topics with a reply or more, no matter who replied last. This just lists unreplied-to topics, that is, with 0 replies. HTH.
ok. now I got it. thnx for explaining.
NP.
Sorry for digging this tread out....
this mod shows all "my" unanswered topics ?
And not all unread treads since my last visit ? (i need that)
thanxi !
How about showing Unreplied posts in SMF 1.1 RC3, ie topics without any replies so that I or a forum member can go and update it.
Quote from: udeze on October 24, 2006, 04:07:10 PM
How about showing Unreplied posts in SMF 1.1 RC3, ie topics without any replies so that I or a forum member can go and update it.
Yes I can use something like this. I want to make sure that every topic has at least on reply. I know how it feels when you post something and no one bothers replying to it.
Has anyone been able to fix this mod for 1.1.1? There's some code that doesn't work anymore due to columns that no longer exist in the database (or exist but somewhere else).
I did look at the code but it was beyond me :'(
I hate to bring up old threads, but I would really enjoy having this mod ported to the current smf version.
The goal would be for any posts that have been unanswered (whether read or not) to show up in a search. In the search query you posted above, this will only show topics with 0 replies if you have not viewed them previously.
Could someone please help us out?
Hi,
I Installed this Mod manually and see there is a problem with the query in the funktion UnrepliedTopics(). I changed the query to the following and then it worked.
$request = db_query("
SELECT
ms.subject AS firstSubject, ms.posterTime AS firstPosterTime, ms.ID_TOPIC, t.ID_BOARD, b.name AS bname,
t.numReplies, t.numViews, ms.ID_MEMBER AS ID_FIRST_MEMBER, ml.ID_MEMBER AS ID_LAST_MEMBER,
ml.posterTime AS lastPosterTime, ml.modifiedTime AS lastModifiedTime, ms.posterName AS firstPosterName,
ml.posterName AS lastPosterName, ml.subject AS lastSubject,
ml.icon AS lastIcon, ms.icon AS firstIcon, t.ID_POLL, t.isSticky, t.locked, ml.modifiedTime AS lastModifiedTime,
0 AS isRead, LEFT(ml.body, 384) AS lastBody, LEFT(ms.body, 384) AS firstBody,
ml.smileysEnabled AS lastSmileys, ms.smileysEnabled AS firstSmileys, t.ID_FIRST_MSG, t.ID_LAST_MSG
FROM {$db_prefix}messages AS ms, {$db_prefix}messages AS ml, {$db_prefix}topics AS t, {$db_prefix}boards AS b
WHERE b.ID_BOARD = t.ID_BOARD
AND $query_this_board
AND t.ID_FIRST_MSG = t.ID_LAST_MSG
AND ms.ID_MSG = t.ID_FIRST_MSG
AND ml.ID_MSG = t.ID_LAST_MSG
ORDER BY ml.ID_MSG DESC
LIMIT $_REQUEST[start], $modSettings[defaultMaxTopics]", __FILE__, __LINE__);
I also changed the position of the link in the boardindex_template.php in default Theme. At the place where the Button for markasread was, I placed this code:
// Build the normal button array.
$normal_buttons = array(
'unreplied' => array('text' => 4520, 'image' => 'markread.gif', 'lang' => true, 'url' => $scripturl . '?action=unreplied'),
'markread' => array('text' => 452, 'image' => 'markread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=all;sesc=' . $context['session_id']),
);
echo '
<table cellpadding="0" cellspacing="0" border="0" style="position: relative; top: -5px;">
<tr>
', template_button_strip($normal_buttons, 'top'), '
</tr>
</table>';
See attachment for details.
I'm not exactly sure if I have to insert this code or replace on the boardindex.template.php file. Could you please explain what exactly I need to do with the code. I'm no SMF expert.
Only for default theme!
Open boardindex_template.php
Search (Line about 204):
// Mark read button.
$mark_read_button = array('markread' => array('text' => 452, 'image' => 'markread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=all;sesc=' . $context['session_id']));
// Show the mark all as read button?
if ($settings['show_mark_read'] && !empty($context['categories']))
echo '
<table cellpadding="0" cellspacing="0" border="0" style="position: relative; top: -5px;">
<tr>
', template_button_strip($mark_read_button, 'top'), '
</tr>
</table>';
Replace:
// Build the normal button array.
$normal_buttons = array(
'unreplied' => array('text' => 4520, 'image' => 'markread.gif', 'lang' => true, 'url' => $scripturl . '?action=unreplied'),
'markread' => array('text' => 452, 'image' => 'markread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=all;sesc=' . $context['session_id']),
);
echo '
<table cellpadding="0" cellspacing="0" border="0" style="position: relative; top: -5px;">
<tr>
', template_button_strip($normal_buttons, 'top'), '
</tr>
</table>';
Open index.german.php or index.english.php in folder languages and add somewhere (maybe at the end before ?> following:
$txt[4520] = 'Unreplied Topics;
What is missing in the mod is the modification at index.php so that the function can be called:
Insert inside the big array following line:
'unreadreplies' => array('Recent.php', 'UnreadTopics'),
The above query, apart from using a field that doesn't exists (logTime), it doesn't works with MySQL 5.
Replace the line
FROM {$db_prefix}messages AS ms, {$db_prefix}messages AS ml, {$db_prefix}topics AS t, {$db_prefix}boards AS b
with
FROM ({$db_prefix}messages AS ms, {$db_prefix}messages AS ml, {$db_prefix}topics AS t, {$db_prefix}boards AS b)
1.1.7 ???
anyone have any luck updating this
Hello, could this mod be updated for SMF 1.1.16 please?
Would be nice for SMF 2.0.2 also, unless there is already something similar that I missed.
Quote from: ApplianceJunk on November 05, 2012, 02:01:37 PM
Would be nice for SMF 2.0.2 also, unless there is already something similar that I missed.
+1
Well, hopefullly someone can take this up
great mod.
Bump
Hello, any working version for SMF 1.1.17 ?