<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — [Update] Track topics in database 1.0.2]]></title>
		<link>https://punbb.informer.com/forums/topic/25653/update-track-topics-in-database-102/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/25653/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [Update] Track topics in database 1.0.2.]]></description>
		<lastBuildDate>Tue, 16 Apr 2013 18:01:23 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [Update] Track topics in database 1.0.2]]></title>
			<link>https://punbb.informer.com/forums/post/148858/#p148858</link>
			<description><![CDATA[<p>Great! Thank you very much. Very usefull.</p>]]></description>
			<author><![CDATA[null@example.com (Mindaugass)]]></author>
			<pubDate>Tue, 16 Apr 2013 18:01:23 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/148858/#p148858</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Update] Track topics in database 1.0.2]]></title>
			<link>https://punbb.informer.com/forums/post/148393/#p148393</link>
			<description><![CDATA[<p>Thanks, I was really looking for extension like that because I have many troubles with the current PunBB topics tracking system.</p>]]></description>
			<author><![CDATA[null@example.com (Trace)]]></author>
			<pubDate>Sat, 16 Mar 2013 11:07:01 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/148393/#p148393</guid>
		</item>
		<item>
			<title><![CDATA[[Update] Track topics in database 1.0.2]]></title>
			<link>https://punbb.informer.com/forums/post/147360/#p147360</link>
			<description><![CDATA[<p><a href="http://bedroom.guitarist.free.fr/share/db_tracktopics.zip">Download here</a> (version 1.0.2)</p><p>This is simply a repackaging of my extension, with the manifest file changed to support the latest PunBB version, as everything just worked when I tested it.</p><p><strong>TL;DR : When you read a new topic, PunBB marks it as read in a tracking cookie, which is fine if you always visit your forum from the same computer. This extension tracks the topics in the database instead, so you don&#039;t see old topics highlighted when you&#039;ve already read them on another device.</strong></p><p>Reposting the blurb that I wrote for the initial release :</p><div class="quotebox"><blockquote><p>(License : <a href="http://sam.zoy.org/wtfpl">WTFPL</a>)</p><p>Back in the days of PunBB 1.2, new posts were highlighted until you logged out (or timed out), even when you had read them (unless you used <a href="http://www.punres.org/viewtopic.php?id=321">this mod</a>). PunBB 1.3 improved this by keeping track of the posts you read in a tracking cookie, which is simple enough but not suited to my needs.</p><p>In the default installation, PunBB is configured with a visit timeout of 10 minutes, which means that you have to read all the new posts right away : if you go take a walk or something for 20 minutes, you&#039;ll lose track of everything you hadn&#039;t read.</p><p>To accomodate my users who like to idle all day long but not miss one post, my PunBB board is set up with o_timeout_visit = 86400 (24 hours). Problem is, some of us log in from different locations during the day (home, office, iPhone) and so posts that we <em>have</em> read are marked as new (because the cookie is different)</p><p>With this extension, your read posts are stored in the database (new column &quot;tracked_topics&quot; in the &quot;users&quot; table)</p><p>You could say that my extension corrects a self-inflicted problem, and you&#039;d be right, but maybe a PunBB board admin somewhere needs it too, so there it is.</p><p><strong>PLEASE NOTE</strong> :<br />- This extension might hurt your database performance a tiny bit (count 1 more UPDATE query for each topic view by each user)<br />- Not useful if your o_timeout_visit is lower than 1 or 2 hours, or if each of your users only has one computer<br />- Just after installing the extension, users currently logged in will see some already read messages reappear as new : this is perfectly normal since the new tracking has to start somewhere ! Everything will be back to normal once the users mark those messages as read.<br />- You might want to fix your board and get rid of <a href="http://punbb.informer.com/forums/topic/21787/bug-in-updateusersonline/">this bug</a> while you&#039;re at it (suggested fix inside)</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (bedroom)]]></author>
			<pubDate>Tue, 11 Dec 2012 20:30:26 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/147360/#p147360</guid>
		</item>
	</channel>
</rss>
