Joomla 2.5: assign user to usergroup from front-en

2019-09-03 03:12发布

I have statically defined user groups with statically defined access rights. And I want to be able to change the user group for given user from the front-end using some module.

Reason: users can register by themselves, and automatically go to group "registered". After some time they can be promoted and moved to group "member". But I don't want to do this from back-end, bcs e.g. promotion can be done by any another already member. So I need this in front-end.

I haven't found any mention about this in Google. Maybe this is just something obvious? Are there any module/plugin perfoming such task?

2条回答
地球回转人心会变
2楼-- · 2019-09-03 03:57

The Joomla core components don't allow this. But you can search on http://extensions.joomla.org/extensions/clients-a-communities/user-management if there is something that fits your needs. Maybe this one: http://extensions.joomla.org/extensions/clients-a-communities/user-management/13753

查看更多
手持菜刀,她持情操
3楼-- · 2019-09-03 04:04

You could make a module with a button and have the button use JUserHelper::addUserToGroup.

查看更多
登录 后发表回答