Keyword

Default K2 User Group for new registrations

  • Jacqueline
  • Jacqueline's Avatar Topic Author
  • Offline
  • New Member
More
10 years 4 months ago #129036 by Jacqueline
How do I disable the default user group for new registration?

In my website, I customized a bit of the k2 registration based on the page title.. Titles are.. Free, Standard, and Premium. and created Menu for it and link to registration form.. And also created K2 User group for this. I inserted a screenshot on my k2 user group.

Now, I modified the k2 registration file which can be found in com_k2/templates/register.php
and added this part..
		
Attachments:

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

  • Jacqueline
  • Jacqueline's Avatar Topic Author
  • Offline
  • New Member
More
10 years 4 months ago #129037 by Jacqueline
Replied by Jacqueline on topic Re: Default K2 User Group for new registrations
To K2 Administrators: Any Help will be greatly appreciated.

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

More
10 years 4 months ago #129038 by Lefteris
Hi. You cannot disable the default K2 user group. Since you habe K2 profiles enabled then you need to have a default K2 user groups that users should be assigned. The code that assigns a user to a K2 group is located in plugins/user/k2.php around line 65.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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