Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Intro Black Friday Offer for a lifetime*

New users not assigned to k2 group

  • xa0tik
  • xa0tik
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
12 years 6 months ago #200500 by xa0tik
New users not assigned to k2 group was created by xa0tik
Ive installed community builder on my website, but i am having the following problem:

When a new user registers from the CB form, he is added in the k2 users but he is not assigned a group. I have the integration option in k2 enabled and an assigned group for newly registered users, but i cant find a solution to this. So if anyone had this problem before and knows how to fix it, it would be much appreciated if you could share:)


Cheers

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

12 years 6 months ago #200791 by FatalErrorNetwork
Replied by FatalErrorNetwork on topic Re: New users not assigned to k2 group
Identical problem here.
K2 - Community Builder integration is enabled.

If the K2 user module is used to log-in CB doesn't function correctly.
BUT
If the CB log-in is used the K2 user is not correctly assigned to the default registration group and the user isn't able to add new items until this is manually corrected.

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

  • tempora
  • tempora
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
12 years 6 months ago - 12 years 6 months ago #200994 by tempora
Last edit: 12 years 6 months ago by tempora.

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

12 years 5 months ago #201290 by FatalErrorNetwork
Replied by FatalErrorNetwork on topic Re: New users not assigned to k2 group

tempora wrote: same problem posted in k2 forums: getk2.org/community/New-to-K2-Ask-here-first!/10584-No-sync-between-Joomla-25-and-K2-user-groups#12221


The issue in the thread indicated appears to deal with K2 user synch in Joomla and is resolvable by setting the advanced parameter for K2 to Enable K2 User Profile.

That issue does not appear to be the same issue and after testing, only causes additional problems for use of the CB registration, email validation, and user login, as the user will find his account totally blocked by K2 not enabling the account with this setting enabled.

The issue appears to be that the K2 User Table user group field is not being updated at the time the validation email is caught.

The issue could be resolved by using the Post for the registration form to set the user group prior to email validation with the possible potential for a post form vulnerability.

Otherwise a better solution would be for a query to be made internally at the time the validation email URL is clicked, for the default user group, and then to assign that default group to the validated user.

Since the CB registration form/validation is required to properly register CB users for CB features, and CB login is required to authenticate access to those features, it seems reasonable that this process should include the additional SQL queries on catching the email validation.

Since it is the CB process which is active, the only way that K2 could be expected to perform this task would be a daemon running on the server to auto-synch the K2 usergroup to the default usergroup if the usergroup field were NULL, and that seems pointlessly involved for something that should be also tasked to a process that is already active and task specific for account validation for that specific user.

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

  • tempora
  • tempora
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
12 years 5 months ago #202327 by tempora
Replied by tempora on topic Re: New users not assigned to k2 group
up
any fix?

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

  • activha
  • activha
  • OFFLINE
  • Posts: 2334
  • Thanks: 117
  • Karma: 13
12 years 3 months ago #206528 by activha
Replied by activha on topic Re: New users not assigned to k2 group
Well I need also an answer for this problem, have also posted on the professional forum

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

Moderators: beatnantkrileon
Powered by Kunena Forum