<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — Integrating the forum with the rest of my website's design (Help!)]]></title>
		<link>https://punbb.informer.com/forums/topic/9104/integrating-the-forum-with-the-rest-of-my-websites-design-help/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/9104/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Integrating the forum with the rest of my website's design (Help!).]]></description>
		<lastBuildDate>Wed, 09 Nov 2005 02:40:24 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Integrating the forum with the rest of my website's design (Help!)]]></title>
			<link>https://punbb.informer.com/forums/post/56586/#p56586</link>
			<description><![CDATA[<div class="quotebox"><cite>shenji wrote:</cite><blockquote><p>can you show the code you use to put the forum in the html page ?<br />i wanna do exactly the same thing ...</p></blockquote></div><p>I am curious about the same.</p>]]></description>
			<author><![CDATA[null@example.com (ashiver)]]></author>
			<pubDate>Wed, 09 Nov 2005 02:40:24 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/56586/#p56586</guid>
		</item>
		<item>
			<title><![CDATA[Re: Integrating the forum with the rest of my website's design (Help!)]]></title>
			<link>https://punbb.informer.com/forums/post/56504/#p56504</link>
			<description><![CDATA[<p>can you show the code you use to put the forum in the html page ?<br />i wanna do exactly the same thing ...</p>]]></description>
			<author><![CDATA[null@example.com (shenji)]]></author>
			<pubDate>Mon, 07 Nov 2005 20:22:39 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/56504/#p56504</guid>
		</item>
		<item>
			<title><![CDATA[Re: Integrating the forum with the rest of my website's design (Help!)]]></title>
			<link>https://punbb.informer.com/forums/post/54214/#p54214</link>
			<description><![CDATA[<p>Oh, thanks. </p><p>Great news - it worked! I moved all my includes to /include/user<br />It&#039;s an interesting feature that php code doesn&#039;t work from main.tpl. Turned that into an include and pun_include-ed that as well. </p><p>You can see the result: <a href="http://www.powerofmetal.net/forum/viewtopic.php?id=2">http://www.powerofmetal.net/forum/viewtopic.php?id=2</a></p><p>Thanks guys, PunBB is awesome. <img src="https://punbb.informer.com/forums/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p><p>I&#039;ll work on the nitty-gritties now <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (livatlantis)]]></author>
			<pubDate>Thu, 13 Oct 2005 08:52:51 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/54214/#p54214</guid>
		</item>
		<item>
			<title><![CDATA[Re: Integrating the forum with the rest of my website's design (Help!)]]></title>
			<link>https://punbb.informer.com/forums/post/54213/#p54213</link>
			<description><![CDATA[<p>No, &lt;pun_head&gt; is a tag that is parsed by header.php .<br />You find header.php ritgh in your punbb installation directory.</p><p>Most PunBB scripts call header.php which in turn parses main.tpl</p>]]></description>
			<author><![CDATA[null@example.com (Tobi)]]></author>
			<pubDate>Thu, 13 Oct 2005 08:30:12 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/54213/#p54213</guid>
		</item>
		<item>
			<title><![CDATA[Re: Integrating the forum with the rest of my website's design (Help!)]]></title>
			<link>https://punbb.informer.com/forums/post/54212/#p54212</link>
			<description><![CDATA[<p>Is &lt;pun_head&gt; really header.php?</p>]]></description>
			<author><![CDATA[null@example.com (livatlantis)]]></author>
			<pubDate>Thu, 13 Oct 2005 08:17:03 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/54212/#p54212</guid>
		</item>
		<item>
			<title><![CDATA[Re: Integrating the forum with the rest of my website's design (Help!)]]></title>
			<link>https://punbb.informer.com/forums/post/54208/#p54208</link>
			<description><![CDATA[<div class="quotebox"><cite>Rickard wrote:</cite><blockquote><p>One problem with that is that the files you want to include must be placed in /include/user/. You could also add symbolic links to the files if they are located somewhere else.</p></blockquote></div><p>Which is really a problem if you already have a site that you don&#039;t want to move completely to /include/usr/ <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>And Symlinks are one good way to solve these issues - unless your apache config doesn&#039;t allow it or you are on a windows server where it&#039;s a pain in the ass.</p><p>But really - I found it terribly easy to invent some tags for main.tpl and have them replaced by the include() result that I want in header.php .<br />That way you can also add more logic to it, like having different includes depending on the page you&#039;re on and such.</p>]]></description>
			<author><![CDATA[null@example.com (Tobi)]]></author>
			<pubDate>Thu, 13 Oct 2005 07:55:17 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/54208/#p54208</guid>
		</item>
		<item>
			<title><![CDATA[Re: Integrating the forum with the rest of my website's design (Help!)]]></title>
			<link>https://punbb.informer.com/forums/post/54207/#p54207</link>
			<description><![CDATA[<p>Ah, symbolic links and pun_include. I&#039;ll try that and see how it comes <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Thanks (all of you).</p>]]></description>
			<author><![CDATA[null@example.com (livatlantis)]]></author>
			<pubDate>Thu, 13 Oct 2005 07:55:01 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/54207/#p54207</guid>
		</item>
		<item>
			<title><![CDATA[Re: Integrating the forum with the rest of my website's design (Help!)]]></title>
			<link>https://punbb.informer.com/forums/post/54205/#p54205</link>
			<description><![CDATA[<p>You should be able to do that with the pun_include directive in the templates. One problem with that is that the files you want to include must be placed in /include/user/. You could also add symbolic links to the files if they are located somewhere else.</p>]]></description>
			<author><![CDATA[null@example.com (Rickard)]]></author>
			<pubDate>Thu, 13 Oct 2005 07:48:48 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/54205/#p54205</guid>
		</item>
		<item>
			<title><![CDATA[Re: Integrating the forum with the rest of my website's design (Help!)]]></title>
			<link>https://punbb.informer.com/forums/post/54203/#p54203</link>
			<description><![CDATA[<p>I ran into the same issue.<br />One of the very, <strong>very</strong> few drawbacks of PunBB is that it keeps spitting out HTML before it&#039;s finished.<br />You just cannot use the scripts as includes for something else.<br />So you really have to go the other way round. This will limit our layout possibilities a bit but it&#039;s not that hard.<br />For one thing Connor is right, mots things happen in the main.tpl.<br />And if you want to place dynamic content there just create a new tag and have this tag replaced in head.php</p>]]></description>
			<author><![CDATA[null@example.com (Tobi)]]></author>
			<pubDate>Thu, 13 Oct 2005 07:42:29 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/54203/#p54203</guid>
		</item>
		<item>
			<title><![CDATA[Re: Integrating the forum with the rest of my website's design (Help!)]]></title>
			<link>https://punbb.informer.com/forums/post/54198/#p54198</link>
			<description><![CDATA[<p>Did you read the documentation? You are probably best just editing main.tpl read <a href="http://punbb.org/docs/faq.html#faq3_3">http://punbb.org/docs/faq.html#faq3_3</a></p>]]></description>
			<author><![CDATA[null@example.com (Connorhd)]]></author>
			<pubDate>Thu, 13 Oct 2005 07:33:58 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/54198/#p54198</guid>
		</item>
		<item>
			<title><![CDATA[Integrating the forum with the rest of my website's design (Help!)]]></title>
			<link>https://punbb.informer.com/forums/post/54194/#p54194</link>
			<description><![CDATA[<p>Okay, here&#039;s the deal. I can design, but programming isn&#039;t my cup of tea. I&#039;ve tried, it just doesn&#039;t work out. </p><p>For my latest project, I wanted to run my entire site using PunBB as base, and using the extern.php News Extension (<a href="http://punbb.org/forums/viewtopic.php?id=7552">http://punbb.org/forums/viewtopic.php?id=7552</a>). Getting posts from the forum shouldn&#039;t be too difficult now.</p><p>However, I want my forum to fit into my current design. This is what my forum page template looks like: <a href="http://powerofmetal.net/forum.php">http://powerofmetal.net/forum.php</a> </p><p>I wanted the forum in the empty part in the middle.</p><p>The thing is, the entire design is seperated into different files and brought together with a bunch of &quot;include_once();&quot; commands, so that I wouldn&#039;t have to edit every page for changes in design. </p><p>Now this should technically have been easy. There&#039;s a header and there&#039;s a footer. Thing is, when I tried to use the same &quot;include_once();&quot; commands in /header.php, it didn&#039;t work.</p><p>Besides, my includes need to link to their own CSS page as well.</p><p>The forum is located at <a href="http://www.powerofmetal.net/forum">http://www.powerofmetal.net/forum</a> I&#039;ll need to change the look after it&#039;s integrated into the current design.</p><br /><p>I appreciate any help at all. First time with PunBB, so... <img src="https://punbb.informer.com/forums/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><p>Thanks!</p>]]></description>
			<author><![CDATA[null@example.com (livatlantis)]]></author>
			<pubDate>Thu, 13 Oct 2005 07:18:32 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/54194/#p54194</guid>
		</item>
	</channel>
</rss>
