Skip to Content Skip to Menu

Registration form validation and CB Subs question

  • llau
  • llau
  • OFFLINE
  • Posts: 38
  • Thanks: 1
  • Karma: 0
3 years 10 months ago - 3 years 10 months ago #322280 by llau
Hi there,

We have a CB registration form that contains 2 email fields and want to prevent users from registering using 2 identical email addresses.

Is it possible to do this without using the CB Code Field plugin, and instead using the CB Query field using the query:
Code:
SELECT `email` from `j25_users` WHERE '[email]' = '[value]'



or do we need to do it another way?

Also, currently we have some Joomla articles and menu items which are dynamically created, but it seems we need to manually add these to the content access in the CB Subscriptions plan. Is there an easier way to do this?

Thanks in advance!
V
Last edit: 3 years 10 months ago by llau.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
3 years 10 months ago #322284 by krileon
Only way would be with CB Code Field and its Code Validation. The Query Validation won't be able to help here since nothing has been stored in the database yet to query against.

but it seems we need to manually add these to the content access in the CB Subscriptions plan. Is there an easier way to do this?

Put them in a category and protect access to the entire category.


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.

  • llau
  • llau
  • OFFLINE
  • Posts: 38
  • Thanks: 1
  • Karma: 0
3 years 10 months ago - 3 years 10 months ago #322392 by llau
Thanks Krileon.

Actually I did create a "members only" content category and protected it, but it seems that I have to add the content pages to the "read by content" section as well as the "By menu" section the menu items associated to the content to the plan?



If I just use the "read by content category" by itself and leave the read by content and by menu blank, it doesn't allow access for some reason.
I'm not sure I understand the logic here.

Thanks,
V
Last edit: 3 years 10 months ago by llau.

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
3 years 10 months ago #322393 by nant
[Mod note: This is not a presales question. It's a support request.]

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
3 years 10 months ago #322416 by krileon
I cannot help you with CB Paid Subscriptions without an active subscription for CB Paid Subscriptions, sorry. Topic moved out of pre-sales.


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