<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>elorg.net &#187; vanilla</title>
	<atom:link href="http://www.elorg.net/tag/vanilla/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.elorg.net</link>
	<description>Ramblings and other miscellany.</description>
	<lastBuildDate>Wed, 23 Nov 2011 20:55:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Another Forum Move?</title>
		<link>http://www.elorg.net/2011/07/another-forum-move/</link>
		<comments>http://www.elorg.net/2011/07/another-forum-move/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 14:04:47 +0000</pubDate>
		<dc:creator>elorg</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[bbpress]]></category>
		<category><![CDATA[forum]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[migration]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[vanilla]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.elorg.net/?p=670</guid>
		<description><![CDATA[I&#8217;ve gone through so many forum solutions over the years. I moved to bbPress at some point a while ago because I was tired of trying to integrate Vanilla with WordPress. Unfortunately, bbPress doesn&#8217;t seem to be updated often, and is seriously lacking&#8230; almost everything. I think it&#8217;s time to move back to Vanilla (again). [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve gone through so many forum solutions over the years. I moved to bbPress at some point a while ago because I was tired of trying to integrate Vanilla with WordPress. Unfortunately, bbPress doesn&#8217;t seem to be updated often, and is seriously lacking&#8230; almost everything.</p>
<p>I think it&#8217;s time to move back to Vanilla (again). It integrates so much better, and even though I absolutely loved it the last time I used it, it looks so much slicker now.</p>
<p>I&#8217;ve been doing some tinkering, and it&#8217;s NOT going to be an easy process. There&#8217;s a script that&#8217;s supposed to help with the migration &#8211; but it fails horribly for me no matter what I do to try to coerce into behaving. I&#8217;ve mapped out a lot of the fields (maybe I should actually write all of that down and share it) and that portion isn&#8217;t so bad. It&#8217;s the differences in the way that bbPress and Vanilla each store the content of the first post of each topic that&#8217;s going to be the biggest pain. Thankfully my little forum is pretty low traffic, so I can take my time.</p>
<p>So far I&#8217;ve tried a LOT of different approaches, and ruled them all out. I think I have a game plan now, and just need to sit down for a day and get it done. I&#8217;m hoping it actually works and I&#8217;m not wasting my time. It&#8217;s not entirely a waste though &#8211; I consider myself a database n00b, and hacking through all of this is teaching me quite a bit.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elorg.net/2011/07/another-forum-move/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress &amp; Vanilla Integration &#8211; Revisited?</title>
		<link>http://www.elorg.net/2009/01/wordpress-vanilla-integration-revisited/</link>
		<comments>http://www.elorg.net/2009/01/wordpress-vanilla-integration-revisited/#comments</comments>
		<pubDate>Fri, 30 Jan 2009 19:56:38 +0000</pubDate>
		<dc:creator>elorg</dc:creator>
				<category><![CDATA[Journal]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[bbpress]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[vanilla]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.elorg.net/?p=197</guid>
		<description><![CDATA[I really don&#8217;t know what to think these days. I&#8217;ve fought to get WordPress 2.5x integrated with Vanilla forums last year, and failed horribly. Although, I thought I had succeeded a number of times &#8211; only to have it somehow breakdown without any modifications. Eventually I gave up and went to bbPress. I forget the [...]]]></description>
			<content:encoded><![CDATA[<p>I really don&#8217;t know what to think these days. I&#8217;ve fought to get <a href="http://lussumo.com/community/discussion/8056/wordpress-25-bridge/">WordPress 2.5x integrated with Vanilla forums</a> last year, and failed horribly. Although, I thought I had succeeded a number of times &#8211; only to have it somehow breakdown without any modifications.</p>
<p>Eventually I gave up and went to <a href="http://bbpress.org/">bbPress</a>. I forget the reasoning, but for some reason I went with the alpha version. Perhaps it integrated more readily with the new version of WordPress? It works, but there are quirks.</p>
<p>I should actually say, it work<em>ed</em>. I updated bbPress, and it appeared to work ok. However, now you can&#8217;t actually open any threads. Odd. So its&#8217; a forum where you can only login and see what is there, but not open or reply to anything? How useful. hahahaha</p>
<p>Now that the forum is just about completely hosed (and I haven&#8217;t figured out why yet), along with the original quirks&#8230; I&#8217;m tempted to give the WordPress+Vanilla another try. Or, I was.</p>
<p>Then I went back to that <a href="http://lussumo.com/community/discussion/8056/wordpress-25-bridge/">original thread</a> that is apparently still active. It looks like people have been recently attempting this with the current versions with even less luck than before&#8230;?</p>
<p>I&#8217;ll think about it. For now I just need to get my new design up and functional &#8211; and THEN consider major hackory on my forum. But until then, the forum may be unusable <img src='http://www.elorg.net/wp/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.elorg.net/2009/01/wordpress-vanilla-integration-revisited/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Not Again!?!?!</title>
		<link>http://www.elorg.net/2008/08/not-again/</link>
		<comments>http://www.elorg.net/2008/08/not-again/#comments</comments>
		<pubDate>Sun, 03 Aug 2008 19:32:48 +0000</pubDate>
		<dc:creator>elorg</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[forum]]></category>
		<category><![CDATA[vanilla]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.elorg.net/?p=98</guid>
		<description><![CDATA[Looks like the forum&#8217;s cookies are broken on the forum again. And again, nothing has changed so I don&#8217;t know why it happened. I might start looking into migrating to bbPress again because this is just getting ridiculous.]]></description>
			<content:encoded><![CDATA[<p>Looks like the forum&#8217;s cookies are broken on the forum again. And again, nothing has changed so I don&#8217;t know why it happened. I might start looking into migrating to bbPress again because this is just getting ridiculous.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elorg.net/2008/08/not-again/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Login Form</title>
		<link>http://www.elorg.net/2008/06/login-form/</link>
		<comments>http://www.elorg.net/2008/06/login-form/#comments</comments>
		<pubDate>Mon, 23 Jun 2008 02:39:31 +0000</pubDate>
		<dc:creator>elorg</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[vanilla]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.elorg.net/?p=78</guid>
		<description><![CDATA[I&#8217;ve setup a login form on the home page. I kind of hacked it together, but it works. At least it contains the links to your WordPress &#038; Vanilla profiles, as well as the forum for now. I&#8217;ll work on cleaning it up and setting some conditions when I have time.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve setup a login form on the home page. I kind of hacked it together, but it works. At least it contains the links to your WordPress &#038; Vanilla profiles, as well as the forum for now.  I&#8217;ll work on cleaning it up and setting some conditions when I have time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elorg.net/2008/06/login-form/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Integrating WordPress &amp; Vanilla [with Existing Content]</title>
		<link>http://www.elorg.net/2008/06/integrating-wordpress-vanilla-with-existing-content/</link>
		<comments>http://www.elorg.net/2008/06/integrating-wordpress-vanilla-with-existing-content/#comments</comments>
		<pubDate>Fri, 20 Jun 2008 22:00:56 +0000</pubDate>
		<dc:creator>elorg</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[migration]]></category>
		<category><![CDATA[vanilla]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.elorg.net/?p=73</guid>
		<description><![CDATA[If you've googled "WordPress Vanilla integration" then I'm sure you've come across the instructions on the <a href="http://lussumo.com/docs/doku.php?id=vanilla:integration:wordpress">Lussumo website</a>.  Thanks to them for taking some time to write that up!  Unfortunately, that is no longer sufficient because it documents integrating WordPress 2.0.4 and Vanilla 1.0.1.  At the time of writing this entry, WordPress is at 2.5.1 and Vanilla is at 1.1.4. In addition, every tutorial or bit of info that I've found has made the assumption that everything is starting out fresh and new. That makes it almost easy as cake! However, that doesn't entirely work for me since I already had both WordPress and Vanilla installed, with users and content - functioning independently.]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve googled &#8220;WordPress Vanilla integration&#8221; then I&#8217;m sure you&#8217;ve come across the instructions on the <a href="http://lussumo.com/docs/doku.php?id=vanilla:integration:wordpress">Lussumo website</a>.  Thanks to them for taking some time to write that up!  Unfortunately, that is no longer sufficient because it documents integrating WordPress 2.0.4 and Vanilla 1.0.1.  At the time of writing this entry, WordPress is at 2.5.1 and Vanilla is at 1.1.4. In addition, every tutorial or bit of info that I&#8217;ve found has made the assumption that everything is starting out fresh and new. That makes it almost easy as cake! However, that doesn&#8217;t entirely work for me since I already had both WordPress and Vanilla installed, with users and content &#8211; functioning independently.<br />
<span id="more-73"></span></p>
<p>I want to try to summarize all of the steps that I took in an effort to help anyone out there that&#8217;s looking to do this, as well as to document it for myself in the event that I need to do this again in the future. These steps are all specific to my circumstances &#8211; which are probably not all that common. However, maybe this can serve as a solid starting point and give ideas on what to think about.</p>
<p><strong>My situation:</strong><br />
I was running WordPress 2.5.1, Vanilla 0.9.6(?) (shame on me for not staying up to date!) with 1 WordPress user, and a handful of Vanilla users.  I did NOT have any subdomains setup (I believe this may affect the cookies).  I was in the process of moving my website to a newer server and figured that I might as well use this as an opportunity to get things setup properly, integrated, and up to date.</p>
<p>The steps I took were probably NOT the most efficient because I was/am still learning. I&#8217;m sure that if you have the knowledge, you could script much of this &#8211; and I know the Vanilla/WordPress community would very much appreciate something along those lines.</p>
<p>It&#8217;s important to keep in mind that each user, blog post, forum category, comment, etc., each have their own incrementing ID#s that will need to be taken into account when planning your upgrade/migration. Those IDs all correspond to each other, and depending on your situation you may need to import your data in a different order than I have to make things easier for yourself.  We&#8217;ll come back to this later.</p>
<p>I was starting fresh on my new server which proved to make most things easier.  The files on my old server were unusable as they were, so monkeying with the databases didn&#8217;t affect anything (just make sure you make frequent backups before/after you do anything &#8211; just in case&#8230;!). The Vanilla upgrade instructions from 0.9x to 1.1.4 weren&#8217;t very thorough, so I kind of worked around them.</p>
<p>I followed the instructions from the Lussumo website <a href="http://lussumo.com/docs/doku.php?id=vanilla:integration:wordpress">here</a> and had to make some adjustments to make everything play well together and work.  Here&#8217;s a summary with some notes and extra steps, but be sure to read through the Lussumo instructions too.</p>
<p><strong>Be sure to read through everything before starting in the event that you need to change the order of some steps to accommodate your situation.</strong></p>
<ol>
<li>If you&#8217;re starting with an older version of Vanilla you&#8217;ll need to prep the database.  There&#8217;s a command that the upgrade script may say that you need to run depending on the version you&#8217;re coming from.  I wasn&#8217;t able to find it in the <a href="http://lussumo.com/docs/doku.php?id=vanilla:upgrading">Lussumo upgrade instructions</a> (and I forgot to capture it during the process. Start the upgrade script and run the sql command if instructed, but stop there.</li>
<li>It&#8217;s probably best to start fresh. If you have pre-existing installs, backup your databases and drop the tables before starting.</li>
<li>The Lussumo instructions recommend installing WordPress first. I&#8217;ve found that this may &#8220;randomly&#8221; give you &#8220;500 Internal Server Error&#8221;s when attempting to install Vanilla <em>after</em> WordPress.  For less of a headache, switch the install order and install Vanilla first.</li>
<p>Here&#8217;s a tip: Set your &#8220;throw-away&#8221; Vanilla admin account username and password to something different than you&#8217;re going to set for WordPress. This will help with troubleshooting in the future if you have problems logging in.</p>
<li>Install the latest version of WordPress.</li>
<p><em>During the install, I specified a custom table prefix. I would recommend doing this as well. If you do this, make note of the custom prefix for later steps.</em></p>
<p><em>Note that if you need, you can put WordPress in its own folder while keeping your root directory clean.  See more info <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">here</a>. Although, this seemed to cause problems with my integration. I think it had something to do with the cookie path because the forum folder no longer resided inside where WordPress was located&#8230;(?) so I skipped this particular step.</em></p>
<li>Setup the secret key! This is new in WordPress, so this information is not in the Lussumo instructions.  Check <a href="http://www.blaenkdenum.com/wordpress-25-and-vanilla-forums/">here</a> or <a href="http://lussumo.com/community/discussion/8056/wordpress-25-bridge/">here</a> for more info. I updated the WordPress wp-config.php file as well as the Vanilla conf/database.php file &#8211; but I did NOT update the WordPress &#8220;options&#8221; database table!</li>
<li>Now would be a good time to setup some <a href="http://www.mattcutts.com/blog/three-tips-to-protect-your-wordpress-installation/">security precautions</a> while everything is new and easier to modify.  The <a href="http://semperfiwebdesign.com/plugins/wp-security-scan/">WP Security Scan plugin</a> can help. <a href="http://semperfiwebdesign.com/documentation/wp-security-scan/change-wordpress-database-table-name-prefix/">Change your WordPress database table prefix</a> (as mentioned previously), <a href="http://semperfiwebdesign.com/documentation/wp-security-scan/change-wordpress-admin-username/">rename your WordpPress Admin user account</a>, etc.</li>
<li>Tell Vanilla to use the WordPress user table by updating the conf/database.php file. If you set a custom prefix, make sure to make the necessary adjustments to the instructions to accommodate that.</li>
<li>Run the query to add the Vanilla-specific columns to the WordPress user table.</li>
<p><em>Leave out the line to add the &#8216;Email&#8217; column. I&#8217;ve found that this isn&#8217;t used &#8211; perhaps it was at one time. Note that the previous step directs Vanilla to use the already-existing WordPress &#8216;Email&#8217; column, so why add another one into the mix? If you already have a database backup that has this column in it, then you can leave it &#8211; and maybe remove it after your data import.</em></p>
<li>Create the People/<a href="http://docs.google.com/View?docid=dhg8h5q9_1dmb7m967">People.Class.WordpressAuthenticator.php</a> to setup the authentication. <em>However</em>, follow the instructions <a href="http://lussumo.com/community/discussion/8056/wordpress-25-bridge/">from this thread</a> to do so.</li>
<li>Update the Vanilla conf/settings.php file to use the new Authenticator. Also comment any lines that refer to the old &#8220;LUM&#8221; user table if it exists.</li>
<li>Run the SQL command to set the WordPress Admin account to be the Vanilla administrative account, or just update the value manually.</li>
<p>Ok. You&#8217;re most of the way there now.</p>
<li>Make sure you can login to WordPress, and then stay logged in when you navigate to your forum.  If not, check the Vanilla cookie domain, the authenticator, and the secret key in the wp-config.php file and the database.php file all match. At this point you should be able to stay logged in on the forum, and be able to browse around as the admin.  <em>I have not yet gotten the Vanilla login page to work. That is still in progress.</em></li>
<p>Once that was done, I had to import my database tables. If you&#8217;re fluent enough, you can probably just do this all at once with a large database import. I prefer to do this in steps so if something breaks, I&#8217;ll know where to start looking.</p>
<li>First, setup the basic structure that the rest of the data relies on. Import the categories, tags, roles, etc.: LUM_CategoryRoleBlock, LUM_Category, LUM_Role, and wp_terms. You can do this by copying the appropriate lines that say &#8220;INSERT INTO&#8221; from the sql backup file, and pasting them into the sql command field in phpmyadmin. Don&#8217;t forget to adjust the table names as necessary.</li>
<li>Browse to the forum as the admin and confirm that the roles and categories exist. Do the same for the WordPress tags.</li>
<li>Once that was setup, I opened the sql file and literally copied and pasted the data for the forum user accounts into the corresponding cells of the new users table. If you can script this &#8211; even better.</li>
<p><em>I really only had user accounts on the forum, so I transferred that data over to become the new hybrid user accounts. This will be more complicated if you had a number of different user accounts in both WordPress and Vanilla.</em></p>
<p><strong>User ID&#35;&#8217;s are important!</strong> <em>If you import a user with an ID of &#8220;2&#8243; into the database as user with an ID of &#8220;5&#8243;, then all of the associated posts will point to the wrong user! This also means that whatever the user ID is for your WordPress admin account, this will also be the Vanilla admin account. So <strong>plan this part carefully.</strong></em></p>
<p><strong>Also important!</strong> <em>WordPress does not allow users to change their usernames, while Vanilla DOES! I&#8217;m not sure how this will affect WordPress if a user attempts this&#8230;</em></p>
<li>Next, WordPress has a second &#8220;_usermeta&#8221; table. You&#8217;ll need to populate this as well.  This stores things like First &amp; Last name, WordPress access type, nickname, etc. I don&#8217;t yet know how to redirect Vanilla to use this information, so there&#8217;s some data duplication. If your users update particular pieces of information, they may need to do it for both applications.</li>
<li>Again, perform a search for * users on the forum and make sure that everyone appears as they should. Open the WordPress Dashboard and browse the users to ensure that they look correct with the appropriate access as well.</li>
<li>When the user accounts are all imported, then you can begin importing the WordPress blog entries, WordPress pages, and the Vanilla discussions using the same method as the structure items above (wp_posts, wp_term_relationships, and LUM_Discussion).</li>
<li>After the blog entries, pages, and discussions are imported, then you can import the comments &amp; replies (wp_comments and LUM_Comment).</li>
<li>If you want to carry over the Vanilla user IP history or the WordPress post edit history, you can do that now (LUM_IpHistory, wp_postmeta). I did some pruning to keep the database size manageable.</li>
<li>Don&#8217;t forget any links that you might have had setup in WordPress (wp_links).</li>
</ol>
<p>I think that was it!  Easy, huh?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elorg.net/2008/06/integrating-wordpress-vanilla-with-existing-content/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

