Page 1 of 1

s2Member Pro - Member Import - API Notification issue

PostPosted: January 13th, 2012, 3:54 pm
by deonvdv
I am importing my users via S2Member Pro Import tool, but I notice that my API Notification URL is not triggered. Is there a way I can "activate" it?

I am registering my users in an external system too, so it would be useful for the API notification to do the work.

Thanks

Re: s2Member Pro - Member Import - API Notification issue

PostPosted: January 16th, 2012, 11:42 pm
by Raam Dev
Hello,

I'm checking on this with another support rep and will update when I have more information. Thank you for your patience! :)

Re: s2Member Pro - Member Import - API Notification issue

PostPosted: January 23rd, 2012, 11:44 am
by Raam Dev
Hello,

I received some information from the lead developer. Here's what he says:

No, API Notifications are not processed here. This import routine remains silent in every possible way on purpose, so as not to introduce any actions that might be tied to Hooks/Plugins for WordPress. API Notifications are tied to Hooks/Plugins, so they are not processed.

You could try removing some of these statements from the import routine.
/s2member-pro/includes/classes/imports-in.inc.php

Code: Select all
remove_all_actions("profile_update") . remove_all_actions ("user_register");
remove_all_actions("added_existing_user") . remove_all_actions ("add_user_to_blog");


However, I've never tested this. It's probably a dangerous thing to try.