<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — Location, registered, post count topic view order]]></title>
		<link>https://punbb.informer.com/forums/topic/23462/location-registered-post-count-topic-view-order/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/23462/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Location, registered, post count topic view order.]]></description>
		<lastBuildDate>Thu, 12 Aug 2010 07:09:27 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Location, registered, post count topic view order]]></title>
			<link>https://punbb.informer.com/forums/post/136787/#p136787</link>
			<description><![CDATA[<p>Thanks for responding Slavok.</p><p>PunBB code is different then what I&#039;m used too.</p>]]></description>
			<author><![CDATA[null@example.com (wmcintosh)]]></author>
			<pubDate>Thu, 12 Aug 2010 07:09:27 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/136787/#p136787</guid>
		</item>
		<item>
			<title><![CDATA[Re: Location, registered, post count topic view order]]></title>
			<link>https://punbb.informer.com/forums/post/136785/#p136785</link>
			<description><![CDATA[<p>Yes, everything is fine. The displaying order of these fields&nbsp; depends on the order in which you add new elements&nbsp; to the $forum_page[&#039;author_info&#039;] array.</p>]]></description>
			<author><![CDATA[null@example.com (Slavok)]]></author>
			<pubDate>Thu, 12 Aug 2010 07:04:38 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/136785/#p136785</guid>
		</item>
		<item>
			<title><![CDATA[Location, registered, post count topic view order]]></title>
			<link>https://punbb.informer.com/forums/post/136780/#p136780</link>
			<description><![CDATA[<p>Would below be correct way rearranging location, registered, post count topic view order.</p><p>From (location, registered, post count)</p><div class="codebox"><pre><code>// Generate author information
        if ($cur_post[&#039;poster_id&#039;] &gt; 1)
        {
            if ($forum_config[&#039;o_show_user_info&#039;] == &#039;1&#039;)
            {
                if ($cur_post[&#039;location&#039;] != &#039;&#039;)
                {
                    if ($forum_config[&#039;o_censoring&#039;] == &#039;1&#039;)
                        $cur_post[&#039;location&#039;] = censor_words($cur_post[&#039;location&#039;]);

                    $forum_page[&#039;author_info&#039;][&#039;from&#039;] = &#039;&lt;li&gt;&lt;span&gt;&#039;.$lang_topic[&#039;From&#039;].&#039; &lt;strong&gt;&#039;.forum_htmlencode($cur_post[&#039;location&#039;]).&#039;&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&#039;;
                }

                $forum_page[&#039;author_info&#039;][&#039;registered&#039;] = &#039;&lt;li&gt;&lt;span&gt;&#039;.$lang_topic[&#039;Registered&#039;].&#039; &lt;strong&gt;&#039;.format_time($cur_post[&#039;registered&#039;], 1).&#039;&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&#039;;

                if ($forum_config[&#039;o_show_post_count&#039;] == &#039;1&#039; || $forum_user[&#039;is_admmod&#039;])
                    $forum_page[&#039;author_info&#039;][&#039;posts&#039;] = &#039;&lt;li&gt;&lt;span&gt;&#039;.$lang_topic[&#039;Posts info&#039;].&#039; &lt;strong&gt;&#039;.forum_number_format($cur_post[&#039;num_posts&#039;]).&#039;&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&#039;;
            }

            if ($forum_user[&#039;is_admmod&#039;])
            {
                if ($cur_post[&#039;admin_note&#039;] != &#039;&#039;)
                    $forum_page[&#039;author_info&#039;][&#039;note&#039;] = &#039;&lt;li&gt;&lt;span&gt;&#039;.$lang_topic[&#039;Note&#039;].&#039; &lt;strong&gt;&#039;.forum_htmlencode($cur_post[&#039;admin_note&#039;]).&#039;&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&#039;;
            }
        }
    }</code></pre></div><p>To (where now its post count, registered, location)<br /></p><div class="codebox"><pre><code>// Generate author information
        if ($cur_post[&#039;poster_id&#039;] &gt; 1)
        {
            if ($forum_config[&#039;o_show_user_info&#039;] == &#039;1&#039;)
            {
                if ($cur_post[&#039;location&#039;] != &#039;&#039;)
                {
                    if ($forum_config[&#039;o_censoring&#039;] == &#039;1&#039;)
                        $cur_post[&#039;location&#039;] = censor_words($cur_post[&#039;location&#039;]);
                        
                    if ($forum_config[&#039;o_show_post_count&#039;] == &#039;1&#039; || $forum_user[&#039;is_admmod&#039;])
                    $forum_page[&#039;author_info&#039;][&#039;posts&#039;] = &#039;&lt;li&gt;&lt;span&gt;&#039;.$lang_topic[&#039;Posts info&#039;].&#039; &lt;strong&gt;&#039;.forum_number_format($cur_post[&#039;num_posts&#039;]).&#039;&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&#039;;
                    }

                $forum_page[&#039;author_info&#039;][&#039;registered&#039;] = &#039;&lt;li&gt;&lt;span&gt;&#039;.$lang_topic[&#039;Registered&#039;].&#039; &lt;strong&gt;&#039;.format_time($cur_post[&#039;registered&#039;], 1).&#039;&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&#039;;

                $forum_page[&#039;author_info&#039;][&#039;from&#039;] = &#039;&lt;li&gt;&lt;span&gt;&#039;.$lang_topic[&#039;From&#039;].&#039; &lt;strong&gt;&#039;.forum_htmlencode($cur_post[&#039;location&#039;]).&#039;&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&#039;;
                }

            if ($forum_user[&#039;is_admmod&#039;])
            {
                if ($cur_post[&#039;admin_note&#039;] != &#039;&#039;)
                    $forum_page[&#039;author_info&#039;][&#039;note&#039;] = &#039;&lt;li&gt;&lt;span&gt;&#039;.$lang_topic[&#039;Note&#039;].&#039; &lt;strong&gt;&#039;.forum_htmlencode($cur_post[&#039;admin_note&#039;]).&#039;&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&#039;;
            }
        }
    }</code></pre></div><p>Never messed with PunBB code before and I wanted to make sure I did that right... appears to work.<br />View <a href="http://www.genmb.com/topic/1/test-post/">http://www.genmb.com/topic/1/test-post/</a></p><p>Would appreciate something, thanks.</p>]]></description>
			<author><![CDATA[null@example.com (wmcintosh)]]></author>
			<pubDate>Thu, 12 Aug 2010 06:10:24 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/136780/#p136780</guid>
		</item>
	</channel>
</rss>
