<?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; integration</title>
	<atom:link href="http://www.elorg.net/tag/integration/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.elorg.net</link>
	<description>Ramblings and other miscellany.</description>
	<lastBuildDate>Mon, 26 Jul 2010 16:54:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<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>Forum Back Online</title>
		<link>http://www.elorg.net/2008/09/forum-back-online/</link>
		<comments>http://www.elorg.net/2008/09/forum-back-online/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 00:42:55 +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[wordpress]]></category>

		<guid isPermaLink="false">http://www.elorg.net/?p=155</guid>
		<description><![CDATA[As of today, the forum is back online. Unfortunately, I gave up on migrating the old data over. There were too many discrepancies between Vanilla and bbPress database table structure and requirements. Renaming/rearranging the tables are easy enough, but I don&#8217;t have the experience or time to try to make work-arounds for the more complicated [...]]]></description>
			<content:encoded><![CDATA[<p>As of today, <strong>the forum is back online</strong>.</p>
<p>Unfortunately, I gave up on migrating the old data over. There were too many discrepancies between Vanilla and bbPress database table structure and requirements. Renaming/rearranging the tables are easy enough, but I don&#8217;t have the experience or time to try to make work-arounds for the more complicated discrepancies that I found, and then hope that it doesn&#8217;t break anything.  I did give it a try though. <img src='http://www.elorg.net/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>We didn&#8217;t have any critical data on the forum, so I figured that it wouldn&#8217;t hurt too much to start from scratch. It has a very similar layout to previous incarnations, and the access has been restricted similarly as well.</p>
<p>I installed <a href="http://bbpress.org/">bbPress</a> since it integrates with <a href="http://www.wordpress.org/">WordPress</a> a lot easier and more dependably than Vanilla does.</p>
<p><strong>Your old account will still work</strong> unless it was removed due to complete inactivity. You can login through WordPress here on my website&#8217;s front page, or directly via the forum &#8211; both access the same user information.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elorg.net/2008/09/forum-back-online/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>
		<item>
		<title>Sorry about that!</title>
		<link>http://www.elorg.net/2008/06/sorry-about-that/</link>
		<comments>http://www.elorg.net/2008/06/sorry-about-that/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 23:03:38 +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=76</guid>
		<description><![CDATA[If you&#8217;ve stopped by my site at all over the past couple of weeks and found my site in various stages of disarray, I apologize. I was in the middle of migrating to a new web server when I realized I had been hacked, so I bumped up my plans to switch over instead of [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve stopped by my site at all over the past couple of weeks and found my site in various stages of disarray, I apologize. I was in the middle of migrating to a new web server when I realized I had been hacked, so I bumped up my plans to switch over instead of taking my time. Meanwhile I was trying to integrate my forum and my blog &#8211; and they weren&#8217;t playing nice.</p>
<p>I&#8217;ve reinstalled WordPress and Vanilla &#8230; several dozens of times (I&#8217;ve lost count at this point).  I&#8217;ve come across a number of different problems  due to the dns update, trying to make things more secure, the phase of the moon, etc.  I&#8217;m working on writing up a more thorough how-to &#8211; and it will be very long. Keep an eye out for that.</p>
<p>Meanwhile, I have most of the data imported.  I&#8217;m working on finishing it up (while continuously testing the forum). Plugins/extensions come next, followed lastly by templating the site to make it look better&#8230; So I apologize for the ugliness.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elorg.net/2008/06/sorry-about-that/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
