<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[PunBB Forums - [release] Favorite topic]]></title>
		<link>http://punbb.informer.com/forums/topic/20777/release-favorite-topic/</link>
		<description><![CDATA[The most recent posts in [release] Favorite topic.]]></description>
		<lastBuildDate>Mon, 24 Aug 2009 07:13:57 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [release] Favorite topic]]></title>
			<link>http://punbb.informer.com/forums/post/129882/#p129882</link>
			<description><![CDATA[<p>Very useful extension.&nbsp; Installed fine without a problem.&nbsp; Thank you.</p>]]></description>
			<author><![CDATA[dummy@example.com (pcoxygen)]]></author>
			<pubDate>Mon, 24 Aug 2009 07:13:57 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/129882/#p129882</guid>
		</item>
		<item>
			<title><![CDATA[Re: [release] Favorite topic]]></title>
			<link>http://punbb.informer.com/forums/post/128819/#p128819</link>
			<description><![CDATA[<p>Great extension.</p><p>I noticed that the search results page for favorites didn&#039;t &quot;match&quot; the subscriptions page, so I tweaked the extension as follows, and thought I&#039;d share back. <img src="http://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Added to manifest.xml:</p><div class="codebox"><pre><code>&lt;hook id=&quot;sf_fn_generate_search_crumbs_start&quot;&gt;&lt;![CDATA[
    if ($action == &#039;show_favorite&#039;)
    {
        if (file_exists($ext_info[&#039;path&#039;].&#039;/lang/&#039;.$forum_user[&#039;language&#039;].&#039;/&#039;.$ext_info[&#039;id&#039;].&#039;.php&#039;))
        {
            include_once $ext_info[&#039;path&#039;].&#039;/lang/&#039;.$forum_user[&#039;language&#039;].&#039;/&#039;.$ext_info[&#039;id&#039;].&#039;.php&#039;;
        }

        else
        {
            include_once $ext_info[&#039;path&#039;].&#039;/lang/English/&#039;.$ext_info[&#039;id&#039;].&#039;.php&#039;;
        }

        $forum_page[&#039;crumbs&#039;][] = $lang_favorite_topic[&#039;Favorites&#039;];
        $forum_page[&#039;items_info&#039;] = generate_items_info($lang_search[&#039;Topics found&#039;], ($forum_page[&#039;start_from&#039;] + 1), $num_hits);
        $forum_page[&#039;main_head_options&#039;][&#039;defined_search&#039;] = &#039;&lt;span&#039;.(empty($forum_page[&#039;main_head_options&#039;]) ? &#039; class=&quot;first-item&quot;&#039; : &#039;&#039;).&#039;&gt;&lt;a href=&quot;&#039;.forum_link($forum_url[&#039;search&#039;]).&#039;&quot;&gt;&#039;.$lang_search[&#039;User defined search&#039;].&#039;&lt;/a&gt;&lt;/span&gt;&#039;;

        return true;
    }
]]&gt;&lt;/hook&gt;

&lt;hook id=&quot;sf_fn_no_search_results_start&quot;&gt;&lt;![CDATA[
    if ($action == &#039;show_favorite&#039;)
    {
        if (file_exists($ext_info[&#039;path&#039;].&#039;/lang/&#039;.$forum_user[&#039;language&#039;].&#039;/&#039;.$ext_info[&#039;id&#039;].&#039;.php&#039;))
        {
            include_once $ext_info[&#039;path&#039;].&#039;/lang/&#039;.$forum_user[&#039;language&#039;].&#039;/&#039;.$ext_info[&#039;id&#039;].&#039;.php&#039;;
        }

        else
        {
            include_once $ext_info[&#039;path&#039;].&#039;/lang/English/&#039;.$ext_info[&#039;id&#039;].&#039;.php&#039;;
        }

        message($lang_favorite_topic[&#039;No favorites&#039;], $forum_page[&#039;search_again&#039;], $lang_favorite_topic[&#039;Favorites&#039;]);

        return true;
    }
]]&gt;&lt;/hook&gt;</code></pre></div><p>Added to $lang_favorite_topic in English favorite_topic.php:</p><div class="codebox"><pre><code>    &#039;Favorites&#039;       =&gt; &#039;Favorites&#039;,
    &#039;No favorites&#039;    =&gt; &#039;You have no favorite topics.&#039;,</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (sunshine)]]></author>
			<pubDate>Sat, 04 Jul 2009 05:31:41 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/128819/#p128819</guid>
		</item>
		<item>
			<title><![CDATA[Re: [release] Favorite topic]]></title>
			<link>http://punbb.informer.com/forums/post/124959/#p124959</link>
			<description><![CDATA[<div class="quotebox"><cite>YonasH wrote:</cite><blockquote><div class="quotebox"><cite>esupergood wrote:</cite><blockquote><p>Does version 1.2 still create stickies when you add a favourite topic?<br />I&#039;m very excited to hear that you are working on more extensions</p></blockquote></div><p>yes. my idea for this extension was to stick those topics.<br />if you want to remove that sticky part, just delete line 97 from manifest.xml:<br /></p><div class="codebox"><pre><code>$query[&#039;ORDER BY&#039;] = &#039;t.sticky DESC, favorite DESC, &#039;.(($cur_forum[&#039;sort_by&#039;] == &#039;1&#039;) ? &#039;t.posted&#039; : &#039;t.last_post&#039;).&#039; DESC&#039;;</code></pre></div></blockquote></div><br /><p>Now this is a option in users profile.<br />Check for new version in first post, or use my repository to get automatic updates prompts <img src="http://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (YonasH)]]></author>
			<pubDate>Sun, 22 Feb 2009 18:29:43 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/124959/#p124959</guid>
		</item>
		<item>
			<title><![CDATA[Re: [release] Favorite topic]]></title>
			<link>http://punbb.informer.com/forums/post/122522/#p122522</link>
			<description><![CDATA[<p>on default user page (viewed as admin)</p>]]></description>
			<author><![CDATA[dummy@example.com (YonasH)]]></author>
			<pubDate>Fri, 09 Jan 2009 22:12:37 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/122522/#p122522</guid>
		</item>
		<item>
			<title><![CDATA[Re: [release] Favorite topic]]></title>
			<link>http://punbb.informer.com/forums/post/122517/#p122517</link>
			<description><![CDATA[<p>Hello Yonash, thank you for Version 1.2 of Favorite topic .</p><p>In the lang file I found two links:</p><div class="quotebox"><blockquote><p>&#039;View your favorite&#039;&nbsp; &nbsp; =&gt; &#039;View all your favorite topics&#039;,<br />&nbsp; &nbsp; &#039;View user favorite&#039;&nbsp; &nbsp; =&gt; &#039;View all %s\&#039;s favorite topics&#039;</p></blockquote></div><p>But where in the profile or administration I can check the &quot;user favorite&quot;?</p><p>yours sincerely,<br />Meteolab</p>]]></description>
			<author><![CDATA[dummy@example.com (Meteolab)]]></author>
			<pubDate>Fri, 09 Jan 2009 21:37:43 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/122517/#p122517</guid>
		</item>
		<item>
			<title><![CDATA[Re: [release] Favorite topic]]></title>
			<link>http://punbb.informer.com/forums/post/122493/#p122493</link>
			<description><![CDATA[<div class="quotebox"><cite>esupergood wrote:</cite><blockquote><p>Does version 1.2 still create stickies when you add a favourite topic?<br />I&#039;m very excited to hear that you are working on more extensions</p></blockquote></div><p>yes. my idea for this extension was to stick those topics.<br />if you want to remove that sticky part, just delete line 97 from manifest.xml:<br /></p><div class="codebox"><pre><code>$query[&#039;ORDER BY&#039;] = &#039;t.sticky DESC, favorite DESC, &#039;.(($cur_forum[&#039;sort_by&#039;] == &#039;1&#039;) ? &#039;t.posted&#039; : &#039;t.last_post&#039;).&#039; DESC&#039;;</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (YonasH)]]></author>
			<pubDate>Fri, 09 Jan 2009 16:37:57 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/122493/#p122493</guid>
		</item>
		<item>
			<title><![CDATA[Re: [release] Favorite topic]]></title>
			<link>http://punbb.informer.com/forums/post/122483/#p122483</link>
			<description><![CDATA[<p>Does version 1.2 still create stickies when you add a favourite topic?<br />I&#039;m very excited to hear that you are working on more extensions</p>]]></description>
			<author><![CDATA[dummy@example.com (esupergood)]]></author>
			<pubDate>Fri, 09 Jan 2009 14:02:59 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/122483/#p122483</guid>
		</item>
		<item>
			<title><![CDATA[Re: [release] Favorite topic]]></title>
			<link>http://punbb.informer.com/forums/post/122481/#p122481</link>
			<description><![CDATA[<p>&quot;View all your favorite topics&quot; added<br />Check first post</p>]]></description>
			<author><![CDATA[dummy@example.com (YonasH)]]></author>
			<pubDate>Fri, 09 Jan 2009 13:38:34 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/122481/#p122481</guid>
		</item>
		<item>
			<title><![CDATA[Re: [release] Favorite topic]]></title>
			<link>http://punbb.informer.com/forums/post/122477/#p122477</link>
			<description><![CDATA[<p>Rest of discussion is here: <a href="http://punbb.informer.com/forums/topic/20790/release-hide-topic/">http://punbb.informer.com/forums/topic/ &#133; ide-topic/</a> <img src="http://punbb.informer.com/forums/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><p>I&#039;ll just add &quot;View all your favorites&quot; to user profile in few minutes.<br />I still have about 30 extensions to do on my list, so I will not work on this &quot;most favorites&quot; project right now. Fell free to modify my extension.</p>]]></description>
			<author><![CDATA[dummy@example.com (YonasH)]]></author>
			<pubDate>Fri, 09 Jan 2009 12:24:42 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/122477/#p122477</guid>
		</item>
		<item>
			<title><![CDATA[Re: [release] Favorite topic]]></title>
			<link>http://punbb.informer.com/forums/post/122449/#p122449</link>
			<description><![CDATA[<p>Did some posts get deleted from this topic?<br />Someone replied with a good idea and I followed up.</p><p>Hmmm. The suggestion was that it would be good if the favourite topics did NOT appear like stickies at the top of the forum list but were instead accessed by a link in the profile just like the current subscription topics are viewed. That would be much better for me.</p><p>And then, based on forum activity, it would be good if the following links/lists were available:<br />- most favourited today<br />- most favourited this week<br />- most favourited this month<br />- most favourited this year<br />- most favourited all time</p><p>Something along those lines ???</p>]]></description>
			<author><![CDATA[dummy@example.com (esupergood)]]></author>
			<pubDate>Fri, 09 Jan 2009 09:16:46 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/122449/#p122449</guid>
		</item>
		<item>
			<title><![CDATA[Re: [release] Favorite topic]]></title>
			<link>http://punbb.informer.com/forums/post/122278/#p122278</link>
			<description><![CDATA[<p>Not sure about this.<br />What need to be done:<br />-option in admin panel to assign some forum as &quot;top favorites&quot; (it can use &quot;redirect_url&quot; field with some special value)<br />-index.php - easy changes to mark this special forum<br />-viewforum.php - make a exception in &quot;redirect_url&quot; checking step, select topics list using favorites table. display as &quot;moved&quot;, show no. of favorite selections in some column. Lots of work.</p><p>But what for? Most popular topics will became more and more popular, and list order will be constant.<br />Maybe just some short list in admin panel?</p><p>What do you think?</p>]]></description>
			<author><![CDATA[dummy@example.com (YonasH)]]></author>
			<pubDate>Wed, 07 Jan 2009 13:56:38 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/122278/#p122278</guid>
		</item>
		<item>
			<title><![CDATA[Re: [release] Favorite topic]]></title>
			<link>http://punbb.informer.com/forums/post/122276/#p122276</link>
			<description><![CDATA[<div class="quotebox"><cite>yonash wrote:</cite><blockquote><p>Edit: I read it again. You mean new forum with most frequently favorite topics. It can be done, but I&#039;ll need to think about it.</p></blockquote></div><p>Yes that&#039;s the one. Sounds good to me.<br />It does need some thinking about though</p>]]></description>
			<author><![CDATA[dummy@example.com (esupergood)]]></author>
			<pubDate>Wed, 07 Jan 2009 13:53:22 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/122276/#p122276</guid>
		</item>
		<item>
			<title><![CDATA[Re: [release] Favorite topic]]></title>
			<link>http://punbb.informer.com/forums/post/122274/#p122274</link>
			<description><![CDATA[<p>I also think forum with most popular topics is good idea. Really allows a kind of heat map of the site to be created.... create buzz and whatnot <img src="http://punbb.informer.com/forums/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (KeyDog)]]></author>
			<pubDate>Wed, 07 Jan 2009 12:28:09 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/122274/#p122274</guid>
		</item>
		<item>
			<title><![CDATA[Re: [release] Favorite topic]]></title>
			<link>http://punbb.informer.com/forums/post/122272/#p122272</link>
			<description><![CDATA[<p>Style issue fixed - see first post.</p><p>Most popular topics - not too bad idea <img src="http://punbb.informer.com/forums/img/smilies/wink.png" width="15" height="15" alt="wink" /> I can modify some existing extension which is showing newest topics in index.php Is there any good?</p><p>Edit: I read it again. You mean new forum with most frequently favorite topics. It can be done, but I&#039;ll need to think about it.</p>]]></description>
			<author><![CDATA[dummy@example.com (YonasH)]]></author>
			<pubDate>Wed, 07 Jan 2009 12:09:27 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/122272/#p122272</guid>
		</item>
		<item>
			<title><![CDATA[Re: [release] Favorite topic]]></title>
			<link>http://punbb.informer.com/forums/post/122269/#p122269</link>
			<description><![CDATA[<div class="quotebox"><cite>esupergood wrote:</cite><blockquote><p>This is a very nice extension. I&#039;ve installed it straight away at <a href="http://www.eRoyton.co.uk/forum&quot;">www.eRoyton.co.uk/forum</a><br />Can you take it a step further and use this extension to create a &quot;most popular&quot; topics forum. So that only the topics which have been &quot;favourited&quot; the most times are listed in a special separate forum?</p><p>Or perhaps another similar idea that achieves the same result?<br />Thanks for the extension release</p></blockquote></div><p>Yeah most popular topics + most new topics at index is good extension</p>]]></description>
			<author><![CDATA[dummy@example.com (anggiawan)]]></author>
			<pubDate>Wed, 07 Jan 2009 11:21:45 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/122269/#p122269</guid>
		</item>
	</channel>
</rss>
