<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — [Mod] Subject of last post on index]]></title>
		<link>https://punbb.informer.com/forums/topic/7805/mod-subject-of-view-on-index/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/7805/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [Mod] Subject of last post on index.]]></description>
		<lastBuildDate>Fri, 17 Jun 2005 15:32:41 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [Mod] Subject of last post on index]]></title>
			<link>https://punbb.informer.com/forums/post/46063/#p46063</link>
			<description><![CDATA[<div class="quotebox"><cite>Rickard wrote:</cite><blockquote><p>Connorhd: Remind me to write up a news post on the Wiki. It&#039;s turning into a really good resource. Good job <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></blockquote></div><p>wooo i knew if i spammed it enough it would get noticed <img src="https://punbb.informer.com/forums/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[null@example.com (Connorhd)]]></author>
			<pubDate>Fri, 17 Jun 2005 15:32:41 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/46063/#p46063</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Mod] Subject of last post on index]]></title>
			<link>https://punbb.informer.com/forums/post/46056/#p46056</link>
			<description><![CDATA[<p>Someone else did this mod but this one is better. <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (shinko_metsuo)]]></author>
			<pubDate>Fri, 17 Jun 2005 14:23:36 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/46056/#p46056</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Mod] Subject of last post on index]]></title>
			<link>https://punbb.informer.com/forums/post/46049/#p46049</link>
			<description><![CDATA[<p>Connorhd: Remind me to write up a news post on the Wiki. It&#039;s turning into a really good resource. Good job <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (Rickard)]]></author>
			<pubDate>Fri, 17 Jun 2005 11:54:01 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/46049/#p46049</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Mod] Subject of last post on index]]></title>
			<link>https://punbb.informer.com/forums/post/46041/#p46041</link>
			<description><![CDATA[<p>Added to punres wiki <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /> <a href="http://punres.org/doku.php?id=how-tos:subject_of_last_post_on_index">http://punres.org/doku.php?id=how-tos:s … t_on_index</a></p>]]></description>
			<author><![CDATA[null@example.com (Connorhd)]]></author>
			<pubDate>Fri, 17 Jun 2005 09:18:40 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/46041/#p46041</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Mod] Subject of last post on index]]></title>
			<link>https://punbb.informer.com/forums/post/45486/#p45486</link>
			<description><![CDATA[<p>Hi.</p><p>Nice code <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /><br />I can se you are using some fantastic smilyes in your forum.<br />Would you please send them to me (the pictures in the image gallery in the forum files)<br />You can send them to my mail:<br />lasse.qxl@jubii.dk</p><p>Thanks.<br />Best regards Lasse.</p>]]></description>
			<author><![CDATA[null@example.com (Lasse)]]></author>
			<pubDate>Sat, 11 Jun 2005 12:41:44 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/45486/#p45486</guid>
		</item>
		<item>
			<title><![CDATA[[Mod] Subject of last post on index]]></title>
			<link>https://punbb.informer.com/forums/post/45479/#p45479</link>
			<description><![CDATA[<p>Sorry for my english.</p><p>Exemple : <a href="http://www.ctrlaltsuppr.com">CtrlAltSuppr.com</a></p><p>*****************************<br />IN INDEX.PHP<br />****************************</p><p>Line 42, replace :<br /></p><div class="codebox"><pre><code>$result = $db-&gt;query(&#039;SELECT c.id AS cid, c.cat_name, f.id AS fid, f.forum_name, f.forum_desc, f.redirect_url, f.moderators, f.num_topics, f.num_posts, f.last_post, f.last_post_id, f.last_poster FROM &#039;.$db-&gt;prefix.&#039;categories AS c INNER JOIN &#039;.$db-&gt;prefix.&#039;forums AS f ON c.id=f.cat_id LEFT JOIN &#039;.$db-&gt;prefix.&#039;forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=&#039;.$pun_user[&#039;g_id&#039;].&#039;) WHERE fp.read_forum IS NULL OR fp.read_forum=1 ORDER BY c.disp_position, c.id, f.disp_position&#039;, true) or error(&#039;Unable to fetch category/forum list&#039;, __FILE__, __LINE__, $db-&gt;error());</code></pre></div><p>Per :<br /></p><div class="codebox"><pre><code>$result = $db-&gt;query(&#039;SELECT c.id AS cid, c.cat_name, f.id AS fid, f.forum_name, f.forum_desc, f.redirect_url, f.moderators, f.num_topics, f.num_posts, f.last_post, f.last_post_id, f.last_poster FROM &#039;.$db-&gt;prefix.&#039;categories AS c INNER JOIN &#039;.$db-&gt;prefix.&#039;forums AS f ON c.id=f.cat_id LEFT JOIN &#039;.$db-&gt;prefix.&#039;forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=&#039;.$pun_user[&#039;g_id&#039;].&#039;) WHERE fp.read_forum IS NULL OR fp.read_forum=1 ORDER BY c.disp_position, c.id, f.disp_position&#039;) or error(&#039;Unable to fetch category/forum list&#039;, __FILE__, __LINE__, $db-&gt;error());</code></pre></div><p>Line 109, replace :<br /></p><div class="codebox"><pre><code>    // If there is a last_post/last_poster.
    if ($cur_forum[&#039;last_post&#039;] != &#039;&#039;)
        $last_post = &#039;&lt;a href=&quot;viewtopic.php?pid=&#039;.$cur_forum[&#039;last_post_id&#039;].&#039;#p&#039;.$cur_forum[&#039;last_post_id&#039;].&#039;&quot;&gt;&#039;.format_time($cur_forum[&#039;last_post&#039;]).&#039;&lt;/a&gt; &lt;span class=&quot;byuser&quot;&gt;&#039;.$lang_common[&#039;by&#039;].&#039; &#039;.pun_htmlspecialchars($cur_forum[&#039;last_poster&#039;]).&#039;&lt;/span&gt;&#039;;
    else
        $last_post = &#039; &#039;;</code></pre></div><p>Per :<br /></p><div class="codebox"><pre><code>    // Afficher le titre du dernier topic
    $queryid = $db-&gt;query(&#039;SELECT topic_id FROM &#039;.$db-&gt;prefix.&#039;posts WHERE id=&#039;.$cur_forum[&#039;last_post_id&#039;]);
    $idm = $db-&gt;result($queryid);
    $queryid = $db-&gt;query(&#039;SELECT subject FROM &#039;.$db-&gt;prefix.&#039;topics WHERE id=&#039;.$idm);
    $idm = $db-&gt;result($queryid);
    if(strlen($idm) &gt; 30) {
        $idmComp = str_replace(&#039;&quot;&#039;, &quot;&#039;&#039;&quot;, $idm);
        $idm = substr($idm, 0, 30).&#039;...&#039;;
    } else
        $idmComp = &#039;&#039;;

    // If there is a last_post/last_poster.
    if ($cur_forum[&#039;last_post&#039;] != &#039;&#039;) {
        $idmT = (isset($idmComp)) ? &#039; title=&quot;&#039;.$idmComp.&#039;&quot;&#039; : &#039;&#039;;
        $last_post = format_time($cur_forum[&#039;last_post&#039;]).&#039;&lt;br /&gt;dans &lt;a href=&quot;viewtopic.php?pid=&#039;.$cur_forum[&#039;last_post_id&#039;].&#039;#p&#039;.$cur_forum[&#039;last_post_id&#039;].&#039;&quot;&#039;.$idmT.&#039;&gt;&lt;em&gt;&#039;.$idm.&#039;&lt;/em&gt;&lt;/a&gt;&lt;br /&gt;&lt;span class=&quot;byuser&quot;&gt;&#039;.$lang_common[&#039;by&#039;].&#039; &#039;.pun_htmlspecialchars($cur_forum[&#039;last_poster&#039;]).&#039;&lt;/span&gt;&#039;;
    } else
        $last_post = &#039; &#039;;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Ju)]]></author>
			<pubDate>Sat, 11 Jun 2005 09:43:04 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/45479/#p45479</guid>
		</item>
	</channel>
</rss>
