Skip to Content Skip to Menu

Automatic approval for specific domains?

  • suefab
  • suefab
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
14 years 3 days ago #150323 by suefab
My organisation uses a Joomla website to host elearning, which customers subscribe to on an annual basis. Users log onto the site using their email address and a password, which we currently enter manually when a customer signs up.

We would like to use Community Builder to allow users to self-register, but would like users with specific email domains to be approved automatically.

Ideally, we would like to be have a list of "approved" domains which we can maintain, and users that register from any of these domains get automatic approval to the website, with an email sent to confirm their login details. Anyone from any other domain may still register for the site, but will have to await approval in the standard Community Builder way.

Does anyone know a way in which this can be achieved?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48674
  • Thanks: 8313
  • Karma: 1446
14 years 3 days ago #150347 by krileon
Replied by krileon on topic Re:Automatic approval for specific domains?
This can be done using documentation subscriber incubator project CB Queries, which allows execution of database queries at specified Triggers such as after registration. You could write a query to set the approval column in _comprofiler and the block column in _users as accordingly based off the value of the email column in _users.

You could also use CB Code incubator project to execute a PHP file at specific Triggers to include CB API (see tutorials within my signature) and execute the Approval function to approve the user based off their email.

Aside from there can't think of a way to auto-approve users with specific emails aside from making a new plugin or using 1 of the above solutions.


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.

  • suefab
  • suefab
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
14 years 3 hours ago #150611 by suefab
Replied by suefab on topic Re:Automatic approval for specific domains?
Thanks for the reply. This is out of my skill set - do you know of any websites where I can find developers that I can contract to do the work for me?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48674
  • Thanks: 8313
  • Karma: 1446
13 years 11 months ago #150634 by krileon
Replied by krileon on topic Re:Automatic approval for specific domains?
Suppose you could check sites such as joomlancers. You'd still need CB Queries or have the developer write a new integration to do the same thing for you.


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.
The following user(s) said Thank You: suefab

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

  • rapereira
  • rapereira
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: 0
13 years 7 months ago #163654 by rapereira
Replied by rapereira on topic Re:Automatic approval for specific domains?
suefab,

Did you ever find a solution for this? I need to accomplish the same thing. If I know that CB Queries is the answer I will not hesitate to purchase the membership needed, however my client is small and avoids spending whenever possible :dry:

rapereira

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

Moderators: beatnantkrileon
Powered by Kunena Forum