change user role after xday or xminute

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
User avatar
amir2314
 
 
Posts: 321
Joined: Wed Aug 02, 2017 12:16 pm

change user role after xday or xminute

Post by amir2314 »

hi dear pablo .
.
i have two type of user role in my project . role 1 and role2
.
i need a simple php code to change user role after passed Xday or xtime !

for example i need to change role1 to role 2 after xdays or xtime
.
how can i doing this ?
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: change user role after xday or xminute

Post by Pablo »

There is no standard solution for this, because this is very specific.
This will require a custom script.
User avatar
amir2314
 
 
Posts: 321
Joined: Wed Aug 02, 2017 12:16 pm

Re: change user role after xday or xminute

Post by amir2314 »

Pablo wrote: Sun Nov 26, 2023 8:04 am There is no standard solution for this, because this is very specific.
This will require a custom script.
actualy i need to automaticaly expire users after xdays . please help me dear pablo . i tested with chat gpt but i cant find . i think just you can help me in this case
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: change user role after xday or xminute

Post by Pablo »

I'm sorry, I cannot help you with writing custom scripts. For me, this may take a lot of time to do.
Post Reply