Time based membership? - Posted (1274 Views)
Junior Member
sikandar
Posts: 135
135
Hi,
Is it possible that we can assign from and to date to members so after from date the account will be disabled/locked? Any mod covering this?
Thanks

<moved from="Help: General / Current Version (v3.4.xx)" by="Shaggy" />
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Support Moderator
Shaggy
Posts: 6780
6780
Not exactly as you want it, no. What you need to do is add a new field to the MEMBERS table to hold the expiration date and then modify the chkUser function to check that date and lock the account if the date has passed. Alternatively, if it's going to be a consistent period of membership, you could just use the date they joined to calculate how long they've been a member for which would save the need for a new database field.
Search is your friend “I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Posted
Junior Member
sikandar
Posts: 135
135
I will appreciate if someone will help me in developing such script as I am not expert in it. thanks
 
You Must enter a message