Skip to Content Skip to Menu

🕒 Save Time and Effort with CB Editor Assistant: Effortlessly create and refine content in Joomla 3, 4, & 5.
🎁 Limited Offer: Enjoy a 5-day FREE trial and save up to 30% afterward!

Password protect registration form

  • kommid
  • kommid
  • OFFLINE
  • Posts: 67
  • Thanks: 12
  • Karma: 0
7 years 10 months ago - 7 years 10 months ago #292279 by kommid
Password protect registration form was created by kommid
Hi everybody,
for a customer I need to build a CB-based site, where registration must only be possible for certain users. My customers wants the folloing procedure:
Users, who want access to the site, must contact my customer in order to be confirmed. When the user is confirmed he gets a password to unlock the websites' registration form, so he can register with the site. How can this be done?
I have tried this by creating a specific user and redirecting him to the registration form using cb_autoactions but I couldn't figure out the right trigger. Also: is there a more elegant way to do this?
Last edit: 7 years 10 months ago by kommid.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48709
  • Thanks: 8319
  • Karma: 1447
7 years 10 months ago #292286 by krileon
Replied by krileon on topic Password protect registration form
Easiest approach is to install CB Invites and set its invite code field to display on registration and be required. You'd then just need to send an invite (will send via email) to the user where they can supply the invite code during registration to allow them to registered (it'll pre-fill the invite code field if they click the invite URL).

Alternative is you could create a database table to store the access codes you're generating for customers. Next add a text field to the registration field where they'll supply that access code. Now you'll need to install CB Query Field and setup Query Validation for that text field to validate against your access code database table.


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: kommid

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

  • kommid
  • kommid
  • OFFLINE
  • Posts: 67
  • Thanks: 12
  • Karma: 0
7 years 10 months ago #292311 by kommid
Replied by kommid on topic Password protect registration form
Hello Krileon,
thank you for these tips. I'll try them and get back if I have problems.
Best Regards
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum