Please or Register to create posts and topics.

Auto changing usergroups based on user reputation level

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.

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());

 

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!