Conditional user activation after member approval

  • William Kudrle
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 10 months ago - 10 years 10 months ago #46140 by William Kudrle
This somewhat relates to this previous forum post:

joomdonation.com/forum/membership-pro/42...ing-with-paypal.html

My scenario is that I have several membership options - some are paid and some are free. For the free memberships, I want to be able to activate the Joomla user manually (or through clicking the activation link in the admin email). That is fine, as currently the setup I have works that way. However, for the paid memberships, I would like to have the Joomla user automatically be activated as soon as the membership fee is paid. In other words, as soon as the Membership Pro subscriber status is "active", then I would also like the Joomla user to be automatically set to Enabled and Activated. In my case, I am also using JomSocial, so I want that to be activated as well, but that status seems to follow the status of the Joomla user, so setting the Joomla user correctly should be sufficient.

So I am wondering if this doable - (1) to have the Joomla user automatically activated after the Membership Pro subscriber status is active and, if so, (2) can I have the Joomla user conditionally automatically activated according to the membership type? If so, how would I do it?

I have been unable to get any automated activation of the Joomla user after the Membership Pro subscriber status is set to active. I have enabled the following plugins, among others:
  • OS membership user
  • OS membership - Joomsocial plugin
  • OS membership - Userprofile plugin
I can't see any other plugins that would conflict with this automated activation.

Any feedback is appreciated - thank you!
Last edit: 10 years 10 months ago by William Kudrle.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
10 years 10 months ago #46165 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Conditional user activation after member approval
Hi William

If you want the system to activate the users automatically after their membership is active, please follow the instruction below :

1. Make sure the plugin "OS membership user" is published.

2. Go to Membership pro -> Configuration, set "Send Activation Email" config option to No

By doing that, the system won't send activation email to users. And it will activate the user account automatically after he completed payment

Tuan

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

  • William Kudrle
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 10 months ago #46476 by William Kudrle
Replied by William Kudrle on topic Conditional user activation after member approval
Hi Tuan -

Thanks for your prompt and informative reply. When I followed these directions, the site now activates the member after they pay the membership fee. This works great for the paid membership.

Is there any way that you know of, though, to make behavior different according to whether the user is paying or not paying. If they are not paying, then I want to have an approval process. I thought that I could perhaps just bypass Membership Pro and use the regular Joomla registration process with admin approval for the non-paying members, but I can't seem to figure out how to do this. Do you think this would work? If so, do you have any pointers?

Thanks for giving such great support. I plan to provide feedback on the Joomla extensions site saying what good support that you have.

Kind Regards,
Bill

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
10 years 10 months ago #46490 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Conditional user activation after member approval
Hi Bill

I believe if you follow my instructions above, users will only be activated if they make payment ? If they don't make payment, I think their account will be marked as Pending and you will have to approve them manually ?

It doesn't work like that on your site ? or I mis-understood your requirement ? Please let me know.

Tuan

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

More
6 years 6 months ago #119116 by Bloc10

1. Make sure the plugin "OS membership user" is published.
2. Go to Membership pro -> Configuration, set "Send Activation Email" config option to No

I tried to use your instruction but it does not work. I published User - Membership Pro plugin and turned off Send Activation Email .
Joomla 3.8.13
Membership Pro version 2.16.0
Any ideas?
Attachments:

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
6 years 6 months ago #119117 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Conditional user activation after member approval
Hi

The main question here is did you make payment for the subscription? If Yes, what's the status of the the subscription, Pending or Active?

If it's active, the user account should be created and enabled

Also, to be sure, you should go to Users -> Manage, click on Options button in the toolbar, set New User Account Activation config option to Self (avoid setting it to Administrator)

Tuan

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

More
6 years 6 months ago #119127 by Bloc10

Tuan Pham Ngoc wrote: Hi

The main question here is did you make payment for the subscription? If Yes, what's the status of the the subscription, Pending or Active?

If it's active, the user account should be created and enabled

Also, to be sure, you should go to Users -> Manage, click on Options button in the toolbar, set New User Account Activation config option to Self (avoid setting it to Administrator)

Tuan

thank this helps

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
6 years 6 months ago #119150 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Conditional user activation after member approval
Great. Please continue using the extension. If you other questions or need help, please don't hesitate to ask

Tuan

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