Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Auto approve and auto confirm

  • Ntelos
  • Ntelos
  • OFFLINE
  • Posts: 95
  • Thanks: 4
  • Karma: 0
8 years 10 months ago #275018 by Ntelos
Auto approve and auto confirm was created by Ntelos
Hello there,

I use joomla 3.x.x (latest version) and cb 1.9.1.

Inside configuration i have Registration tab 'Require Admin Approval' and 'Require Email Confirmation' set to No and No.

I use virtuemart for the user registration, so user is automatically registered. But after he places his order if he goes to see his profile, he sees permissions message. Then i saw that when someone registers through virtuemart, then i can see him inside community builder but he is not confirmed or approved.

How i can automatically approve and confirm user after this?

I tried to create action through cb actions like this:

onAfterUserRegistration

UPDATE `#__comprofiler` SET `approved`= '1' WHERE `user_id` = '[user_id]'

I tried also with zero value at approved and no chance at all! Any help here?

THank you in advance

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
8 years 10 months ago #275037 by nant
Replied by nant on topic Auto approve and auto confirm

Ntelos wrote: Hello there,

I use joomla 3.x.x (latest version) and cb 1.9.1.

Inside configuration i have Registration tab 'Require Admin Approval' and 'Require Email Confirmation' set to No and No.

I use virtuemart for the user registration, so user is automatically registered. But after he places his order if he goes to see his profile, he sees permissions message. Then i saw that when someone registers through virtuemart, then i can see him inside community builder but he is not confirmed or approved.

How i can automatically approve and confirm user after this?

I tried to create action through cb actions like this:

onAfterUserRegistration

UPDATE `#__comprofiler` SET `approved`= '1' WHERE `user_id` = '[user_id]'

I tried also with zero value at approved and no chance at all! Any help here?

THank you in advance


If you are creating users using the VM registration process you are bypassing CB - so you cannot use any auto action cb registration triggers.

Is there any reason you cannot switch to CB registration process?

If you bypass you are basically breaking sync of users in joomla and cb.

Such a process is not recommended and not supported.

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

  • Ntelos
  • Ntelos
  • OFFLINE
  • Posts: 95
  • Thanks: 4
  • Karma: 0
8 years 10 months ago #275038 by Ntelos
Replied by Ntelos on topic Auto approve and auto confirm
Generally when someone adds product to cart, he goes to the checkout page where he/she has to register and due registration he has to put some fields that automatically are transferred to the final checkout page.

This is the default virtuemart procedure.

But, ok. I thought that company has to confirm order in order to be valid, so the handler of joomla, when he confirms the order he can manually activate the user inside community builder.

But, now i saw that when i made a test i see inside cb users that new user is not Confirmed or approved. I as administrator, cannot click the confirmed button and when i try to click on approved nothing happens.

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
8 years 10 months ago #275053 by nant
Replied by nant on topic Auto approve and auto confirm

Ntelos wrote: Generally when someone adds product to cart, he goes to the checkout page where he/she has to register and due registration he has to put some fields that automatically are transferred to the final checkout page.

This is the default virtuemart procedure.

But, ok. I thought that company has to confirm order in order to be valid, so the handler of joomla, when he confirms the order he can manually activate the user inside community builder.

But, now i saw that when i made a test i see inside cb users that new user is not Confirmed or approved. I as administrator, cannot click the confirmed button and when i try to click on approved nothing happens.


Does VM have its own registration process or is it using Joomla's?

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

  • Ntelos
  • Ntelos
  • OFFLINE
  • Posts: 95
  • Thanks: 4
  • Karma: 0
8 years 10 months ago #275078 by Ntelos
Replied by Ntelos on topic Auto approve and auto confirm
I think it uses Joomla's registration but in combination with fields from shopper groups of virtuemart.

What about the issue that i cannot manually approve or confirm a registered user?

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
8 years 10 months ago #275082 by nant
Replied by nant on topic Auto approve and auto confirm

Ntelos wrote: I think it uses Joomla's registration but in combination with fields from shopper groups of virtuemart.

What about the issue that i cannot manually approve or confirm a registered user?


Well when you add people using other registration processes you are basically breaking things.

Try using the CB Tools user sync tool

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

Moderators: beatnantkrileon
Powered by Kunena Forum