<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.2" -->
<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: Integrating the Vanilla forum into a PHP application</title>
	<link>http://prashantrajan.com/blog/2007/05/03/integrating-the-vanilla-forum-into-a-php-application/</link>
	<description>Real Person. Real Views.</description>
	<pubDate>Fri, 05 Dec 2008 03:03:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>By: Jason Judge</title>
		<link>http://prashantrajan.com/blog/2007/05/03/integrating-the-vanilla-forum-into-a-php-application/#comment-1038</link>
		<dc:creator>Jason Judge</dc:creator>
		<pubDate>Sun, 23 Nov 2008 17:40:03 +0000</pubDate>
		<guid>http://prashantrajan.com/blog/2007/05/03/integrating-the-vanilla-forum-into-a-php-application/#comment-1038</guid>
		<description>About the verification key - it seems to be a potental security vulnerability. To log into a forum as a specific user, all you need to know is the verification key and user ID. There are ways of getting hold of the user ID (from postings) and if you create a verification key that is determinate (i.e. can be calculated knowing various things about the account you are logging into) then an attacker could create the pair of cookies and waltz right in.

Check out the function DefineVerificationKey() in Vanilla. It goes to great lengths to ensure the key is random. IMO it should be reset and randomised each time the user logs out.</description>
		<content:encoded><![CDATA[<p>About the verification key - it seems to be a potental security vulnerability. To log into a forum as a specific user, all you need to know is the verification key and user ID. There are ways of getting hold of the user ID (from postings) and if you create a verification key that is determinate (i.e. can be calculated knowing various things about the account you are logging into) then an attacker could create the pair of cookies and waltz right in.</p>
<p>Check out the function DefineVerificationKey() in Vanilla. It goes to great lengths to ensure the key is random. IMO it should be reset and randomised each time the user logs out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: differant-jason</title>
		<link>http://prashantrajan.com/blog/2007/05/03/integrating-the-vanilla-forum-into-a-php-application/#comment-1034</link>
		<dc:creator>differant-jason</dc:creator>
		<pubDate>Wed, 29 Oct 2008 14:59:48 +0000</pubDate>
		<guid>http://prashantrajan.com/blog/2007/05/03/integrating-the-vanilla-forum-into-a-php-application/#comment-1034</guid>
		<description>thanks dude.. exactly what I was looking for. KUDOS!!</description>
		<content:encoded><![CDATA[<p>thanks dude.. exactly what I was looking for. KUDOS!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepak</title>
		<link>http://prashantrajan.com/blog/2007/05/03/integrating-the-vanilla-forum-into-a-php-application/#comment-1019</link>
		<dc:creator>Deepak</dc:creator>
		<pubDate>Thu, 28 Aug 2008 16:08:21 +0000</pubDate>
		<guid>http://prashantrajan.com/blog/2007/05/03/integrating-the-vanilla-forum-into-a-php-application/#comment-1019</guid>
		<description>Thanks, Saved lots of time.</description>
		<content:encoded><![CDATA[<p>Thanks, Saved lots of time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://prashantrajan.com/blog/2007/05/03/integrating-the-vanilla-forum-into-a-php-application/#comment-1018</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Mon, 25 Aug 2008 20:34:52 +0000</pubDate>
		<guid>http://prashantrajan.com/blog/2007/05/03/integrating-the-vanilla-forum-into-a-php-application/#comment-1018</guid>
		<description>It's me again, I was able to figure it out. I did what Jan said about and it works like a charm. I can now login and out using whatever method I want. Thanks again for all your efforts, and thank you Jan!

Jason</description>
		<content:encoded><![CDATA[<p>It&#8217;s me again, I was able to figure it out. I did what Jan said about and it works like a charm. I can now login and out using whatever method I want. Thanks again for all your efforts, and thank you Jan!</p>
<p>Jason</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://prashantrajan.com/blog/2007/05/03/integrating-the-vanilla-forum-into-a-php-application/#comment-1017</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Mon, 25 Aug 2008 19:45:11 +0000</pubDate>
		<guid>http://prashantrajan.com/blog/2007/05/03/integrating-the-vanilla-forum-into-a-php-application/#comment-1017</guid>
		<description>It seems Vanilla has changed a bit since this post was written. I was able to use your guide and mod it a bit and can now login to Vanilla through an alternative login form but it won't logout. It seems Vanilla uses php sessions to store user login information, and it seems Vanilla uses a different session altogether than the application I am trying to integrate it with.

Any pointers or perhaps an updated tutorial? This is the ONLY post I can find about integrating Vanilla into a custom application and I have looked for hours upon hours at other examples and am just lost.

Thanks buddy!</description>
		<content:encoded><![CDATA[<p>It seems Vanilla has changed a bit since this post was written. I was able to use your guide and mod it a bit and can now login to Vanilla through an alternative login form but it won&#8217;t logout. It seems Vanilla uses php sessions to store user login information, and it seems Vanilla uses a different session altogether than the application I am trying to integrate it with.</p>
<p>Any pointers or perhaps an updated tutorial? This is the ONLY post I can find about integrating Vanilla into a custom application and I have looked for hours upon hours at other examples and am just lost.</p>
<p>Thanks buddy!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan</title>
		<link>http://prashantrajan.com/blog/2007/05/03/integrating-the-vanilla-forum-into-a-php-application/#comment-999</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Tue, 06 May 2008 18:09:33 +0000</pubDate>
		<guid>http://prashantrajan.com/blog/2007/05/03/integrating-the-vanilla-forum-into-a-php-application/#comment-999</guid>
		<description>Hi Prashant,

many thanks for your great tutorial. It really helped me a lot with our application integration.

Only that I almost killed myself trying to logoff from Vanilla from my applications logout routine. I was able to authenticate but never to deauthenticate. Untill I learned that you have to synchronize the application session and the vanilla session. Which means you have to add the line
$Configuration['SESSION_NAME'] = 'my_session';
in the file conf/settings.php when you are using a not standard session name like 'my_session'. This line tells Vanilla to use the different session name for its authentication.

Furthermore you have to destroy the session when logging out. Just add the line
session_destroy();
to your applications logout routine and everything seems to be working smoothly afterwards.</description>
		<content:encoded><![CDATA[<p>Hi Prashant,</p>
<p>many thanks for your great tutorial. It really helped me a lot with our application integration.</p>
<p>Only that I almost killed myself trying to logoff from Vanilla from my applications logout routine. I was able to authenticate but never to deauthenticate. Untill I learned that you have to synchronize the application session and the vanilla session. Which means you have to add the line<br />
$Configuration[&#8217;SESSION_NAME&#8217;] = &#8216;my_session&#8217;;<br />
in the file conf/settings.php when you are using a not standard session name like &#8216;my_session&#8217;. This line tells Vanilla to use the different session name for its authentication.</p>
<p>Furthermore you have to destroy the session when logging out. Just add the line<br />
session_destroy();<br />
to your applications logout routine and everything seems to be working smoothly afterwards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prashant</title>
		<link>http://prashantrajan.com/blog/2007/05/03/integrating-the-vanilla-forum-into-a-php-application/#comment-94</link>
		<dc:creator>Prashant</dc:creator>
		<pubDate>Tue, 11 Sep 2007 16:10:47 +0000</pubDate>
		<guid>http://prashantrajan.com/blog/2007/05/03/integrating-the-vanilla-forum-into-a-php-application/#comment-94</guid>
		<description>Hi Joe,

I haven't tried using SocialEngine myself but if you know how the app works then integrating it with Vanilla shouldn't be too difficult. If you have specific questions regarding the Vanilla integration points, I'll be more than happy to clarify where I can.

Also, if you're interested in building a social network, you may want to take a look at Ning (http://www.ning.com/). May be the easier path to take ;-)</description>
		<content:encoded><![CDATA[<p>Hi Joe,</p>
<p>I haven&#8217;t tried using SocialEngine myself but if you know how the app works then integrating it with Vanilla shouldn&#8217;t be too difficult. If you have specific questions regarding the Vanilla integration points, I&#8217;ll be more than happy to clarify where I can.</p>
<p>Also, if you&#8217;re interested in building a social network, you may want to take a look at Ning (http://www.ning.com/). May be the easier path to take <img src='http://prashantrajan.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://prashantrajan.com/blog/2007/05/03/integrating-the-vanilla-forum-into-a-php-application/#comment-93</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Tue, 11 Sep 2007 04:14:46 +0000</pubDate>
		<guid>http://prashantrajan.com/blog/2007/05/03/integrating-the-vanilla-forum-into-a-php-application/#comment-93</guid>
		<description>Hi there,

Thanks for a  great tutorial. I've been looking for an integration tutorial or mod for vanilla and socialengine, found at socialengine.net- I've looked everywhere to no avail. Your tutorial is the only one not predefined with a certain program such as (Word Press). Do you think your tutorial can help me pull what I'm trying to accomplish? Please help. I'm willing to pay for an integrations.

Thanks,

Joe</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>Thanks for a  great tutorial. I&#8217;ve been looking for an integration tutorial or mod for vanilla and socialengine, found at socialengine.net- I&#8217;ve looked everywhere to no avail. Your tutorial is the only one not predefined with a certain program such as (Word Press). Do you think your tutorial can help me pull what I&#8217;m trying to accomplish? Please help. I&#8217;m willing to pay for an integrations.</p>
<p>Thanks,</p>
<p>Joe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prashant Nadarajan</title>
		<link>http://prashantrajan.com/blog/2007/05/03/integrating-the-vanilla-forum-into-a-php-application/#comment-31</link>
		<dc:creator>Prashant Nadarajan</dc:creator>
		<pubDate>Tue, 15 May 2007 02:10:18 +0000</pubDate>
		<guid>http://prashantrajan.com/blog/2007/05/03/integrating-the-vanilla-forum-into-a-php-application/#comment-31</guid>
		<description>Hi Chi,

You need to pull LUM_User.UserID and LUM_User.VerificationKey. It's mentioned in item 4.</description>
		<content:encoded><![CDATA[<p>Hi Chi,</p>
<p>You need to pull LUM_User.UserID and LUM_User.VerificationKey. It&#8217;s mentioned in item 4.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chi</title>
		<link>http://prashantrajan.com/blog/2007/05/03/integrating-the-vanilla-forum-into-a-php-application/#comment-30</link>
		<dc:creator>Chi</dc:creator>
		<pubDate>Mon, 14 May 2007 22:53:19 +0000</pubDate>
		<guid>http://prashantrajan.com/blog/2007/05/03/integrating-the-vanilla-forum-into-a-php-application/#comment-30</guid>
		<description>Hey man just checkin..u said to set the cookie..but you didnt say wat variables to pull from the database...a quick example will be sufficient...</description>
		<content:encoded><![CDATA[<p>Hey man just checkin..u said to set the cookie..but you didnt say wat variables to pull from the database&#8230;a quick example will be sufficient&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
