- Posts: 3
COMMUNITY FORUM
User choose K2 User Group during registration
- Rambo
-
Topic Author
- Offline
- New Member
I want, new users to choose a K2 User Group when they make registration (from frontend).
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
- Posts: 8743
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Rambo
-
Topic Author
- Offline
- New Member
- Posts: 3
Please Log in or Create an account to join the conversation.
- Peter Grube
-
- Offline
- Elite Member
- Posts: 241
I think this is a very needed feature for K2 and I for one would purchase such a plugin, any chance that you could develop one for us.
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
- Posts: 8743
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Rambo
-
Topic Author
- Offline
- New Member
- Posts: 3
The site will be big and there is no option to do this manual.
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
- Posts: 8743
1. The register.php layout where you need to place the groups the user needs to select
2. The K2 user plugin which is the one that saves the user to the predefined user group.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Peter Grube
-
- Offline
- Elite Member
- Posts: 241
I think mine is a similar scenario to Rambo, I was thinking of trying to use K2 as a Directory using different categories for different Directory types but maybe JReviews or Mossets tree is a easier option. But it's a shame K2 can't be used for this. Would really like to see a Tutorial showing the code needed to add to register.php layout & in the user plugin.
thx in advance Pete
Please Log in or Create an account to join the conversation.
- Haider Tareen
-
- Offline
- New Member
- Posts: 3
this plugin is very important in k2
i need it because im creating a community site for education
When a user is going to register he will choose is category such as, student, teacher, Marketing, Hostel Posting, or general user
it will help user to have select there category and submit posting to only there relevant category
if admin do this in the absence of plugin. then admin has to ask every user, for there category which is difficult for large site
Thanks
Same concepts can be apply on different scenario
such as car market, Blogging,
Please Log in or Create an account to join the conversation.
- larry
-
- Offline
- New Member
- Posts: 4
This is a key feature that a lot of people would utilize.
Please Log in or Create an account to join the conversation.
- Antonios Pazarlis
-
- Offline
- New Member
- Posts: 6
I am trying to build a social site about giving space to various type of artist, in order to have their space and i'd like to have them divided in categories (singer, pianist, dancer, etc.). Furthermore, i'd like them to be searchable/filtered through these categories, as for example the K2 tool module where you can have a category select box in order to filter the articles through the categories.
Now in order to achieve that, i was wondering if it's possible to give the possibility to the users, during registration to be able to select their category in order not to have to do it manually. At least, i'd like to know if there is a way to do this with K2.
Thank you very much in advance, even because i'm using K2 with allvideos and image gallery pro, it works fine and it is intuitive for new users too.
Please Log in or Create an account to join the conversation.
- Peter Grube
-
- Offline
- Elite Member
- Posts: 241
The only way I could achieve this functionality was by using Community Builder to handle both the Registration & Profile but although the CB is free you need to purchase either their Conditionals plugin or alternately get the third party Community Builder Profile Pro which is able to create different profile types & Registration forms.
The only drawback is that although you can select different user types during registration, & K2 adds them to your list of users, it doesn't automatically add them to your K2 User Groups. So they cannot add items until you add them manually. Which in my case is ok, because I need to approve the users anyway.
While I am at it I thought I would ask for some feedback from the Admins here, this link mentions the same problem about syncing CB & K2 but it's over 2 yrs old, I am hoping I am missing something.
One last thing in the CB Forum has suggested work around for this but my PHP skills are limited & I am getting the dreaded white screen of death.
It says around line 957 begins the function "function saveRegistration( $option )", at the end of this function, before the "}" sign insert this code (it must be a part of the function) ...
Could someone point out where exactly is the end of this function.
Log in or Create an account to join the conversation.
- Antonios Pazarlis
-
- Offline
- New Member
- Posts: 6
I'd like to thank you for your indication of using CB but had already bought the following plugin that does the same thing and also misses the feature of inserting users in K2 users list, but they told me that they will implement it in a future version.
extensions.joomla.org/extensions/access-a-security/site-access/frontend-access-control/20450
About your question on implementing the code in the CB, it seems that the function user registration ends at line 120 and not around 957 which corresponds to the following line:
echo "\n<div>" . implode( "</div>\n<div>", $messagesToUser ) . "</div>\n";
}
Please Log in or Create an account to join the conversation.
- Eduardo
-
- Offline
- Junior Member
- Posts: 37
Having several defined k2 user groups, each with different permissions, would be brilliant. And then you could let user select which group to belong to - or even better - have separate registration forms for different users.
To use the example stated previously, a student reg form and teacher reg form, each with their unique access and permissions.
This would be very useful for lots of sites. Will check out CB suggestion in meantime, thanks !
Please Log in or Create an account to join the conversation.
- Sergey Yakovlev
-
- Offline
- New Member
- Posts: 6
Please Log in or Create an account to join the conversation.
- Agence culturelle départementale Dordogne-Périgord
-
- Offline
- Junior Member
- Posts: 29
Being that there will be many contestants, manual sorting would be a pain for site admin and also participants would probably like to start writing ASAP (without having to wait for a manual update; wait which could be demoralising them.)
Hence the need to get the user to select his usergroup / age range.
Thank-you
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
This is very special situation. Ther code you need to modify is located in two files:
1. The register.php layout where you need to place the groups the user needs to select
2. The K2 user plugin which is the one that saves the user to the predefined user group.
A good starting user plugin is this getk2.org/extend/extensions/73-user-extended-fields-for-k2.
Please Log in or Create an account to join the conversation.
- Agence culturelle départementale Dordogne-Périgord
-
- Offline
- Junior Member
- Posts: 29
erk !
I don't have time to do any php tinkering, unless someone has already acheived this.
I started working on this site this morning, and it's going live in 5 days... so no time to guess & try.
It'll just have to be as is :/
Thanks again.
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
You are welcome.
Please Log in or Create an account to join the conversation.