<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>bbPress Plugin Browser Topic: Unread Posts</title>
<link>http://bbpress.org/plugins/</link>
<description>bbPress Plugin Browser Topic: Unread Posts</description>
<language>en</language>
<pubDate>Mon, 22 Mar 2010 08:09:52 +0000</pubDate>

<item>
<title>ootes on "Unread Posts"</title>
<link>http://bbpress.org/plugins/topic/unread-posts/page/3/#post-5067</link>
<pubDate>Fri, 18 Dec 2009 09:55:15 +0000</pubDate>
<dc:creator>ootes</dc:creator>
<guid isPermaLink="false">5067@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;i'm using this plugin, many thanx for all the effort but..&#60;br /&#62;
why doesn't it work out with subforums&#60;br /&#62;
i need to be the parrent also highlighted when there is a new post in the child forums
&#60;/p&#62;</description>
</item>
<item>
<title>merlin214365 on "Unread Posts"</title>
<link>http://bbpress.org/plugins/topic/unread-posts/page/3/#post-4816</link>
<pubDate>Tue, 27 Oct 2009 02:22:53 +0000</pubDate>
<dc:creator>merlin214365</dc:creator>
<guid isPermaLink="false">4816@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Using BBpress 1.0.2&#60;br /&#62;
As stated by citizenkeith i have the same issue but only when using this on the forumlist.&#60;br /&#62;
New topics do not show with span tags only new posts to old topics.&#60;br /&#62;
Every thing works great when using this plugin on latest descusion though new posts and topics show.&#60;/p&#62;
&#60;p&#62;Im assuming the error is because of the newer version of bbpress and im guessing the error is somewhere in these lines&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;function up_mark_forum_unread($item) {
global $bbdb,$bb_current_user, $forum, $unread_posts,$up_last_login,$up_forums,$up_last_login_forums;
if (!isset($up_forums)) {			// unfortunately requires an extra query, data impossible to store
	$user = bb_get_user($bb_current_user-&#38;gt;ID);
	if ($user-&#38;gt;up_read_topics) {$up_forums=@$bbdb-&#38;gt;get_col(&#38;quot;SELECT DISTINCT forum_id FROM $bbdb-&#38;gt;topics WHERE topic_id IN (&#38;quot;.trim($user-&#38;gt;up_read_topics,&#38;quot;, &#38;quot;).&#38;quot;) AND topic_last_post_id  NOT IN (&#38;quot;.trim($user-&#38;gt;up_last_posts,&#38;quot;, &#38;quot;).&#38;quot;) &#38;quot;);}
	if (is_array($up_forums)) {$up_forums=array_flip($up_forums);} else 	{$up_forums=array();}
if ($unread_posts[&#38;#39;indicate_last_login&#38;#39;] &#38;amp;&#38;amp; !isset($up_last_login_forums)) {		// unfortunately requires an extra query, data impossible to store
	$up_last_login_forums=@$bbdb-&#38;gt;get_col(&#38;quot;SELECT DISTINCT forum_id FROM $bbdb-&#38;gt;topics WHERE  topic_time &#38;gt;= &#38;#39;&#38;quot;.gmdate(&#38;#39;Y-m-d H:i:s&#38;#39;,$up_last_login).&#38;quot;&#38;#39; &#38;quot;
					.(($user-&#38;gt;up_read_topics) ? &#38;quot;AND  topic_id NOT IN (&#38;quot;.trim($user-&#38;gt;up_read_topics,&#38;quot;, &#38;quot;).&#38;quot;)&#38;quot; : &#38;quot;&#38;quot;) );
	if (is_array($up_last_login_forums)) {$up_last_login_forums=array_flip($up_last_login_forums);} else {$up_last_login_forums=array();}
}
}
if ($unread_posts[&#38;#39;use_row_class&#38;#39;]) {
if (isset($up_forums[$forum-&#38;gt;forum_id])) {$item=rtrim($item,&#38;#39;&#38;quot; &#38;#39;).&#38;#39; unread_posts_row&#38;quot;&#38;#39;;}
elseif ($unread_posts[&#38;#39;indicate_last_login&#38;#39;] &#38;amp;&#38;amp; isset($up_last_login_forums[$forum-&#38;gt;forum_id])) {$item=rtrim($item,&#38;#39;&#38;quot; &#38;#39;).&#38;#39; unread_login_row&#38;quot;&#38;#39;;}
} else {
if (isset($up_forums[$forum-&#38;gt;forum_id])) {$item = &#38;#39;&#38;lt;span class=&#38;quot;unread_posts&#38;quot;&#38;gt;&#38;#39; . $item . &#38;#39;&#38;lt;/span&#38;gt;&#38;#39;;}
elseif ($unread_posts[&#38;#39;indicate_last_login&#38;#39;] &#38;amp;&#38;amp; isset($up_last_login_forums[$forum-&#38;gt;forum_id])) {$item = &#38;#39;&#38;lt;span class=&#38;quot;unread_login&#38;quot;&#38;gt;&#38;#39; . $item . &#38;#39;&#38;lt;/span&#38;gt;&#38;#39;;}
}
return $item;
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>citizenkeith on "Unread Posts"</title>
<link>http://bbpress.org/plugins/topic/unread-posts/page/3/#post-4787</link>
<pubDate>Wed, 21 Oct 2009 14:46:29 +0000</pubDate>
<dc:creator>citizenkeith</dc:creator>
<guid isPermaLink="false">4787@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;I've noticed that (for me) this plugin doesn't actually count a brand-new topic as a new post. So while topics with new posts show up bold, new topics don't show up bold. Any way to add this functionality? I'm using 0.9.0.6 on a Linux system (MediaTemple shared hosting).
&#60;/p&#62;</description>
</item>
<item>
<title>bbhack on "Unread Posts"</title>
<link>http://bbpress.org/plugins/topic/unread-posts/page/3/#post-4529</link>
<pubDate>Tue, 08 Sep 2009 23:37:43 +0000</pubDate>
<dc:creator>bbhack</dc:creator>
<guid isPermaLink="false">4529@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Just an update. I think _ck_ 's code is probably fine. What I discovered is that the up_last_login time wasn't being updated when my users were logging in. &#60;/p&#62;
&#60;p&#62;The plugin uses the action bb_user_login to update the login time. But if you are using some other login integration (like me) and the bb_login function is never called, then the login time will not be updated (except when you click the Mark all as read link).&#60;/p&#62;
&#60;p&#62;I fixed my code login code (which only calls set_auth_cookie) to have the do_action call for bb_user_login and now it is working fine.
&#60;/p&#62;</description>
</item>
<item>
<title>bbhack on "Unread Posts"</title>
<link>http://bbpress.org/plugins/topic/unread-posts/page/3/#post-4528</link>
<pubDate>Tue, 08 Sep 2009 22:57:08 +0000</pubDate>
<dc:creator>bbhack</dc:creator>
<guid isPermaLink="false">4528@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;I'm seeing the same behavior as anandasama on my 1.0.2 install.&#60;/p&#62;
&#60;p&#62;I think there may be a logic flaw in the plugin. Hopefully, _ck_ will comment.&#60;/p&#62;
&#60;p&#62;When you click the mark as read link, it updates the bb_usermeta table and sets the new up_last_login time. The update prepends the current time to the current value and separates them with a &#124;. So you get something like this:&#60;/p&#62;
&#60;p&#62;new_last_login_time&#124; old_last_login_time&#60;/p&#62;
&#60;p&#62;When the code then tried to read back out last_login_time it does this:&#60;br /&#62;
&#60;code&#62;$up_last_login=trim(end(explode(&#38;quot;&#124;&#38;quot;,&#38;quot;&#124;&#38;quot;.$user-&#38;gt;up_last_login)));&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;So what it actually fetches is the old_last_login time. This is what is causing the weird behavior. The plugin is using the old login time instead of the new one so it then shows all posts since the old login time as being unread. When you click the mark as read link a second time, you overwrite the values again so that's why the unread highlights finally go away.&#60;/p&#62;
&#60;p&#62;A way to fix this would be to change the code to be this:&#60;br /&#62;
&#60;code&#62;$up_last_login = trim(reset(explode(&#38;quot;&#124;&#38;quot;,$user-&#38;gt;up_last_login)));&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;This will make the code fetch the new login time instead.
&#60;/p&#62;</description>
</item>
<item>
<title>chandersbs on "Unread Posts"</title>
<link>http://bbpress.org/plugins/topic/unread-posts/page/3/#post-4352</link>
<pubDate>Tue, 18 Aug 2009 10:04:41 +0000</pubDate>
<dc:creator>chandersbs</dc:creator>
<guid isPermaLink="false">4352@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;I saw on bbshowcase.org the ability to view all unread topics via a single button. &#60;/p&#62;
&#60;p&#62;How can I achieve that too?
&#60;/p&#62;</description>
</item>
<item>
<title>anandasama on "Unread Posts"</title>
<link>http://bbpress.org/plugins/topic/unread-posts/page/3/#post-4202</link>
<pubDate>Sun, 02 Aug 2009 19:23:07 +0000</pubDate>
<dc:creator>anandasama</dc:creator>
<guid isPermaLink="false">4202@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;I use 1.0.1 and I have to click twice to update all topics read, and the bold link takes me to the last post.&#60;br /&#62;
Is this because I use 1.0 ?&#60;/p&#62;
&#60;p&#62;And Is there a way to flag the topic automatically as read after looking at it?&#60;br /&#62;
For now they keep higlighted until i clear all posts read.&#60;/p&#62;
&#60;p&#62;And on a sidenote, It would be nice with a function to mark specific threads as read too instead of everone at the same time.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Unread Posts"</title>
<link>http://bbpress.org/plugins/topic/unread-posts/page/3/#post-3983</link>
<pubDate>Thu, 16 Jul 2009 14:43:11 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">3983@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;I would be very surprised if this worked on 1.0 right now. It's fairly complex.
&#60;/p&#62;</description>
</item>
<item>
<title>alexleonard on "Unread Posts"</title>
<link>http://bbpress.org/plugins/topic/unread-posts/page/3/#post-3982</link>
<pubDate>Thu, 16 Jul 2009 14:31:13 +0000</pubDate>
<dc:creator>alexleonard</dc:creator>
<guid isPermaLink="false">3982@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Out of interest does this work with version 1? (it says compatible up to 0.9 but some of those seem to work ok on 1)
&#60;/p&#62;</description>
</item>
<item>
<title>Darshan600 on "Unread Posts"</title>
<link>http://bbpress.org/plugins/topic/unread-posts/page/3/#post-3748</link>
<pubDate>Mon, 22 Jun 2009 19:55:23 +0000</pubDate>
<dc:creator>Darshan600</dc:creator>
<guid isPermaLink="false">3748@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Hi - I have your BBpress plugin at &#60;a href=&#34;http://www.spreadtraderpro.com/bbpress&#34; rel=&#34;nofollow&#34;&#62;http://www.spreadtraderpro.com/bbpress&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I'm not a coder so I wou;d be interested if someone would give me a price to add a small icon where posts are unread.
&#60;/p&#62;</description>
</item>
<item>
<title>deseo76 on "Unread Posts"</title>
<link>http://bbpress.org/plugins/topic/unread-posts/page/2/#post-3675</link>
<pubDate>Mon, 15 Jun 2009 07:56:41 +0000</pubDate>
<dc:creator>deseo76</dc:creator>
<guid isPermaLink="false">3675@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;Great plugin like the rest you've made _ck_ ! I would like to ask you something...&#60;br /&#62;
Is there a possibility of adding an icon in a different column when a topic is unread and when a forum includes unread topics?&#60;br /&#62;
And if so, how can I do this?&#60;br /&#62;
In fact I am not so familiar with all this coding but I really try :P
&#60;/p&#62;</description>
</item>
<item>
<title>sclough on "Unread Posts"</title>
<link>http://bbpress.org/plugins/topic/unread-posts/page/2/#post-3514</link>
<pubDate>Wed, 27 May 2009 16:34:29 +0000</pubDate>
<dc:creator>sclough</dc:creator>
<guid isPermaLink="false">3514@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;This is a great plugin, but I noticed the &#34;Mark All Read&#34; is seeming to work backwards.  If I click it once, it marks what was previously read as unread.  I click it another time and it works correctly.  Has anyone else noticed this?  It's pretty consistent behavior for me.
&#60;/p&#62;</description>
</item>
<item>
<title>renkei on "Unread Posts"</title>
<link>http://bbpress.org/plugins/topic/unread-posts/page/2/#post-3417</link>
<pubDate>Thu, 14 May 2009 08:52:36 +0000</pubDate>
<dc:creator>renkei</dc:creator>
<guid isPermaLink="false">3417@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;how i can do to mark topic as unread if i didn't post in ?
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Unread Posts"</title>
<link>http://bbpress.org/plugins/topic/unread-posts/page/2/#post-3384</link>
<pubDate>Sat, 09 May 2009 10:59:48 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">3384@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;There are two colors indicating two different things.&#60;br /&#62;
There is a lighter blue indicating truly unread posts.&#60;br /&#62;
However if a user is new or you &#34;mark all read&#34; there is a fallback function that highlights posts that are only new since last login. That was actually a feature request by someone else awhile back.&#60;/p&#62;
&#60;p&#62;You can disable that. Change this line near the top&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$unread_posts[&#38;#39;indicate_last_login&#38;#39;]=false;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>renkei on "Unread Posts"</title>
<link>http://bbpress.org/plugins/topic/unread-posts/page/2/#post-3358</link>
<pubDate>Fri, 08 May 2009 10:52:54 +0000</pubDate>
<dc:creator>renkei</dc:creator>
<guid isPermaLink="false">3358@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;hi !&#60;br /&#62;
there is some bug .. when i do this : &#34;$unread_posts['indicate_forums']=true; &#34;&#60;br /&#62;
the colour of unread stay even if i read all the forum ... &#60;/p&#62;
&#60;p&#62;and other things : the title of the page is &#38;lt;span class=&#34;unreadlogin&#38;gt;...etc  &#60;/p&#62;
&#60;p&#62;ps : i'm french .. bad english :p
&#60;/p&#62;</description>
</item>
<item>
<title>circuit on "Unread Posts"</title>
<link>http://bbpress.org/plugins/topic/unread-posts/page/2/#post-2760</link>
<pubDate>Tue, 03 Feb 2009 22:57:57 +0000</pubDate>
<dc:creator>circuit</dc:creator>
<guid isPermaLink="false">2760@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;apologies, i figured this out. there was something strange going on with my CSS which was causing very odd behaviour. i fixed it by being very specific with my CSS declarations, so there was no way the browser could misinterpret what i was trying to achieve!&#60;/p&#62;
&#60;p&#62;#latest td a {&#60;br /&#62;
color:#333; }&#60;/p&#62;
&#60;p&#62;#latest td a {&#60;br /&#62;
color:#333; }&#60;/p&#62;
&#60;p&#62;#latest td a .unread_posts {&#60;br /&#62;
color:#2e6e15; }&#60;/p&#62;
&#60;p&#62;#latest td .unread_login{&#60;br /&#62;
color:#2e6e15; }
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Unread Posts"</title>
<link>http://bbpress.org/plugins/topic/unread-posts/page/2/#post-2754</link>
<pubDate>Tue, 03 Feb 2009 17:04:57 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">2754@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;The topic should be marked read when you visit a post beyond the last one.&#60;/p&#62;
&#60;p&#62;Are you using 0.9 or 1.0 ?
&#60;/p&#62;</description>
</item>
<item>
<title>circuit on "Unread Posts"</title>
<link>http://bbpress.org/plugins/topic/unread-posts/page/2/#post-2753</link>
<pubDate>Tue, 03 Feb 2009 16:40:40 +0000</pubDate>
<dc:creator>circuit</dc:creator>
<guid isPermaLink="false">2753@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;i can't edit my post above - i got here a minute too late, so apologies for the repeated posts.&#60;/p&#62;
&#60;p&#62;i don't know if it's a session issue but it seems some threads just will NOT appear 'read' no matter how or when i look at them. i am going to monitor this and will come back once i've figured out what these threads have in common.
&#60;/p&#62;</description>
</item>
<item>
<title>circuit on "Unread Posts"</title>
<link>http://bbpress.org/plugins/topic/unread-posts/page/2/#post-2751</link>
<pubDate>Tue, 03 Feb 2009 15:39:07 +0000</pubDate>
<dc:creator>circuit</dc:creator>
<guid isPermaLink="false">2751@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;hm, the behaviour has now reversed again. threads i read last time i visited still appear unread even though they are read, but anything i read now is working as it should. i haven't logged in/out but i did leave the board for an hour or so. is there something weird going on with cookies, i wonder?
&#60;/p&#62;</description>
</item>
<item>
<title>circuit on "Unread Posts"</title>
<link>http://bbpress.org/plugins/topic/unread-posts/page/2/#post-2749</link>
<pubDate>Tue, 03 Feb 2009 14:26:18 +0000</pubDate>
<dc:creator>circuit</dc:creator>
<guid isPermaLink="false">2749@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;i also have the problem where reading a topic marks it as unread.&#60;br /&#62;
the plugin worked at first and now it is working backwards.&#60;/p&#62;
&#60;p&#62;feel free to test:&#60;br /&#62;
&#60;a href=&#34;http://www.copsandrobbers.net/messageboard/forum.php?id=1&#34; rel=&#34;nofollow&#34;&#62;http://www.copsandrobbers.net/messageboard/forum.php?id=1&#60;/a&#62;
&#60;/p&#62;</description>
</item>

</channel>
</rss>
