I just completed (hopefully) an integration with Vanilla 1.0.1 and Wordpress 2.0.5 (upgraded from 2.0.4). I made some notes. Hopefully they will help someone..
My host is Pair networks.
PHP 4.3.10
Zend Engine v1.3.0
WP/Vanilla Integration Notes
11/22/06
Wordpress 2.0.5 (upgraded from 2.0.4)
File Integration: You can put the forum files in the document root or somewhere else. File path is not significant to this integration.
DB Integration: Table names in WP have changed. Or at least my installation. It does not appear as though the table structure has changed (at least the users table). My users table is called 'wp_casual_mainusers' where casual is my DBname. Users will need to update $DatabaseTables['User'] = in the /conf/database.php file. Same for the ALTER TABLE script.
Authentication Integration: wp_options is no more. instead it's wp_DBNAME_mainoptions. This affects this line
$s = "select option_name, option_value from wp_options where option_name = 'siteurl' or option_name = 'home'";
of People.Class.WordpressAuthenticator.php.
Ditto for wp_users
$s = "select id, user_pass from wp_users where user_login ='".FormatStringForDatabaseInput($login)."'";
Membership Application: I chose not to use Vanilla for this. This meant I needed to make a copy for myself of people_signin_form_nopostback.php from the themes directory into the themes/vanilla directory and change the ApplyMembershipLink line to
<li class="ApplyForMembershipLink"> </a></li>
The nonblocking space helps the box render right.
Password Reset: This is not addressed in the WP-Vanilla Integration how-to, and is one of the reasons I chose not to use Vanilla's users controls. I replaced the ForgotPasswordLink line in people_signin_form_nopostback.php with
<li class="ForgotPasswordLink"> </a></li>
Since I took out both the MembershipLink and PasswordLink I can take out the nonblocking spaces and things render fine.
I also had a problem where the installer, running through the webserver, created all of the conf files protected and owned by nobody in the users group. Since I didn't own them, I couldn't change permissions and edit them. Chown typically requires superuser intervention.
You mean a Wordpress optimized Vanilla download... right?
Really, the stuff isn't hard. Between the posted instructions and my notes, it's basically cut and paste.
The only real stumbling block I had was that upon install I didn't have ownership of the files in /conf. An administrator at my host had to fix that for me (done overnight).
http://lussumo.com/community/discussion/4818/wordpressvanilla-intergration-issue-with-single-quote/
sorry started a new post thought it would get more attention
Comments