<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[PunBB Forums - 4 forums in one database]]></title>
		<link>http://punbb.informer.com/forums/topic/8755/4-forums-in-one-database/</link>
		<description><![CDATA[The most recent posts in 4 forums in one database.]]></description>
		<lastBuildDate>Tue, 24 Mar 2009 08:00:31 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: 4 forums in one database]]></title>
			<link>http://punbb.informer.com/forums/post/126042/#p126042</link>
			<description><![CDATA[<p>I did nothing, i don&#039;t work them</p>]]></description>
			<author><![CDATA[dummy@example.com (lovekieu)]]></author>
			<pubDate>Tue, 24 Mar 2009 08:00:31 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/126042/#p126042</guid>
		</item>
		<item>
			<title><![CDATA[Re: 4 forums in one database]]></title>
			<link>http://punbb.informer.com/forums/post/117007/#p117007</link>
			<description><![CDATA[<p>this works in the new version? (1.3)</p>]]></description>
			<author><![CDATA[dummy@example.com (Xavier77)]]></author>
			<pubDate>Tue, 29 Jul 2008 16:21:35 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/117007/#p117007</guid>
		</item>
		<item>
			<title><![CDATA[Re: 4 forums in one database]]></title>
			<link>http://punbb.informer.com/forums/post/116066/#p116066</link>
			<description><![CDATA[<p>How would I do this, if I have two seperate databases, i.e.</p><p>mudkips1</p><p>mudkips2</p><p>mudkips1(main)</p><p>Would I do this?</p><p>$sql = str_replace($this-&gt;prefix .&quot;users&quot;, &quot;mudkips1_users&quot;, $sql);</p>]]></description>
			<author><![CDATA[dummy@example.com (xsdmx)]]></author>
			<pubDate>Wed, 25 Jun 2008 03:48:31 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/116066/#p116066</guid>
		</item>
		<item>
			<title><![CDATA[Re: 4 forums in one database]]></title>
			<link>http://punbb.informer.com/forums/post/95852/#p95852</link>
			<description><![CDATA[<div class="quotebox"><cite>flx wrote:</cite><blockquote><p>you have to search your whole punbb folder for<br />$db-&gt;prefix.&#039;users<br />then change the prefixes</p></blockquote></div><p>it&#039;s working ?</p>]]></description>
			<author><![CDATA[dummy@example.com (cedced)]]></author>
			<pubDate>Thu, 07 Jun 2007 05:05:53 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/95852/#p95852</guid>
		</item>
		<item>
			<title><![CDATA[Re: 4 forums in one database]]></title>
			<link>http://punbb.informer.com/forums/post/95620/#p95620</link>
			<description><![CDATA[<p>Now that this has been dragged back up, <img src="http://punbb.informer.com/forums/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /> just to double check, those str_replace lines would need to go after:</p><p>function query($sql, $unbuffered = false)<br />{</p><p>in the db script?</p><br /><p>Cheers,</p><p>Matt</p>]]></description>
			<author><![CDATA[dummy@example.com (MattF)]]></author>
			<pubDate>Sun, 03 Jun 2007 19:31:40 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/95620/#p95620</guid>
		</item>
		<item>
			<title><![CDATA[Re: 4 forums in one database]]></title>
			<link>http://punbb.informer.com/forums/post/86842/#p86842</link>
			<description><![CDATA[<p>Thank you.&nbsp; I had not looked up the comand.&nbsp; I understand.<br />Cheers,</p>]]></description>
			<author><![CDATA[dummy@example.com (twohawks)]]></author>
			<pubDate>Fri, 09 Feb 2007 00:12:06 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/86842/#p86842</guid>
		</item>
		<item>
			<title><![CDATA[Re: 4 forums in one database]]></title>
			<link>http://punbb.informer.com/forums/post/86837/#p86837</link>
			<description><![CDATA[<p>If you&#039;re replacing a set string, ditch the ereg. Really.<br /></p><div class="codebox"><pre><code>$sql = str_replace($this-&gt;prefix .&quot;users&quot;, &quot;MAINFORUMPREFIXusers&quot;, $sql);
$sql = str_replace($this-&gt;prefix .&quot;groups&quot;, &quot;MAINFORUMPREFIXgroups&quot;, $sql);
$sql = str_replace($this-&gt;prefix .&quot;online&quot;, &quot;MAINFORUMPREFIXonline&quot;, $sql);
$sql = str_replace($this-&gt;prefix .&quot;forum_perms&quot;, &quot;MAINFORUMPREFIXforum_perms&quot;, $sql);
$sql = str_replace($this-&gt;prefix .&quot;reports&quot;, &quot;MAINFORUMPREFIXreports&quot;, $sql);</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (elbekko)]]></author>
			<pubDate>Thu, 08 Feb 2007 22:03:24 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/86837/#p86837</guid>
		</item>
		<item>
			<title><![CDATA[Re: 4 forums in one database]]></title>
			<link>http://punbb.informer.com/forums/post/86835/#p86835</link>
			<description><![CDATA[<p>Followup to Tobi&#039;s method:<br />&nbsp; &nbsp;I am working on an archive method (or two, see here: <a href="http://www.punres.org/viewtopic.php?pid=13630">http://www.punres.org/viewtopic.php?pid=13630</a> )<br />and using Tobi&#039;s method for utilizing the &quot;main&quot; forum&#039;s user database for the &quot;archive&quot; forum.&nbsp; </p><p>I found it works most completely if&nbsp; I add the following lines at Line 76:<br /></p><div class="codebox"><pre><code>        $sql = ereg_replace($this-&gt;prefix .&quot;users&quot;, &quot;MAINFORUMPREFIXusers&quot;, $sql);
        $sql = ereg_replace($this-&gt;prefix .&quot;groups&quot;, &quot;MAINFORUMPREFIXgroups&quot;, $sql);
        $sql = ereg_replace($this-&gt;prefix .&quot;online&quot;, &quot;MAINFORUMPREFIXonline&quot;, $sql);
        $sql = ereg_replace($this-&gt;prefix .&quot;forum_perms&quot;, &quot;MAINFORUMPREFIXforum_perms&quot;, $sql);
        $sql = ereg_replace($this-&gt;prefix .&quot;reports&quot;, &quot;MAINFORUMPREFIXreports&quot;, $sql);</code></pre></div><p>I am sure it can be re-written to be less code, but the idea is it allows for seemingly unequivocal (comprehensive) management of the users and their permissions from a single (the main) forum.&nbsp; </p><p>Since I am using the code I thought it would be useful to post this here.<br />Cheers,</p>]]></description>
			<author><![CDATA[dummy@example.com (twohawks)]]></author>
			<pubDate>Thu, 08 Feb 2007 21:46:02 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/86835/#p86835</guid>
		</item>
		<item>
			<title><![CDATA[Re: 4 forums in one database]]></title>
			<link>http://punbb.informer.com/forums/post/81450/#p81450</link>
			<description><![CDATA[<p>Gday all,</p><p>Tobi you posted this,<br /></p><div class="quotebox"><blockquote><p>Something like</p><p>Code:<br />$sql = ereg_replace($this-&gt;prefix .&quot;users&quot;, &quot;YOURTABLEusers&quot;, $sql);<br />Should work .<br />It must be placed in line 76 of include/dblayers/mysql.php</p><p>Replace YOURTABLE with the prefix of the usertable that you want to use.</p></blockquote></div><p>dbplyers dosnt exist on my installation, im running the latest version, any solution? </p><p>Cheers, james</p>]]></description>
			<author><![CDATA[dummy@example.com (zemond)]]></author>
			<pubDate>Wed, 15 Nov 2006 05:06:27 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/81450/#p81450</guid>
		</item>
		<item>
			<title><![CDATA[Re: 4 forums in one database]]></title>
			<link>http://punbb.informer.com/forums/post/70457/#p70457</link>
			<description><![CDATA[<p>I did nothing. I had to change all my plans and work with only one forum.</p>]]></description>
			<author><![CDATA[dummy@example.com (erinther)]]></author>
			<pubDate>Thu, 08 Jun 2006 20:09:54 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/70457/#p70457</guid>
		</item>
		<item>
			<title><![CDATA[Re: 4 forums in one database]]></title>
			<link>http://punbb.informer.com/forums/post/70201/#p70201</link>
			<description><![CDATA[<p>did u set the each config.php cookie to the same thing? <br />&lt;?php</p><p>$db_type = &#039;mysql&#039;;<br />$db_host = &#039;localhost&#039;;<br />$db_name = &#039;name_forum&#039;;<br />$db_username = &#039;name_forum&#039;;<br />$db_password = &#039;bigmama&#039;;<br />$db_prefix = &#039;&#039;;<br />$p_connect = false;</p><p>$cookie_name = &#039;punbb_cookie&#039;;<br />$cookie_domain = &#039;&#039;;<br />$cookie_path = &#039;/&#039;;<br />$cookie_secure = 0;<br />$cookie_seed = &#039;275be39a&#039;; &lt;---------------------------did u set then all to the same thing?</p><p>define(&#039;PUN&#039;, 1);</p>]]></description>
			<author><![CDATA[dummy@example.com (quaker)]]></author>
			<pubDate>Mon, 05 Jun 2006 20:33:41 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/70201/#p70201</guid>
		</item>
		<item>
			<title><![CDATA[Re: 4 forums in one database]]></title>
			<link>http://punbb.informer.com/forums/post/68860/#p68860</link>
			<description><![CDATA[<p>I know that this is an old topic, but could you tell us what happened with you forums?<br />u got all the users registered for all forums but still thye have to login for each is that right?</p>]]></description>
			<author><![CDATA[dummy@example.com (FhdQa)]]></author>
			<pubDate>Mon, 22 May 2006 08:16:16 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/68860/#p68860</guid>
		</item>
		<item>
			<title><![CDATA[Re: 4 forums in one database]]></title>
			<link>http://punbb.informer.com/forums/post/51995/#p51995</link>
			<description><![CDATA[<p>I tried the do what FLX said, but it was no help. I did not work...</p>]]></description>
			<author><![CDATA[dummy@example.com (erinther)]]></author>
			<pubDate>Thu, 15 Sep 2005 20:06:00 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/51995/#p51995</guid>
		</item>
		<item>
			<title><![CDATA[Re: 4 forums in one database]]></title>
			<link>http://punbb.informer.com/forums/post/51952/#p51952</link>
			<description><![CDATA[<p>yes. I mean that mod. But if we had some mod for creating sub-category, then I was possible to include all my forums in only one.By the way, is there any sub-category mod for punbb?</p>]]></description>
			<author><![CDATA[dummy@example.com (erinther)]]></author>
			<pubDate>Thu, 15 Sep 2005 02:05:56 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/51952/#p51952</guid>
		</item>
		<item>
			<title><![CDATA[Re: 4 forums in one database]]></title>
			<link>http://punbb.informer.com/forums/post/51951/#p51951</link>
			<description><![CDATA[<p>You mean something like <a href="http://www.punres.org/desc.php?pid=105">this</a>?</p>]]></description>
			<author><![CDATA[dummy@example.com (Smartys)]]></author>
			<pubDate>Thu, 15 Sep 2005 01:55:03 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/51951/#p51951</guid>
		</item>
	</channel>
</rss>
