PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

s2Member Pro - Member Import - API Notification issue

s2Member Plugin. A Membership plugin for WordPress®.

s2Member Pro - Member Import - API Notification issue

Postby deonvdv » January 13th, 2012, 3:54 pm

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
User avatar
deonvdv
Registered User
Registered User
 
Posts: 1
Joined: November 17, 2011

Re: s2Member Pro - Member Import - API Notification issue

Postby Raam Dev » January 16th, 2012, 11:42 pm

Hello,

I'm checking on this with another support rep and will update when I have more information. Thank you for your patience! :)
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: s2Member Pro - Member Import - API Notification issue

Postby Raam Dev » January 23rd, 2012, 11:44 am

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.
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron