XFuser
Active member
Hello,
We want to do some simple customizations where we run some simple cron job queries daily to check things like messages per last 30 days, likes received per last 30 days, etc. and then give/remove privileges/permissions by adding/removing users to Usergroups based on those queries.
To add and remove a user from a Usergroup, will simply adding/removing the Usergroup ID to/from the secondary_group_ids column of the xf_user table be enough?
In other words, which database tables/columns need to be altered to manually add/remove a user from usergroup?
Thank you.
We want to do some simple customizations where we run some simple cron job queries daily to check things like messages per last 30 days, likes received per last 30 days, etc. and then give/remove privileges/permissions by adding/removing users to Usergroups based on those queries.
To add and remove a user from a Usergroup, will simply adding/removing the Usergroup ID to/from the secondary_group_ids column of the xf_user table be enough?
In other words, which database tables/columns need to be altered to manually add/remove a user from usergroup?
Thank you.