<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — Using PHP in Template...]]></title>
		<link>http://punbb.informer.com/forums/topic/19767/using-php-in-template/</link>
		<atom:link href="http://punbb.informer.com/forums/feed/rss/topic/19767/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Using PHP in Template....]]></description>
		<lastBuildDate>Tue, 04 Jan 2011 15:22:26 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Using PHP in Template...]]></title>
			<link>http://punbb.informer.com/forums/post/139037/#p139037</link>
			<description><![CDATA[<p>anyone?</p>]]></description>
			<author><![CDATA[null@example.com (colak)]]></author>
			<pubDate>Tue, 04 Jan 2011 15:22:26 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/139037/#p139037</guid>
		</item>
		<item>
			<title><![CDATA[Re: Using PHP in Template...]]></title>
			<link>http://punbb.informer.com/forums/post/139017/#p139017</link>
			<description><![CDATA[<p>Is there a way to include a script in main.tpl which is outside the user directory?</p><p>I&#039;ve got the forum at <a href="http://forum.domain.tld">http://forum.domain.tld</a> and the site on <a href="http://www.domain.tld">http://www.domain.tld</a>. I also have a php script on <a href="http://www.domain.tld/scripts/myscript1.php">http://www.domain.tld/scripts/myscript1.php</a> which I am&nbsp; trying to include with </p><div class="codebox"><pre><code>&lt;!-- forum_include &quot;http://www.domain.tld/scripts/myscript1.php&quot; --&gt;</code></pre></div><p> but it does not work. Can anyone offer any advise?</p>]]></description>
			<author><![CDATA[null@example.com (colak)]]></author>
			<pubDate>Thu, 30 Dec 2010 08:12:14 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/139017/#p139017</guid>
		</item>
		<item>
			<title><![CDATA[Re: Using PHP in Template...]]></title>
			<link>http://punbb.informer.com/forums/post/135868/#p135868</link>
			<description><![CDATA[<div class="quotebox"><cite>voxberry wrote:</cite><blockquote><p> I have the forum located in /www/website/forum/ <br />and the file i need to include is in /www/website/includes/test.php<br />and this does not work :&lt;!-- forum_include &quot;&lt;../includes/test.php&gt;&quot; --&gt;</p></blockquote></div><p>It is not /include<strong>s</strong> it is /include. <img src="http://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /> </p><p>The line in main.tpl should read<br /><strong>&lt;div &lt;!-- forum_include &quot;test.html&quot; --&gt;&lt;/div&gt;</strong><br />and test.html should be in&nbsp; /<strong>forum/include/user/</strong>.</p>]]></description>
			<author><![CDATA[null@example.com (Ole Juul)]]></author>
			<pubDate>Thu, 01 Jul 2010 09:21:42 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/135868/#p135868</guid>
		</item>
		<item>
			<title><![CDATA[Re: Using PHP in Template...]]></title>
			<link>http://punbb.informer.com/forums/post/135856/#p135856</link>
			<description><![CDATA[<p>hello .<br />I&#039;m also trying to manipulate the template and I need to include an outside file ...<br />I have the forum located in /www/website/forum/ <br />and the file i need to include is in /www/website/includes/test.php<br />and this does not work :&lt;!-- forum_include &quot;&lt;../includes/test.php&gt;&quot; --&gt;</p><p>anybody has any ideea on how to do it ?</p>]]></description>
			<author><![CDATA[null@example.com (voxberry)]]></author>
			<pubDate>Wed, 30 Jun 2010 12:19:53 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/135856/#p135856</guid>
		</item>
		<item>
			<title><![CDATA[Re: Using PHP in Template...]]></title>
			<link>http://punbb.informer.com/forums/post/132173/#p132173</link>
			<description><![CDATA[<p>It seems that problem was solved. I can see the banner at the header.</p>]]></description>
			<author><![CDATA[null@example.com (Slavok)]]></author>
			<pubDate>Thu, 05 Nov 2009 09:14:03 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/132173/#p132173</guid>
		</item>
		<item>
			<title><![CDATA[Re: Using PHP in Template...]]></title>
			<link>http://punbb.informer.com/forums/post/132152/#p132152</link>
			<description><![CDATA[<div class="quotebox"><cite>Slavok wrote:</cite><blockquote><p>To include a PHP file in templates use &lt;!-- forum_include &quot;&lt;MY_FILE.php&gt;&quot; --&gt;. &lt;pun_include &quot;*&quot;&gt; was used in PunBB 1.2.</p></blockquote></div><br /><p>I want to include banner on the right side of the forum head which is blank. How can I do it?<br />I&#039;m new in punbb. My forum address is <a href="http://forum.banglalibrary.org">http://forum.banglalibrary.org</a><br />It would be kind enough if you help me.</p>]]></description>
			<author><![CDATA[null@example.com (banglalibrary)]]></author>
			<pubDate>Tue, 03 Nov 2009 12:07:03 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/132152/#p132152</guid>
		</item>
		<item>
			<title><![CDATA[Re: Using PHP in Template...]]></title>
			<link>http://punbb.informer.com/forums/post/117693/#p117693</link>
			<description><![CDATA[<p>You were misinformed i belive...</p><p>1.2.* uses &lt;pun_include &quot;*&quot;&gt;<br />1.3.* uses &lt;!-- forum_include &quot;&lt;MY_FILE.php&gt;&quot; --&gt;</p><p>If your using 1.2 then you use the one from 1.2</p>]]></description>
			<author><![CDATA[null@example.com (Utchin)]]></author>
			<pubDate>Tue, 16 Sep 2008 11:12:48 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/117693/#p117693</guid>
		</item>
		<item>
			<title><![CDATA[Re: Using PHP in Template...]]></title>
			<link>http://punbb.informer.com/forums/post/117690/#p117690</link>
			<description><![CDATA[<p>Still no luck... I&#039;ve even just created a real simple test.php file, all it does is echo out the word &quot;Hello.&quot; Using that syntax I&#039;ve added it into the main.tpl and still get no results.</p><p>&lt;!-- forum_include &quot;&lt;test.php&gt;&quot; --&gt;</p><br /><p>EDIT: Ahh I see... it&#039;s &lt;!-- pun_include &quot;test.php&quot; --&gt;</p><p>Thanks for putting me on the right path! :]</p>]]></description>
			<author><![CDATA[null@example.com (jewofcanada)]]></author>
			<pubDate>Mon, 15 Sep 2008 23:31:26 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/117690/#p117690</guid>
		</item>
		<item>
			<title><![CDATA[Re: Using PHP in Template...]]></title>
			<link>http://punbb.informer.com/forums/post/117671/#p117671</link>
			<description><![CDATA[<p>To include a PHP file in templates use &lt;!-- forum_include &quot;&lt;MY_FILE.php&gt;&quot; --&gt;. &lt;pun_include &quot;*&quot;&gt; was used in PunBB 1.2.</p>]]></description>
			<author><![CDATA[null@example.com (Slavok)]]></author>
			<pubDate>Mon, 15 Sep 2008 06:21:16 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/117671/#p117671</guid>
		</item>
		<item>
			<title><![CDATA[Using PHP in Template...]]></title>
			<link>http://punbb.informer.com/forums/post/117628/#p117628</link>
			<description><![CDATA[<p>I know this topic has been posted a million times, but all the searching I&#039;ve done doesn&#039;t seem to help my specific situation. I know that to include a PHP file you use the &lt;pun_include &quot;whatever.php&quot;&gt;... but it doesn&#039;t seem to be working for me.</p><p>What I&#039;m doing is integrating the forum into my websites template. I&#039;ve taken a rather simple approach and just built a table around the content in the main.tpl. Right above the forum content, I&#039;ve used &lt;pun_include &quot;boxes.php&quot;&gt;. Boxes.php is a php file that echos out php based features of my site, such as a schedule, calendar, and recent posts. Each feature is placed within one of three boxes atop the page. All of this is done in the boxes.php file, which is uploaded to the forum/includes/user/ directory.</p><p>When I load the forum, nothing appears. It&#039;s as if the file wasn&#039;t even included. There&#039;s no error, no html structure of the boxes, nothing. I&#039;m not sure what I&#039;m doing wrong, but was wondering if perhaps it&#039;s not even possible to do what I&#039;m trying to do.</p><p>It&#039;s 5:15 in the morning so if I&#039;ve left out any information, just post and I&#039;ll be more than happy to provide you with what you need.</p>]]></description>
			<author><![CDATA[null@example.com (jewofcanada)]]></author>
			<pubDate>Fri, 12 Sep 2008 09:17:50 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/117628/#p117628</guid>
		</item>
	</channel>
</rss>
