Auto changing usergroups based on user reputation level
Quote from GoggelyCow on November 20, 2019, 5:05 amIs it possible at all or a future update to come where we can set it so that users can progress and get new user groups dependent on if they have a specific reputation level?
so auto group is Newbie,
after 100 posts (set as level 1) they auto change to a new group called experienced ECT.
this would go on till top level is achieved ?
Thanks in advance.
Is it possible at all or a future update to come where we can set it so that users can progress and get new user groups dependent on if they have a specific reputation level?
so auto group is Newbie,
after 100 posts (set as level 1) they auto change to a new group called experienced ECT.
this would go on till top level is achieved ?
Thanks in advance.
Quote from Asgaros on November 30, 2019, 9:43 pmHello @goggelycow
Changing usergroups based on the reputation-level is currently not possible by default. The only way would be to add this programmatically if you have coding-experience. For example you could use the following hooks to check the reputation after creating a new post/topic:
- asgarosforum_after_add_post_submit
- asgarosforum_after_add_topic_submit
Afterwards you can – based on the check-result – add/remove the user from groups with the following function:
insertUserGroupsOfUsers($user_id, $assigned_groups = array());
Hello @goggelycow
Changing usergroups based on the reputation-level is currently not possible by default. The only way would be to add this programmatically if you have coding-experience. For example you could use the following hooks to check the reputation after creating a new post/topic:
- asgarosforum_after_add_post_submit
- asgarosforum_after_add_topic_submit
Afterwards you can – based on the check-result – add/remove the user from groups with the following function:
insertUserGroupsOfUsers($user_id, $assigned_groups = array());