WordPress.org

Ready to get started?Download WordPress

Forums

Vanilla forum integration (14 posts)

  1. kartlink
    Member
    Posted 8 years ago #

    I just downloaded this new forum (getvanilla.com) and I'd like to try and integrate my WP users with it so they don't have to log in twice - is there a relatively simple way of doing stuff like that?

  2. justinshattuck
    Member
    Posted 8 years ago #

    I am interested as well...

  3. letimati
    Member
    Posted 8 years ago #

    I am interested in this as well and I have just been having a wee look about and trying to work out how i could do this.

    First off I am not the best php programmer but i get by and I am new to wordpress and just finding out how it all works.

    So here are my thoughts on what i could do.

    1.integrate the two user tables in the DB to one. The vanilla one has more fields so use that. Now to do this i would change the name of the table in wp-settings.php (easy) then go though the files that insert into the table and change SQL query's or the forms.

    Problems - I dont know if its a good idea going in changing stuff in wordpress in case i cant get new plugins working in the future.

    2.Keep two tables for different users and run some sort of script after each person registers that inserts the user into the other DB. Also when someone logs in run some script that logs them into the other.

    I dont like the thought of two tables for users seems just bad.

    I dont have the first clue how to do this in a plug in so any advice or plugins already built that do something similar would be very helpfully.

    any thoughts, even if its pointing out how my ideas would never work would be gratefully.

  4. Phunky
    Member
    Posted 8 years ago #

    With WP2 you could quite easily add the extra info need for vanilla into the wp_users table and access all the data thru wp_getusermeta()

    I may have a look into this again, as i sadly lost most my wp_forum() that i was writing.

  5. letimati
    Member
    Posted 8 years ago #

    But then would you have to change the vanilla code to let the forum know the user had logged in though the wp.

    It would be so easy if the field names were the same expecialy the key (id).

    at the moment its something like this

    wp
    ID
    user_login
    user_pass

    vanilla
    userID
    Name
    Password

    I am going to ask on the vanilla forum how easy it would be to change the user tables fields.

  6. Phunky
    Member
    Posted 8 years ago #

    my idea was to write a extension for Vanilla to make it use the user_login and user_pass instead of Vanilla's

    You would still need to set the cookie/session vars needed for both to know your logged in, but thats simple

  7. 3stripe
    Member
    Posted 7 years ago #

    Has anyone made any progress with this yet? If so please post a message on the Vanilla forums and watch out for me there!

    :)

  8. Phunky
    Member
    Posted 7 years ago #

    Nope not had any chance to even look :( but i have caught you on there forums :D

  9. leMaxim
    Member
    Posted 7 years ago #

    Does anybody know where the F I can grab the feed for the Vanilla blog? For the life of me I can't find it.

  10. kalico
    Member
    Posted 7 years ago #

    You've probably seen this, but just in case....it might give you some clues how to integrate the logins. Someone has done this for phpbb:

    http://www.happypoet.com/hackery/

  11. 3stripe
    Member
    Posted 7 years ago #

    Thanks!

  12. mpgeorge
    Member
    Posted 7 years ago #

    Is this a Vanilla integration? http://www.devlounge.net/forum/

  13. geoffe
    Member
    Posted 7 years ago #

  14. snowcrash
    Member
    Posted 7 years ago #

    There's now also very good instructions on how to integrate WP with Vanilla in terms of users only needing to log in once.

    http://lussumo.com/docs/doku.php?id=vanilla:integration:wordpress

    If you haven't checked out Vanilla it's seriously worth taking a look. Rather different from most other forums, and in many respects it's a bit like a blog ;)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags