<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — Too long title on topic posts page]]></title>
		<link>https://punbb.informer.com/forums/topic/22485/too-long-title-on-topic-posts-page/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/22485/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Too long title on topic posts page.]]></description>
		<lastBuildDate>Mon, 07 Dec 2009 15:35:11 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Too long title on topic posts page]]></title>
			<link>https://punbb.informer.com/forums/post/132719/#p132719</link>
			<description><![CDATA[<p>Could you fix this after all? I see that this thread title for instance is just as you wanted... how did you it go with your own forum?</p>]]></description>
			<author><![CDATA[null@example.com (Papillon)]]></author>
			<pubDate>Mon, 07 Dec 2009 15:35:11 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/132719/#p132719</guid>
		</item>
		<item>
			<title><![CDATA[Re: Too long title on topic posts page]]></title>
			<link>https://punbb.informer.com/forums/post/132175/#p132175</link>
			<description><![CDATA[<p>no -- it didnt work -- looks like it stays the same</p>]]></description>
			<author><![CDATA[null@example.com (cigs)]]></author>
			<pubDate>Thu, 05 Nov 2009 12:10:31 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/132175/#p132175</guid>
		</item>
		<item>
			<title><![CDATA[Re: Too long title on topic posts page]]></title>
			<link>https://punbb.informer.com/forums/post/132160/#p132160</link>
			<description><![CDATA[<p>Try replacing the code you got from viewtopic.php with this:</p><div class="codebox"><pre><code>// Setup breadcrumbs
$forum_page[&#039;crumbs&#039;] = array(
    array($forum_config[&#039;o_board_title&#039;], forum_link($forum_url[&#039;index&#039;])),
    array($cur_topic[&#039;forum_name&#039;], forum_link($forum_url[&#039;forum&#039;], array($cur_topic[&#039;forum_id&#039;], sef_friendly($cur_topic[&#039;forum_name&#039;]))))
);</code></pre></div><p>If that works, tell me. I have to leave for work, like, right now so I can&#039;t test/remove the code from functions.php</p>]]></description>
			<author><![CDATA[null@example.com (Angel)]]></author>
			<pubDate>Wed, 04 Nov 2009 14:31:12 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/132160/#p132160</guid>
		</item>
		<item>
			<title><![CDATA[Re: Too long title on topic posts page]]></title>
			<link>https://punbb.informer.com/forums/post/132157/#p132157</link>
			<description><![CDATA[<p>viewtopic.php<br />lines: 230-235<br /></p><div class="codebox"><pre><code>// Setup breadcrumbs
$forum_page[&#039;crumbs&#039;] = array(
    array($forum_config[&#039;o_board_title&#039;], forum_link($forum_url[&#039;index&#039;])),
    array($cur_topic[&#039;forum_name&#039;], forum_link($forum_url[&#039;forum&#039;], array($cur_topic[&#039;forum_id&#039;], sef_friendly($cur_topic[&#039;forum_name&#039;])))),
    array($cur_topic[&#039;subject&#039;], forum_link($forum_url[&#039;topic&#039;], array($id, sef_friendly($cur_topic[&#039;subject&#039;]))))
);</code></pre></div><p>include/functions.php<br />lines: 501-533<br /></p><div class="codebox"><pre><code>// Generate breadcrumb navigation
function generate_crumbs($reverse)
{
    global $lang_common, $forum_url, $forum_config, $forum_page;

    $return = ($hook = get_hook(&#039;fn_generate_crumbs_start&#039;)) ? eval($hook) : null;
    if ($return != null)
        return $return;

    if (empty($forum_page[&#039;crumbs&#039;]))
        $forum_page[&#039;crumbs&#039;][0] = $forum_config[&#039;o_board_title&#039;];

    $crumbs = &#039;&#039;;
    $num_crumbs = count($forum_page[&#039;crumbs&#039;]);

    if ($reverse)
    {
        for ($i = ($num_crumbs - 1); $i &gt;= 0; --$i)
            $crumbs .= (is_array($forum_page[&#039;crumbs&#039;][$i]) ? forum_htmlencode($forum_page[&#039;crumbs&#039;][$i][0]) : forum_htmlencode($forum_page[&#039;crumbs&#039;][$i])).((isset($forum_page[&#039;page&#039;]) &amp;&amp; $i == ($num_crumbs - 1)) ? &#039; (&#039;.$lang_common[&#039;Page&#039;].&#039; &#039;.forum_number_format($forum_page[&#039;page&#039;]).&#039;)&#039; : &#039;&#039;).($i &gt; 0 ? $lang_common[&#039;Title separator&#039;] : &#039;&#039;);
    }
    else
        for ($i = 0; $i &lt; $num_crumbs; ++$i)
        {
            if ($i &lt; ($num_crumbs - 1))
                $crumbs .= &#039;&lt;span class=&quot;crumb&#039;.(($i == 0) ? &#039; crumbfirst&#039; : &#039;&#039;).&#039;&quot;&gt;&#039;.(($i &gt;= 1) ? &#039;&lt;span&gt;&#039;.$lang_common[&#039;Crumb separator&#039;].&#039;&lt;/span&gt;&#039; : &#039;&#039;).(is_array($forum_page[&#039;crumbs&#039;][$i]) ? &#039;&lt;a href=&quot;&#039;.$forum_page[&#039;crumbs&#039;][$i][1].&#039;&quot;&gt;&#039;.forum_htmlencode($forum_page[&#039;crumbs&#039;][$i][0]).&#039;&lt;/a&gt;&#039; : forum_htmlencode($forum_page[&#039;crumbs&#039;][$i])).&#039;&lt;/span&gt; &#039;;
            else
                $crumbs .= &#039;&lt;span class=&quot;crumb crumblast&#039;.(($i == 0) ? &#039; crumbfirst&#039; : &#039;&#039;).&#039;&quot;&gt;&#039;.(($i &gt;= 1) ? &#039;&lt;span&gt;&#039;.$lang_common[&#039;Crumb separator&#039;].&#039;&lt;/span&gt;&#039; : &#039;&#039;).(is_array($forum_page[&#039;crumbs&#039;][$i]) ? &#039;&lt;a href=&quot;&#039;.$forum_page[&#039;crumbs&#039;][$i][1].&#039;&quot;&gt;&#039;.forum_htmlencode($forum_page[&#039;crumbs&#039;][$i][0]).&#039;&lt;/a&gt;&#039; : forum_htmlencode($forum_page[&#039;crumbs&#039;][$i])).&#039;&lt;/span&gt; &#039;;
        }

    ($hook = get_hook(&#039;fn_generate_crumbs_end&#039;)) ? eval($hook) : null;

    return $crumbs;
}</code></pre></div><p>where do i fix to remove <br /></p><div class="codebox"><pre><code>&lt;title&gt;.....- PunBB 1.3 discussion - PunBB Forums&lt;/title&gt;</code></pre></div><p>for example on this forum topic page ... ???</p>]]></description>
			<author><![CDATA[null@example.com (cigs)]]></author>
			<pubDate>Wed, 04 Nov 2009 09:50:49 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/132157/#p132157</guid>
		</item>
		<item>
			<title><![CDATA[Re: Too long title on topic posts page]]></title>
			<link>https://punbb.informer.com/forums/post/132149/#p132149</link>
			<description><![CDATA[<p>The page title is generated based on the page breadcrumbs. Setting breadcrumbs for a viewtopic page is done at 231-235 lines of &quot;viewtopic.php&quot;. The function &quot;generate_crumbs&quot; (502 line of &quot;&lt;FORUM_ROOT&gt;/include/functions.php&quot;) generates the resulting string. Will this information be enough for you?</p>]]></description>
			<author><![CDATA[null@example.com (Slavok)]]></author>
			<pubDate>Tue, 03 Nov 2009 09:55:27 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/132149/#p132149</guid>
		</item>
		<item>
			<title><![CDATA[Too long title on topic posts page]]></title>
			<link>https://punbb.informer.com/forums/post/132146/#p132146</link>
			<description><![CDATA[<p>I noticed, it is too long title on topic posts page ... I think it is not too good for <strong>SEO</strong> </p><p>How to make <strong>title</strong> on topic name only??? </p><p>I also dont like &quot;(Page1)&quot; and whatever in title tag ...</p><p><strong>&lt;title&gt;</strong> tag could be nicer</p><p>for example this topic:</p><div class="codebox"><pre><code>&lt;title&gt;Too long title on topic posts page (Page 1) - PunBB 1.3 discussion - PunBB Forums&lt;/title&gt;</code></pre></div><p>&nbsp; <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (cigs)]]></author>
			<pubDate>Tue, 03 Nov 2009 08:56:02 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/132146/#p132146</guid>
		</item>
	</channel>
</rss>
