Changing status from pending to active

  • Jeff
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 9 months ago #84367 by Jeff
Hi,

I'm trying to change the status of subscribers from pending to active without triggering the "Your subscription has been Approved" email being sent.

I have tried importing a new record set as active but always imports as as "Pending"

I'm using the field "status" and tried "published" but neither appear to work. What fields and what data should I use to update the field to "Active"

Thanks

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #84405 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Changing status from pending to active
Hi

1. Sorry but the system will always send subscription approved email when you change the status (unless you customize the code to change it's behavior)

2. Please use published field. In the value, please enter 1 instead of active. Also, please make sure the field from_date must be smaller than current date and the field to_date must be greater than the current date

Regards,

Tuan

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago - 8 years 5 months ago #90240 by wisenberger
Replied by wisenberger on topic Changing status from pending to active
Hi Tuan,

We need to import 150 subscriptions. These are currently active memberships of the organization which were established in the past - outside of the organization's website, and before the Membership Pro application was installed for managing memberships. We do not want a "Subscription Approved" email to be sent when these subscriptions' status is changed from pending to active (published).

Is there any way to temporarily disable the notifications - so that the members will not receive a "Subscription approved" email when there subscription status is changed from pending to active/published?

1. Can a modification can be made to the code to change the "default notification sending behavior" to "not send the notification" - if so, please instruct on how to implement the modification? (and then the modification would be removed after the status has been changed) .

2. Would a notification be sent if the published field value is changed directly in the database though phpMyAdmin?

Thanks!
Diane
Last edit: 8 years 5 months ago by wisenberger.

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago #90259 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Changing status from pending to active
Hi Diane

The easiest way would be disable Joomla Email during the import. Go to System -> Global Configuration, look at Server tab, Mails Settings section, set Send Mail parameter to No

After that, no emails will be sent during the import. Once import completed, you can set the parameter back to Yes

Regards,

Tuan

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago #90296 by wisenberger
Replied by wisenberger on topic Changing status from pending to active
That sounds like the way to go. Thanks!

Please Log in or Create an account to join the conversation.