Not signed in (Sign In)

Categories

Vanilla 1.1.4 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.
    •  
      CommentAuthorDaniel
    • CommentTimeJan 16th 2006
     # 1
    I have a website with wordpress and like to "integrate" vanilla as a forum.
    The only thing I want is to use wp_users ' display_name' as the Nick in vanilla, wp_users ' user_pass' as the password and wp_user 'email' as the...yes ;-) as the email in vanilla.
    Nothing more (yet).

    The admin (me) creates the users via wordpress, they should be able to change their pass in wordpress or vanilla - that doesn't matter.

    Now I can't figure out where to change the specific tables - and would love to get some advices!

    Thanks!
  1.  # 2
    This is very tricky in 0.9.2. In 0.9.3 (v1) it'l become a lot easier due to the integration of People. Grab yourself a copy off the svn and you'll notice that everything to do with user management is no longer part of the vanilla core which makes stuff like what you want to do easier.
    I stil dont think it'l be a walk in the park but i guess it depends how good your php knowledge is.
    There might be a different way to do what youre asking since it's relatively simple but i'd guess playing with People would be a good first step.
    • CommentAuthorMark
    • CommentTimeJan 16th 2006
     # 3
    I've been thinking about writing an extension for this. Basically, the extension would serve 2 purposes:

    1. When a user updates their account info in vanilla, it would copy that info over ontop of any wordpress' (or some other application's) user table.

    2. When the other application is used to update account information, it could also call the extension, which would copy *that* info overtop of the vanilla information.
    •  
      CommentAuthorDaniel
    • CommentTimeJan 17th 2006
     # 4
    That would be awsome!

    I think I'm going to wait for your extension, because if I'm doing it on my own, I'll have to do it with every new update I suppose...

    Do you have any timeframe for this?
    • CommentAuthorSirNot
    • CommentTimeJan 17th 2006
     # 5
    It would be a lot more efficient to mod one software or the other to use the same db format for anything shared.
    •  
      CommentAuthor3stripe
    • CommentTimeJan 17th 2006
     # 6
    A Wordpress plugin that tweaked user mangement to suit Vanilla you mean?
    • CommentAuthorSirNot
    • CommentTimeJan 17th 2006
     # 7
    In a sense. I was just pointing out that instead of using two seperate tables (in any integration situation) for things like users and other shared info, it'd be more resource-savvy to share a single one.
    • CommentAuthorMark
    • CommentTimeJan 17th 2006
     # 8
    Yes it would, but you can never count on another application to integrate well that way.
    • CommentAuthorSirNot
    • CommentTimeJan 17th 2006
     # 9
    With a lot of modding you could.
    • CommentAuthorhellfish
    • CommentTimeJan 17th 2006
     # 10
    how about a webservice to create/edit users in vanilla?

    Then all we would need is a plugin for wordpress or whatever system that you would want to integrate to call the webservice functions when a user is created or edited in that system.

    This way no tweaking would be necessary on either part.

    It's just a sugestion and I hope I made some sense, I'm very sick and my brain feels like jello :/
    • CommentAuthorMark
    • CommentTimeJan 17th 2006 edited
     # 11
    Yep - a web service would be a great extension.
    • CommentAuthorMark
    • CommentTimeJan 17th 2006
     # 12
    With a lot of modding you could.

    That's exactly what I don't want. I want everything with vanilla to be quick and easy - even if it's not the most "efficient" solution.
    • CommentAuthorhellfish
    • CommentTimeJan 17th 2006 edited
     # 13
    Unfortunatly I just know the concepts of webservices, I've never worked with one although I will have to start working with it soon.

    This meaning that I wouldn't be much help in that area.
    I'm still strugglin with myself to turn from the dark side and start codding using strictly OOP (or at least as much as possible).

    Also webservices would enable more plugins to be built for vanilla.

    ex: a plugin for firefox to add comments to a selected topic.
    •  
      CommentAuthorPhunky
    • CommentTimeJan 26th 2006
     # 14
    in WP2 there has been a huge advance in how the wp_user table is used.

    in previous version of WP the function wp_getuserinfo() would only return certain feilds from within the wp_users table.

    But now in WP2 it returns all values withing the table allowing for much simpler additonal user data to be added.

    It "Should" be quite simple to merge wp_users and lum_user tables and with a little extension for Vanila make it use the wp_users feilds for username and password instead of the lum_user feilds.

    Im having a quick look at how simple it maybe to cross them both over at the moment :S
    •  
      CommentAuthorPhunky
    • CommentTimeJan 26th 2006
     # 15
    On another note also, WP2 also use "Roles" now if we could merge or match Vanilla Roles with WP2 roles then....mmmmmm :D
    •  
      CommentAuthoraanand
    • CommentTimeJan 26th 2006
     # 16
    Not exactly what you were looking for, but while we're on the topic I've currently got Wordpress running off People, using this custom WP extension I wrote.
    •  
      CommentAuthorlech
    • CommentTimeJan 27th 2006
     # 17
    Then what will happen to Swell™ ? :D
Add your comments
    Username Password
  • Format comments as