ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Remote member insertion and SugarCRM integration (EE 1.6.9)

July 12, 2010 9:25pm

Subscribe [3]
  • #1 / Jul 12, 2010 9:25pm

    RipeMedia

    62 posts

    I am working on a site that needs to integrate with SugarCRM running on a separate server. Our plan is to have Sugar handle all user registration and then insert members into EE’s database so that users can log in to comment on blog posts and participate in the forum.

    Does anyone have any code for properly inserting a member record via PHP? Specifically we need code for SHA1 encryption, creating the unique ID, and any other tables that need records in addition to exp_members.

    Also, do you have recommendations for single sign on functionality between SugarCRM and EE?

    Your help is greatly appreciated,
    Chris

  • #2 / Jul 13, 2010 2:15am

    Derek Jones

    7561 posts

    Hey Chris, a good starting point would be to check out /system/modules/member/mod.member_register.php, the register_member() method.  It’s expecting POST data, so you would modify it to accept info from Sugar in place of user input.  You’d still want to validate and sanitize, of course.  Some have had success with aMember Pro, but if it were me, I’d write and keep the code in-house.

  • #3 / Jul 13, 2010 2:21am

    John Henry Donovan

    12339 posts

    Chris,

    I don’t know if this module addresses your requests individually but I thought I would share SugerEE it anyway

  • #4 / Jul 13, 2010 2:33am

    Derek Jones

    7561 posts

    John Henry to the rescue!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases