Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 31)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

users are sent "awaiting approval" and "confirmed" emails simultaneously

4 years 8 months ago #318113 by anchoredweb
Hello! Hope you can help me here.

I've got CB, CB Paid Subscriptions, and CB Conditional installed. CB Paid has 4 plans, and only one plan do I want to require approval, overriding CB which is set to allow users to register and sign in.

So this plan is free/lifetime and I set "User Approval by Moderator" to "Yes, after payment."

When I test this plan as a new registrant, The user is added as "Enabled" and two emails are sent from CB plans, one for the awaiting approval and a second for "you have been approved."

Not sure what I am doing wrong here! Let me know. Thanks.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48630
  • Thanks: 8307
  • Karma: 1446
4 years 8 months ago #318126 by krileon
Try setting it to before payment. Next ensure free lifetime plans are configured to create subscriptions within CBSubs > Settings > Global. Now see if this is working as expected.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

4 years 8 months ago #318141 by anchoredweb
Thank you for the suggestion! I tried it, but it didn't seem to change anything. I do see the user is listed as not enabled, but, in my email for the new test user, I get both emails (both "pending" and "approved") from CB Subs. This was working before, but seems to have changed in the last month. Any other ideas? Thank you again!

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48630
  • Thanks: 8307
  • Karma: 1446
4 years 7 months ago #318162 by krileon
Do you have anything else configured to act on registration behavior? For example CB Auto Actions altering user fields or something of the sort when a user registers or plan becomes active? It's possible something else is modifying the user during the registration process causing a conflict. Try disabling all non-core CB plugins expect CB Paid Subscriptions in CB > Plugin Management then see if your issue persists. If it does then it for sure sounds like a bug in CBSubs.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

4 years 7 months ago #318176 by anchoredweb
Thanks again. I have CB Antispam on the register page, and I'm also using an SQL action for the plan to add a K2 user row (activation/enabled status is not managed or included in this table), and I have the joomla user management set to "No" for allowing registration. With CB overriding, of course. I've tested with CB conditional off, with antispam off, and with the sql removed -- same behavior.

It seems to activate the user's subscription immediately, when I want it to wait for approval from admin. The plan is set to free/lifetime, and the approval override is set to "before payment."

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48630
  • Thanks: 8307
  • Karma: 1446
4 years 7 months ago #318187 by krileon

It seems to activate the user's subscription immediately, when I want it to wait for approval from admin. The plan is set to free/lifetime, and the approval override is set to "before payment."

Ah, I understand your situation now. You won't be able to do that the current way you're doing it. Free plans don't have a payment. They're immediately activated. If I understand correctly you want the free plans to require approval and confirmation, but you don't want the paid plans to have either. To do this configure your install as follows.

CB > Configuration > Registration
Admin Approval: Yes
Email Confirmation: Yes

Now edit your free plan and under Workflows tab set the following.

User Email Confirmation: Default (CB setting)
User Approval by Moderator: Default (CB setting)

Next edit your paid plans and set the following under their Workflows tab.

User Email Confirmation: No (override CB)
User Approval by Moderator: No (override CB)

Basically make the default behavior require approval and confirmation then let your paid plans override that default behavior. This should give you a more reliable usage. Things get a little wonky with free plans with this since they are immediately activated.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

Moderators: beatnantkrileon
Powered by Kunena Forum