<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — [not bug] Bad hd_visit_elements hook location in header.php]]></title>
		<link>https://punbb.informer.com/forums/topic/24611/not-bug-bad-hdvisitelements-hook-location-in-headerphp/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/24611/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [not bug] Bad hd_visit_elements hook location in header.php.]]></description>
		<lastBuildDate>Mon, 14 Nov 2011 18:15:07 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [not bug] Bad hd_visit_elements hook location in header.php]]></title>
			<link>https://punbb.informer.com/forums/post/142002/#p142002</link>
			<description><![CDATA[<p>Ok, thanks for the infos.<br />Everythings works great now.</p>]]></description>
			<author><![CDATA[null@example.com (Lion)]]></author>
			<pubDate>Mon, 14 Nov 2011 18:15:07 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/142002/#p142002</guid>
		</item>
		<item>
			<title><![CDATA[Re: [not bug] Bad hd_visit_elements hook location in header.php]]></title>
			<link>https://punbb.informer.com/forums/post/141991/#p141991</link>
			<description><![CDATA[<p>Its not error.</p><p>It changed in 1.4 for adding menu elements by simple adding entries in $visit_elements array or $visit_links array. In 1.4 extensions must extend $visit_links or $visit_elements arrays for adding new elements.</p><p>We use this new method in pun_pm for 1.4 - <a href="https://github.com/punbb/extensions/blob/master/pun_pm/manifest.xml#L474">https://github.com/punbb/extensions/blo … t.xml#L474</a></p>]]></description>
			<author><![CDATA[null@example.com (dimkalinux)]]></author>
			<pubDate>Sun, 13 Nov 2011 19:58:14 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/141991/#p141991</guid>
		</item>
		<item>
			<title><![CDATA[[not bug] Bad hd_visit_elements hook location in header.php]]></title>
			<link>https://punbb.informer.com/forums/post/141990/#p141990</link>
			<description><![CDATA[<p>In header.php, the hd_visit_elements hook is located on line 206 BEFORE the declaration of $visit_elements[&#039;&lt;!-- forum_visit --&gt;&#039;] (on line 208).</p><p>It causes an error when using extensions like pun_pm who extends the content of $visit_elements[&#039;&lt;!-- forum_visit --&gt;&#039;].<br />The error is gone when the hook is moved after the variable declaration.</p><p>In the 1.3.6 version of header.php, the hook was after the variable declaration.</p><br /><p>So I assume the new location of the hook is really an error in the code of PunBB 1.4 ?</p>]]></description>
			<author><![CDATA[null@example.com (Lion)]]></author>
			<pubDate>Sun, 13 Nov 2011 18:55:20 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/141990/#p141990</guid>
		</item>
	</channel>
</rss>
