hi @eppu
This is very good Idea.. I will update this into the plugin and let you know.
Please do not forget to rate this plugin if you like it. 🙂
Hello @eppu
I have updated this feature check in this new version.
Please do not forget to rate this plugin if you like it. 🙂
Plugin Contributor
eppu
(@eppu)
Hi,
User delete works wonderfully except if the user is newly created or auto synced.
I found out that the autosync and rusac_add_new_address do not add _rusac_synced_user_id to databace so the user cannot be deleted.
Thank you for your time
-Eppu
Plugin Contributor
eppu
(@eppu)
Hi,
Do you have any update on this?
Thank you for your time
Sincerely
Eppu
Plugin Contributor
eppu
(@eppu)
Hi,
If you could add couple of lines of code to your next update. So that the ID gets saved to the database.
First we could add to the ID when adding new users.
Inside file rus-activecampaign.php on line 206 inside function rusac_send_data_to_ac add:
update_user_meta( $user_id, '_rusac_synced_user_id', $result['subscriber_id']);
And second would be when auto syncing users in function sync_active_campaign_list insert line after line 396:
update_user_meta( $user->ID, '_rusac_synced_user_id', $result['subscriber_id']);
inside the if statement if (!empty($result['result_code']) && $result['result_code'] == 1) {
This would fix the problem and all the user would have the id that is required for removal of the user from AC.
Thank you for your time.
Sincerely
Eppu
Hello @eppu
I will add this lines and will test the plugin, Thanks for your support
Plugin Contributor
eppu
(@eppu)
Hi,
Thank you @pravind .
Glad to be of assistance.
Sincerely
-Eppu