Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorBlaenkDenum
    • CommentTimeMar 29th 2008 edited
     # 1
    Hey, I've been using the WordPress integration method described here which worked wonderfully. However, as of 2.5, WordPress now uses phpass and salts the hashes, as well as encrypts cookies (Described here towards the bottom). I've already tried to figure out how to modify the implementation but I just can't figure it out. I believe I have to use either wp_hash_password or wp_check_password. I don't care if the auto-authentication works (It might not because that involved cookies, and WordPress changed the way it does cookies). There is a plugin to revert to the original plain md5 hashing method here here, but I would prefer the extra layer of security. Here are the definitions of wp_check_password() and wp_hash_password().

    I would appreciate if anyone has any answers or could help in any way with this, as I would like to keep Vanilla forums. I don't mind doing this myself, I just need some type of guidance. SirNot, please help :(
    • CommentAuthorrmccue
    • CommentTimeMar 29th 2008
     # 2
    This would definitely be needed. I might try and write this myself, if no one else does.
  1.  # 3
    I forgot to mention. To use WordPress functions such as the ones I mentioned earlier, wp_check_password() and wp_hash_password(), one must follow the procedure outlined here. This will allow one to call functions as if they were working on WordPress files themselves.

    @rmccue: If you do write one eventually, please let me know! I'd be glad to help if you need anything, by the way.
    • CommentAuthorfysicsluvr
    • CommentTimeMar 29th 2008
     # 4
    while you're at it, you might write an extension for vanilla that adds the security that wordpress added with their update.
    •  
      CommentAuthormicz
    • CommentTimeMar 31st 2008
     # 5
    I've updated the WordpressAuthenticator written by Mark.

    Please consider:
    • I'm currently using the plugin to store passwords with md5 encryption.
    • You need to login from wordpress at least one time to let it create the "secret" option that is the secret salt (or at least verify that the option exists!).
    • You need to specify a $Configuration['WP_SECRET_KEY'] to match exactly the SECRET_KEY defined in wp-config.php
    • This is highly experimental!

    • The previous version uses two cookies, one to store the plain username and one to store che double-md5-ed password. So to get the identity it verifies the stored username and password with the ones in the cookies.
      In this version as long as I've got this right it uses only one cookie to store a string made by the username, the expiration time (I've set this to one hour) and a hash.
      So Vanilla has to verify this hash.
      I'm concerned to not weak the security in a way I've not understood, so, please, may you confirm this?

      I've set up a gdoc with the source, but tell me if there is a better way to share it (I can send the source to Mark if needed).

      The source: http://docs.google.com/View?docid=dhg8h5q9_1dmb7m967

      Thanks!

      Mic
    • CommentAuthormafro
    • CommentTimeMar 31st 2008
     # 6
    Typically I just spent the morning doing precisely the same thing as micz.. Should've checked here first! This is working fine on my site in conjunction with the MD5 Password Hashes plugin.

    Our implementation is pretty much the same - cheap and cheerful copy-paste of the auth functions from pluggable.php in wordpress.. I suppose it's somewhat reassuring that two people independently came out with the exact same solution.

    Google Doc
    •  
      CommentAuthormicz
    • CommentTimeApr 1st 2008
     # 7
    You're right we've done the same thing: fast and effective. :)
    I've only forgotten to remove a couple not used variables from the custom version of the file I'm using in my webapp.

    So I assume that this is the right way and we're not weakening the wp security.

    Mic
    • CommentAuthorrmccue
    • CommentTimeApr 4th 2008
     # 8
    So I assume that this is the right way and we're not weakening the wp security.

    Yes, this is the absolute wrong way to do it. The password hashing was changed to be more resilient to cracking by using HMACs and this plugin reverts it to the old behaviour. The real way to do it would be to use the actual new functions as part of WP.
    •  
      CommentAuthormicz
    • CommentTimeApr 5th 2008 edited
     # 9
    Yes rmccue, you're right.
    But I was only referring to the new cookie management.
    I know using that plugin (I didn't write) is reverting to the old md5 password system.

    The code I and mafro wrote is about the way Wordpress 2.5 is using the cookie to mantain the authentication and my concern was only about that.

    I think you can use the wp login form with the new passowrd system and, after the authentication, with the modified WordpressAuthenticator file, the user should still logged into vanilla.
    I've not tested it thought.

    I hope someone will come out with the modification you need.
    • CommentAuthorSilkjaer
    • CommentTimeApr 7th 2008
     # 10
    Anyone got this working?

    I have set up my site using micz script, and installed the md5 hashes plugin in WP.. It won't work though - i can easily share the user database as usual, but cookies won't work. When i have logged in in WP i am not logged in in Vanilla, and as soon as i log in the other place, i am logged out the other.

    Any idea what i am doing wrong, or how i can fix it?
    •  
      CommentAuthormicz
    • CommentTimeApr 7th 2008
     # 11
    Silkjaer,

    have you checked if in your wp option table there is the "secret" option?
    Have you specified a $Configuration['WP_SECRET_KEY'] to match exactly the SECRET_KEY defined in wp-config.php?

    Given those, it should work.
    Let me know.
    • CommentAuthorSilkjaer
    • CommentTimeApr 7th 2008
     # 12
    Fantastic! Works now!
    Weird enough the secret in wp_options was different from the one in wp-config and vanilla :) changed to let them all match, and it works!

    Thanks alot
  2.  # 13
    @micz: Thanks man I really appreciate it. I noticed that you are using the MD5 hash plugin for WordPress. This is great since it at least works, but it'd be better if we could make use of the new security features in WordPress. Someone was kind enough to provide a working fix for the WordPress to phpBB3 bridge, WP-United. I think that the method they used could be implemented into the Vanilla bridge. What I mean by this is we can see how they modified the existing code (Since it operated in the same manner as this bridge, the whole hashing of passwords, storing of cookies, etc.) and modify ours respectively. I will try to do this myself but I don't know just how right I could do it. I have provided you with the information you'll need though, I believe.

    Thanks again micz, I really appreciate even this fix. I would definitely appreciate a fix that makes use of the new features though. Like I've said, to be able to use the WordPress functions, you'll want to do what is outlined here.
    • CommentAuthormafro
    • CommentTimeApr 8th 2008
     # 14
    To be honest I dont think it's really necessary to use the new password hashing scheme, ok so it's more secure against brute force attacks (rainbow tables etc..) should anyone get access to your DB, but most of the security benefits already exist via the port of the new cookie management protocol and the use of a salt on the hash.

    You can read about the improved cookie handling here and the basic problem with the old cookie implementation is described in this support ticket http://trac.wordpress.org/ticket/5367. This problem is fixed in the WP Bridge provided above. Links courtesy of boren.nu!

    Most of every site on the internet written in PHP will use md5 hashed passwords. For future development it makes sense to use phpass - but I wouldnt really worry about it for your WP/Vanilla homepage.
  3.  # 15
    Alright then. So the fix that micz provided is mainly to fix the cookie handling? Because it seems that why (Else why still use the MD5 Hash plugin). I'm fine with that, it's working perfectly fine now (When I go to the forums I am logged in). Thanks.
    •  
      CommentAuthormicz
    • CommentTimeMay 2nd 2008
     # 16
    This modification will not work with Wordpress 2.5.1, because some core functions are little different in this version.
    I hope to find soon the time to update the code.
  4.  # 17
    oh! perhaps this is what caused my problem...

    I hope that the solutions soon: D
    • CommentAuthorjuicysauce
    • CommentTimeMay 15th 2008
     # 18
    Thanks everyone for helping with this. Just wanted to add my voice to those reporting problems with 2.5.1.
    • CommentAuthormafro
    • CommentTimeMay 19th 2008
     # 19
    So I did the changes to my Wordpress bridge to make this work with 2.5.1. Unfortunately my modded wordpress/forum effort is so far different from a default install that I can't be sure that mine will work for any of you as is.

    Hence, I quickly did a (very slightly) modified version of micz's code from above which you should hopefully be able to drop into a default install. Find it here:
    http://docs.google.com/Doc?id=dcf7jf9g_1gcjpktgg

    If anyone would care to test this, ill have a look if you find any problems. If I had more time i'd do a default install and test myself!

    Cheers all
    mafro
    • CommentAuthorBivak
    • CommentTimeMay 19th 2008
     # 20
    @mafro: First off, thanks for your effort. I tried to install your modified version of micz's code. My Wordpress (2.5.1) is almost default,
    and my Vanilla (1.1.4) install is. Unfortunately it doesn't seem to work in my case.

    These are the steps I have taken;

    - Followed the steps in the Wiki that describes how to integrated Wordpress and Vanilla (http://lussumo.com/docs/doku.php?id=vanilla:integration:wordpress).
    - Placed your code in library/People and saved it as 'People.Class.WordpressAuthenticator.php'.
    - Edited the settings.php file in the conf directory;

    // Wordpress Authenticator
    $Configuration['AUTHENTICATION_MODULE'] = 'People/People.Class.WordpressAuthenticator.php';
    $Configuration['DEFAULT_ROLE'] = '3';
    $Configuration['ALLOW_IMMEDIATE_ACCESS'] = '1';
    $Configuration['WP_SECRET_KEY'] = 'my_secret';

    The WP_SECRET_KEY is the same as SECRET_KEY in wp-config.php. Also I updated the wordpress
    database;

    mysql> update wp_options set option_value='my_secret' where option_name='secret';

    - Installed and activated the MD5 Password Hashes plugin. Logged in again so it altered my MD5-hash.
    - After that, I surfed to my Vanilla forum, but I wasn't logged in automatically. When I try to log in,
    I don't receive any error, but I'm not able to login.
    - When I commented out the $Configuration['AUTHENTICATION_MODULE'] setting, I can login to
    Vanilla with the credentials from Wordpress.

    So am I missing something here? Is there a way to get more into debugging?

    Thanks in for your reply in advanced.

    Ciao,
    Bivak.
    • CommentAuthormafro
    • CommentTimeMay 20th 2008 edited
     # 21
    Ok I just did a default install and integration of WP 2.5.1 and Vanilla 1.1.4. I followed essentially the same steps as you did, but to clarify also:

    - I use the wp_users table, with the additional columns for Vanilla.
    - I don't use the WP login form. I redirect any requests for wp-login.php onto the Vanilla login page (see some code below). This shouldn't really make any difference however!

    I tried the modded code I posted previously, and yes it didn't work. Ill have a look at working out why later - I don't have time now. But, I did drop in my WordpressAuthenticator (posted originally above) and it worked fine.

    Try this code as a drop in replacement and let me know how you get on.

    http://docs.google.com/View?docid=dcf7jf9g_2dw92g6z8

    For reference this is the excerpt from my conf/database.php:

    // Map to the wordpress user table
    $DatabaseTables['User'] = 'wp_users';

    // Map existing wordpress columns to Vanilla
    $DatabaseColumns['User']['UserID'] = 'ID';
    $DatabaseColumns['User']['UserLogin'] = 'user_login';
    $DatabaseColumns['User']['Name'] = 'display_name';
    $DatabaseColumns['User']['Password'] = 'user_pass';
    $DatabaseColumns['User']['Email'] = 'user_email';
    $DatabaseColumns['User']['DateFirstVisit'] = 'user_registered';

    And here's the little bit of redirect code I added to wp-login.php. If you use this, set ROOT_URL to the location of your wordpress install (prob just / on live server).

    define("ROOT_URL", "/wordpress251/");

    if(($_GET['action'] == "logout") || ($_GET['loggedout'] == "true")) {
    //redirect Wordpress logout requests to home
    $return_url = ROOT_URL;

    }else if(strlen($_SERVER['QUERY_STRING']) == 0) {
    //redirect Wordpress login with no return_url to home
    $return_url = ROOT_URL;

    }else if(strpos($_SERVER['REQUEST_URI'], "wp-login.php?redirect_to=") > 0) {
    //crop off the Wordpress wp-login redirect
    $return_url = str_replace(ROOT_URL."wp-login.php?redirect_to=", "", $_SERVER['REQUEST_URI']);
    $return_url = urldecode($return_url);

    }else{
    $return_url = $_SERVER['REQUEST_URI'];
    }

    //dont use Wordpress login
    header("location: forum/people.php?PageAction=SignOutNow&ReturnUrl=".$return_url);
    exit;

    mafro
    • CommentAuthorjuicysauce
    • CommentTimeMay 21st 2008 edited
     # 22
    Did anyone get this to work? I haven't had any luck, but I'm thinking of starting over with a fresh install...

    Okay. I did a fresh install, and this is what's happening. I can sign in to Vanilla, but if I go to WP, I lose my logged in status. When I try to log in to the WP admin, I'm redirected to the Vanilla login (which is expected), but then after logging in, I'm brought to the Vanilla forum. In other words, I can no longer access the WP admin.
    •  
      CommentAuthormicz
    • CommentTimeMay 21st 2008 edited
     # 23
    Sorry for this late answer. I've updated my code, you'll find it at the usual url: http://docs.google.com/View?docid=dhg8h5q9_1dmb7m967

    Please, report any problem.
    Thanks.
    • CommentAuthorcircuit
    • CommentTimeMay 22nd 2008
     # 24
    it would be helpful if there was an official announcement when this is all sorted, for us non-coders. i have wordpress/vanilla working fine with 2.3.3, but i won't be upgrading wordpress to 2.5 until i know for sure that i can modify the scripts to handle it. with about 600 active users, i can't risk breaking the login process. thanks to all who are working on it.
    •  
      CommentAuthormicz
    • CommentTimeMay 22nd 2008
     # 25
    @circuit I've tested it locally on my pc and it works fine. I think it could be better also for you to test this script locally before use it in production on your live site.
    Regards.
    • CommentAuthorBivak
    • CommentTimeMay 22nd 2008
     # 26
    @mafro: It works now, your database.php config did the trick. It's slightly different from the one specified in the Wiki.

    Thanks! :)

    Ciao,
    Bivak.
    • CommentAuthorjuicysauce
    • CommentTimeMay 22nd 2008 edited
     # 27
    OMG hooray! It works. I've only tested locally, but it seems to be pretty solid. I'm not using the login re-direct; I'll have to try that, too.

    Thank you mafro, micz, and everyone else.

    UPDATE: I can't get the login redirect to work reliably.
    @mafro: In your instructions, you say you "added" the redirect code to wp-login.php. Where exactly did you add it? I'm not a very sharp programmer, so maybe I put in the wrong place...
    • CommentAuthormafro
    • CommentTimeMay 23rd 2008 edited
     # 28
    @Bivak: glad to hear it. Ill try to get this thread to notify me of new posts, so Ill actually know when you guys are replying.

    @juicysauce: you add this code snippet directly into the top of the wp-login.php file. The script will run upto the header() line before redirecting elsewhere. I also added and exit; statement at the end for clarity. When you say it doesn't work 'reliably' what behaviours are you seeing exactly?
    • CommentAuthorjuicysauce
    • CommentTimeMay 23rd 2008
     # 29
    @mafro: Thanks for the clarification on the placement of the redirect code. The problem I'm having is that I still can't seem to directly access my WP admin. If I go /wordpress/wp-admin.php, I'm redirected to the Vanilla login as expected, but then after logging in, I'm shown Vanilla's two options:

    You are signed in
    * Click here to continue to the discussions
    * Click here to continue to the categories

    In other words, I am not taken to the WP admin, which was my original destination. I can, of course, type in the address again, and I will be taken there, but that will be a bit confusing for some of my users, I think.

    (I'm having other problems, too. But that is my primary issue now.)
    • CommentAuthormafro
    • CommentTimeMay 23rd 2008
     # 30
    @juicysauce: have you made sure that your 'secret' keys all match one another? I've seen behaviour like that you've reported when keys don't match. Remember you need to have the same key in:

    * wp-config.php
    * forum/conf/settings.php
    * database: wp_options table - "secret" option.

    To clarify further your problem:
    1) You hit the front page of your site - /wordpress/ and are currently not logged in.
    2) You navigate to /wordpress/wp-admin/
    3) You should be redirected to /wordpress/forum/people.php?PageAction=SignOutNow&ReturnUrl=/wordpress/wp-admin/
    4) You enter login deets and get redirected to /wordpress/wp-admin/

    At which step does this fail?
    mafro
    • CommentAuthorjuicysauce
    • CommentTimeMay 23rd 2008 edited
     # 31
    Right, my secret keys all match. I cleared out my cache and started over, and here's what's happening now. (It's slightly different, but maybe it sheds light on things):

    1) I hit the front page of your site - /wordpress/ and are currently not logged in.
    2) I navigate to /wordpress/wp-admin/
    3) I am redirected to /wordpress/forum/people.php?PageAction=SignOutNow&ReturnUrl=/~username/wordpress/wp-admin/
    4) I login and get a 404 error

    I think the problem lies in the ReturnUrl parameter including my username in the path. But I don't know how to change that. (As I said before, I'm a horrible programmer. :-) )
  5.  # 32
    Took me like an hour to figure out this mess but it now works. The problem I was having was that I could only log in with my display name. This was because mafro put this:


    $DatabaseColumns['User']['UserLogin'] = 'user_login';
    $DatabaseColumns['User']['Name'] = 'display_name';


    I noticed this because instead of the forums saying started by admin as they usually did they said started by Blaenk Denum. I changed it to this:


    $DatabaseColumns['User']['Name'] = 'user_login';


    And everything worked. I wish I could use my display name Blaenk Denum on vanilla though, it's pretty weird just being 'admin' but I don't think there's a way to change the name from the default admin to something else in WordPress unless I made a new user account.
  6.  # 33
    EDIT: Oh, wow, I didn't realize how easy it was to simply change the username through the database. I didn't do this before because I thought it'd blow up or something, but it worked :D
    • CommentAuthorfysicsluvr
    • CommentTimeMay 25th 2008
     # 34
    KABOOM!

    I hate to break it to ya, but it just blew up...
    • CommentAuthorlvtrii
    • CommentTimeMay 26th 2008
     # 35
    I've tried to implement this a few times using Vanilla 1.1.4 and WP 2.5.1 (using my old install and fresh installs), but it's just not working for me :(
    The secret keys match, I'm using the right db mappings etc. What happens, is that I can use the Wordpress.Authenticator to login via Vanilla, and it will log me into Wordpress, but not into Vanilla. They're both running on the same domain, one is /blog/ and the other is /forum/, so I can't work out what the problem is.

    Any ideas/suggestions would be much appreciated
    • CommentAuthorjuicysauce
    • CommentTimeMay 26th 2008 edited
     # 36
    It sounds like maybe your cookie path is incorrect for Vanilla. Open your conf/settings.php and look for this line:

    $Configuration['COOKIE_DOMAIN'] = ''";
    My cookie domain is set to blank because I'm testing locally. Normally, it would be .mysite.com or www.mysite.com. A little more info can be found here:

    http://lussumo.com/community/discussion/5814/sign-in-problems-with-vanilla-112/#Item_1

    Hope that helps!
    • CommentAuthorfysicsluvr
    • CommentTimeMay 26th 2008
     # 37
    wordpress may have similar settings that need fixed. look in to it.
    • CommentAuthorlvtrii
    • CommentTimeMay 26th 2008 edited
     # 38
    $Configuration['COOKIE_DOMAIN'] = '.site.com';
    $Configuration['COOKIE_PATH'] = '/x/forum/';
    ----
    $Configuration['COOKIE_DOMAIN'] = '';
    $Configuration['COOKIE_PATH'] = '/x/forum/';
    ----
    $Configuration['COOKIE_DOMAIN'] = 'www.site.com';
    $Configuration['COOKIE_PATH'] = '/x/forum/';
    ----
    All 3 combinations have been tried, and it is still not signing me into vanilla. I'm logging in, but then not getting any confirmation messages. Just redirected to the vanilla homepage. The cookie has been set, but is not being recognised by Vanilla still.

    M
    • CommentAuthorfysicsluvr
    • CommentTimeMay 26th 2008
     # 39
    get rid of the "/x" portion of the setting, and see if that fixes it
    • CommentAuthorlvtrii
    • CommentTimeMay 27th 2008
     # 40
    Afraid that didn't work either.
    I ended up fixing it by:
    ---
    $forum = 'http://site.com/x/forum';
    $game = 'http://site.com/x';

    $this->CookiePath = preg_replace('|https?://[^/]+|i', '', $home . '/' );
    $this->SiteCookiePath = preg_replace('|https?://[^/]+|i', '', $siteurl . '/' );
    $this->ForumCookiePath = preg_replace('|https?://[^/]+|i', '', $forum . '/' );
    $this->GameCookiePath = preg_replace('|https?://[^/]+|i', '', $game . '/' );
    ---

    Then assigning cookies for ForumCookiePath and GameCookiePath as well as the other two. Maybe not the nicest solution (having one cookie as .site.com/* would be nicest), but it works well enough for me :)

    M
    • CommentAuthorjuicysauce
    • CommentTimeMay 28th 2008 edited
     # 41
    Man, I'd pay $50 to someone who writes some kind of a plugin or something that makes this whole Vanilla/WP integration work. Seems like we're all close, but not quite there...

    (I'm serious about the $50, by the way.) :-)
  7.  # 42
    The plugin would have to automatically do certain things then, like creating database tables or moving them, filling in the configuration variables, etc.
    • CommentAuthorelorg
    • CommentTimeMay 29th 2008
     # 43
    This thread has been incredibly helpful. Thanks to everyone who has had input on resolving various problems.

    Now I have a quick question that perhaps someone will have some insight on...

    I have wordpress and vanilla installed on one server, and I'm moving everything over to a second server with fresh installs and an integrated database, then importing the data over... The first hurdle is just about complete (the integration) except for a couple of quirks that I've noticed. (please bear with me, I'm still a bit of a database n00b)

    I followed all of the instructions I could find for the integration and was able to login to wordpress as Admin and then navigate to the forum and stay logged in as Admin - first success! Then I took a test user account on my old vanilla forum and manually copied/pasted the various fields over to the new wp_users table (tedious, I know - but I only have about a dozen user accounts so I figure it's not too bad and I'll learn something in the process). I realized that there's another table that wordpress needs - the wp_usermeta to set the First/Last name and access type. No biggie. I logged in as Admin and set that information there, and then was able to login as the migration test user and everything was kosher. I could navigate to the forum and post a new topic and everything is working fine. However, I saw some strange behavior.

    Now, vanilla is using the wp_users table for all of its information. The instructions walk you through creating the extra columns for the info that vanilla uses/needs, but wordpress doesn't have there. However, in this table there are first/last name columns where vanilla gets that information from for the vanilla profile. Yet wordpress gets this information from the wp_usermeta table.

    That's a bit frustrating. So my users have to go into 2 places to update/set their first/last name? Does anyone know of a way to tell vanilla to just use the wordpress data from the other table? There's gotta be a simpler way than I'm thinking of, because right now the only thing I can think of is to setup a cron job to run and compare the fields and make them match so there's no discrepancies (which is a bit ridiculous).
    • CommentAuthorelorg
    • CommentTimeJun 4th 2008
     # 44
    Ok. I *had* it working, but it's not anymore. I've made a few changes, and I'm not sure what broke it.

    It was initially working using an IP address because I hadn't moved my domain name over. I think that might have done it, but I'm not positive. When I updated DNS, I updated the config files to reflect the domain name instead of the IP address. I don't recall testing it before the other changes that I made...

    In addition, I started to secure the wordpress install a bit. I renamed the wordpress admin user and changed the "wp_" prefix for the tables. I updated the corresponding files that I was aware of - wp-config, settings.php, database.php, and the wordpress authenticator file. Does anyone know if there are any others that I would need to update? It's not giving me anymore errors after I updated the authenticator file.

    It can't be the admin username change because I can login to wordpress with another account fine, and when I go to the forum I'm not logged in. I've even tested from multiple computers and cleared my browser cookies just in case there were lingering cookies assuming that it was still using the IP address or something weird. At this point, I'm just grasping at straws.

    I went through everything I could find about the secret key, and verified that everything matched in the wp-config, the database.php, as well as the database itself. I tried removing all spaces in it to confirm that wasn't the problem. I even removed the ' in it - in case one of them somewhere was translating that as the end of the string or something. No dice.

    I thought it was the cookie domain settings and I've tried every setting and every combination that I can think of with no change.

    Any ideas? Anything you guys can think of for me to try would be greatly appreciated!
  8.  # 45
    I know this isn't any help, but I just wanted to say that I've had similar problems, elorg. I've done probably half a dozen fresh installs, and I get different results every time. Obviously, I'm making small errors along the way, but figuring out where is difficult when there are so many opportunities for small errors.

    I'm about to give up on this altogether. Which sucks, because I love Vanilla.
    • CommentAuthorelorg
    • CommentTimeJun 5th 2008
     # 46
    =/

    I just finished up fresh reinstalls without having to worry about a DNS update borking things when I'm done - with no luck.

    I'll look into this more later. *sigh
    • CommentAuthorelorg
    • CommentTimeJun 5th 2008
     # 47
    Well I'll be damned. It was the wordpress table prefix rename? I just reinstalled ... countless times. If I leave the wordpress table prefix to wp_ it works. If I rename it before I even begin the migration - or anywhere in between - it stops allowing the users' login to pass from wordpress to vanilla.

    If you rename the tables, where do you need to update in vanilla?
    database.php
    People.Class.WordpressAuthentication.php

    Anywhere else?
    • CommentAuthorelorg
    • CommentTimeJun 6th 2008
     # 48
    I spoke too soon. It works, but it doesn't. I can browse to the forums after authenticating. I can post comments in existing discussions, but I can't do anything else besides browse or search. If I try to create a new topic or update any of the forum settings, or even check for updates to vanilla, I get:

    There was a problem authenticating your post information.

    Time to look through the database again...
    • CommentAuthorelorg
    • CommentTimeJun 6th 2008
     # 49
    I realized that last night I was able to post a reply to an existing discussion. Today, I'm no longer able to. That certainly makes things interesting.
    • CommentAuthorelorg
    • CommentTimeJun 7th 2008
     # 50
    I really don't understand. I install wordpress and vanilla clean. I integrate them. I can post back and forth. Everything works. I go to sleep, and when I wake up it no longer works. "There was a problem authenticating your post information."

    And that's without changing the admin username, without changing the wordpress table prefix, without importing any of my data. It's all new. It works, and then suddenly stops after nothing has changed.