<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: vBulletin MVC Framework</title>
	<link>http://refactored.siradrian.com/2008/02/16/vbulletin-mvc-framework/</link>
	<description>refactoring the development process</description>
	<pubDate>Tue, 06 Jan 2009 00:41:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Ravi kant Sharma</title>
		<link>http://refactored.siradrian.com/2008/02/16/vbulletin-mvc-framework/#comment-176</link>
		<dc:creator>Ravi kant Sharma</dc:creator>
		<pubDate>Mon, 17 Nov 2008 05:36:05 +0000</pubDate>
		<guid>http://refactored.siradrian.com/2008/02/16/vbulletin-mvc-framework/#comment-176</guid>
		<description>Need help!
In this link(http://forum.springframework.org/index.php)
There is"Core Spring Projects" under which their are sub forum headings .

I want the same structure for mine but it shows Last post,Threads and Posts adjacent to Forum name (ie "Core Spring Projects" in above link) .

Need your help what should i do ,where to look for some help and thing that will help me in solving this issue</description>
		<content:encoded><![CDATA[<p>Need help!<br />
In this link(http://forum.springframework.org/index.php)<br />
There is&#8221;Core Spring Projects&#8221; under which their are sub forum headings .</p>
<p>I want the same structure for mine but it shows Last post,Threads and Posts adjacent to Forum name (ie &#8220;Core Spring Projects&#8221; in above link) .</p>
<p>Need your help what should i do ,where to look for some help and thing that will help me in solving this issue</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike karthauser</title>
		<link>http://refactored.siradrian.com/2008/02/16/vbulletin-mvc-framework/#comment-168</link>
		<dc:creator>mike karthauser</dc:creator>
		<pubDate>Wed, 18 Jun 2008 12:23:29 +0000</pubDate>
		<guid>http://refactored.siradrian.com/2008/02/16/vbulletin-mvc-framework/#comment-168</guid>
		<description>we're just starting the process of moving a site into cakephp mvc and i have been asked by our client if they can continue to use vbulletin. Having found your post. i would be very interested in your process to mvc vbulletin and how you integrated with cakephp.</description>
		<content:encoded><![CDATA[<p>we&#8217;re just starting the process of moving a site into cakephp mvc and i have been asked by our client if they can continue to use vbulletin. Having found your post. i would be very interested in your process to mvc vbulletin and how you integrated with cakephp.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: semelak1</title>
		<link>http://refactored.siradrian.com/2008/02/16/vbulletin-mvc-framework/#comment-165</link>
		<dc:creator>semelak1</dc:creator>
		<pubDate>Wed, 28 May 2008 22:26:05 +0000</pubDate>
		<guid>http://refactored.siradrian.com/2008/02/16/vbulletin-mvc-framework/#comment-165</guid>
		<description>I am sorry if this is off-topic, but I have a question I was unable to find an answer to for the past two days and you seem to have experience with both VBulletin and Cakephp.

Here is what I am trying to do:
I have a simple file called test2.php which runs perfectly fine when executed over the app/webroot folder of cakephp.  it includes the VBulletin global.php file and uses datamanager_init('User', $vbulletin, ERRTYPE_ARRAY); to create new users.

When trying to include the global.php file from within a Cakephp controller (or even the bootstrap.php file), I always get this message:

Fatal error: Call to a member function query_read_slave() on a non-object in C:\xampp\htdocs\cake1.2\app\webroot\vb\includes\functions.php on line 3016

which refers to this line:
	$temps = $vbulletin-&#62;db-&#62;query_read_slave("
			SELECT title, template
			FROM " . TABLE_PREFIX . "template
			WHERE templateid IN (" . implode(',', $templateids) . ")
		");

When I tried to figure out when could be the cause, I used print_r($vbulletin-&#62;db) just before the above statement, and the output was nothing !!

Any help in this regard is very much appreciated.</description>
		<content:encoded><![CDATA[<p>I am sorry if this is off-topic, but I have a question I was unable to find an answer to for the past two days and you seem to have experience with both VBulletin and Cakephp.</p>
<p>Here is what I am trying to do:<br />
I have a simple file called test2.php which runs perfectly fine when executed over the app/webroot folder of cakephp.  it includes the VBulletin global.php file and uses datamanager_init(&#8217;User&#8217;, $vbulletin, ERRTYPE_ARRAY); to create new users.</p>
<p>When trying to include the global.php file from within a Cakephp controller (or even the bootstrap.php file), I always get this message:</p>
<p>Fatal error: Call to a member function query_read_slave() on a non-object in C:\xampp\htdocs\cake1.2\app\webroot\vb\includes\functions.php on line 3016</p>
<p>which refers to this line:<br />
	$temps = $vbulletin-&gt;db-&gt;query_read_slave(&#8221;<br />
			SELECT title, template<br />
			FROM &#8221; . TABLE_PREFIX . &#8220;template<br />
			WHERE templateid IN (&#8221; . implode(&#8217;,', $templateids) . &#8220;)<br />
		&#8220;);</p>
<p>When I tried to figure out when could be the cause, I used print_r($vbulletin-&gt;db) just before the above statement, and the output was nothing !!</p>
<p>Any help in this regard is very much appreciated.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
