[SOLVED] separate registration procedure

10 years 6 months ago #235871 by krileon
Replied by krileon on topic separate registration procedure
Set $confirmation to 1 for it to force confirmation. You can also set it to $ueConfig to use whatever value your CB configuration has confirmation set to. Can also remove the IF statement and set $user->confirmed to 0. Either way will work so is up to your usage needs as to which approach to take.


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

Please Log in to join the conversation.

10 years 6 months ago #235903 by Ntelos
Replied by Ntelos on topic separate registration procedure
Ok! That worked just fine. I removed the if, and set $user->confirmed to 0.

I have one last problem for this:

When i click on confirmation link from e-mail, to confirm the new user the i am redirected to my website with a message that the confirmation code is incorrect and that i should check my e-mail account and spambox.

Why am i seeing this message?

Please Log in to join the conversation.

10 years 6 months ago - 10 years 6 months ago #235917 by krileon
Replied by krileon on topic separate registration procedure
Do you have confirmation enabled for CB within CB > Configuration > Registration? CB will not generate or append the confirmation code unless confirmation is enabled globally.


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 to join the conversation.

10 years 6 months ago #235926 by Ntelos
Replied by Ntelos on topic separate registration procedure
Yes, i have set the Require Email Confirmation to Yes. I receive the confirmation e-mail, but when i click on the hyperlink i get this message (wrong verification code. Check e-mail/spambox)

Please Log in to join the conversation.

10 years 6 months ago #235956 by krileon
Replied by krileon on topic separate registration procedure
Does the URL have a confirmation code in it? You should see it appended to the URL. If there is no confirmation code in the URL your registration code may not be generating it. To generate a confirmation code you need to call the below before storing the user.

$user->_setActivationCode();


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 to join the conversation.

10 years 6 months ago #235967 by Ntelos
Replied by Ntelos on topic separate registration procedure
Inside the confirmation e-mail i get a confirmation link like this:

www.website.com/index.php?option=com_comprofiler&task=confirm&confirmcode=reg8acb2011fe8a11b0997e9f08bfd17f3a028fdc17&Itemid=111

When i click on it, i am redirected to my webpage with a message:
Wrong confirmation code. Check your e-mail and spambox. Its like the link is broken for a reason somehow

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.184 seconds

Facebook Twitter LinkedIn