Please or Register to create posts and topics.

Add expiration Time for user role

Hi

Is it possible to add expiration time for user roles?

For example I have a private forum that I want just my customers access to it. Now I can do that but I want they access just for 1 month and need user roles change from customers to (for example: user) after 1 month automatically.

I think that is very useful, If this ability add to plugin

Best regard.

Hello @nader_baradari

Did you already set up the initial structure for your roles to give some of the users the customer-role? If so, how you manage the role and which plugin are you using for it? Or do you plan to use the usergroups of the forum for it?

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!
Quote from Asgaros on February 17, 2021, 1:18 pm

Hello @nader_baradari

Did you already set up the initial structure for your roles to give some of the users the customer-role? If so, how you manage the role and which plugin are you using for it? Or do you plan to use the usergroups of the forum for it?

Hello

I use usergroup of forum for it and do not use anymore plugin. Now I can manage usergroup for each user manually But I want set expiration time for usergroup of the froum to limit access of many user after certain time.

Hello @nader_baradari

This expiration-time should be a fixed timestamp valid for all users inside of the group or it is an individual relative timestamp based on when the user joined that group?

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

Hello @asgaros

It is an individual relative timestamp when the user joined that group.

I maked 2 different user groups. 1- “public” 2- “private”

when everyone joined to the forum I set user-group to “public”. But We have many topic that is private and just customers should access to them.

so when a user subscribed for private topic, we set its user-groups to “private” in user-profile manually. after 1 or 2 or 6 , ….. months user group of this user should be change from “private” to public”. Now we do that manually in user-profile too .

if add a option in user profile front of each user-group that can set expiration time it is very easy. after certain time, role of individual user will be changed from “private” to default user group or “public”.

I will check if I can add a new functionality for this in a future update! 🙂

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

Thanks.