Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Vanilla / Wordpress Integration

MarkMark Vanilla Staff
edited January 2007 in Vanilla 1.0 Help
http://lussumo.com/swell/122/Vanilla-and-Wordpress-Integration/ http://lussumo.com/docs/doku.php?id=vanilla:integration:wordpress Live it up!
«1

Comments

  • Options
    *strokes mark for saving me the effort of typing 'not yet' every time someone asks about this.

    Wanna add it as an FAQ big man?
  • Options
    This is truly cool. I only wish I were a Wordpress user ;-). Now, if only a MODx person would do the same. I could (and may) attempt it but the ensuing destruction might bring the entire Internet to its knees. Or a TextPattern weenie. Those are my CMSes of choice. Then again, maybe I should take another look at Wordpress and stop the madness.
  • Options
    Agh.... it comes after I start using TextPattern :(
  • Options
    MarkMark Vanilla Staff
    I've never used drupal before, but if I write another one of these, that will probably be next.

    Seriously - it's not hard to do it with just about any system. It just takes patience in learning/understanding how the other app handles authentication.

    @mini - yes, good idea.
  • Options
    Ok, for the people who don't know any coding...is there an example of what you did? What is the extent of the integration?
  • Options
    Could this work with File Browser, integration I mean.
  • Options
    Naah. I need wordpress >> vanilla migrator.
  • Options
    Anyway, I like this sentence in this guide "... but don’t get scared. "
  • Options
    MarkMark Vanilla Staff
    @Evan: all of the examples are included in the guide: http://lussumo.com/docs/doku.php?id=vanilla:integration:wordpress Integrating with the Filebrowser is a different beast since the Filebrowser is built to NOT use a database at all. That would require a guide all it's own.
  • Options
    MarkMark Vanilla Staff
    lol @ toivo :)
  • Options
    edited August 2006
    Hey JEFFBAX... I just finished integrating Vanilla into TextPattern using only TextPattern plugins. (OK, so I also made a quick Theme change to add a 'back to textpattern' link on Vanilla.)

    I have working: single login to TP and Vanilla, single logout, change password, and I've just finished the self-registration bit.

    Unfortunately I'm going away for 3 weeks now so I won't get chance to write it up just yet.
  • Options
    doh!
  • Options
    edited August 2006
    In the last part of your tutorial, about the UserManager delegation, why do you need to clear the sql objet, That will might stop an extension that use the same delegation to work.
    Wouldn't that work the same:
    if ($Context->SelfUrl == 'people.php') { function UserManager_AddWordpressFieldsToCreateUser(&$UserManager) { $User = &$UserManager->DelegateParameters['User']; $SafeUser = clone ($User); $SafeUser->FormatPropertiesForDatabaseInput(); $s = &$UserManager->DelegateParameters['SqlBuilder']; $s->AddFieldNameValue('user_nicename', $SafeUser->Name); $s->AddFieldNameValue('user_url', 'http://'); $s->AddFieldNameValue('user_activation_key', ''); $s->AddFieldNameValue('user_status', '0'); $s->AddFieldNameValue('display_name', $SafeUser->Name); } $Context->AddToDelegate('UserManager', 'PreDataInsert', 'UserManager_AddWordpressFieldsToCreateUser');
  • Options
    Now we just need to see if this works with Wordpress SVN nightilies and Wordpress Mu SVN nightlies. I've got a Mu portal in developement and a common WP/Vanilla login would be amazing.
  • Options
    JEFFBAX... I've posted the Textpattern and Vanilla integration notes at http://www.hikerbox.net/harpanet/Textpattern_Vanilla_Integration.htm

    I'll also create another thread here with this link.
  • Options
    Mark or others -

    Will Wordpress upgrades affect the database munging so that re-integration installation will be required?
  • Options
    MarkMark Vanilla Staff
    @russ - I don't know. It all depends on what changes were made to the wordpress application. If they change the way sessions are handled, that would be a big problem. If they change the way the user table is structured, that would also be a big problem.

    I'd say it's pretty unlikely that those two things would happen - but you never know.
  • Options
    no offense but this one seams quite neat http://www.dmry.net/wordpress-smf-bridge-plugin-10-beta ps. the question remains why one would need WP, when one has Lussumo installed
  • Options
    edited November 2006
    //edit - uh... yah. Need to read more closely. I followed the directions, it worked fine. Now, I just need to fully intergrate it but going to the PROPER discussion.
  • Options
    Everything works just fine with Wordpress 2.0.5. I've set up a new website for testing purposes and integrated WP with Vanilla. Now, when everything works, I'd like to transfer all the data (users, discussions etc.) to this new site. Is it still possible after making all these changes to the mysql database?
This discussion has been closed.