Time based membership? - نوشته شده در (1272 Views)
Junior Member
sikandar
مطلب: 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" />
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
Support Moderator
Shaggy
مطلب: 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.”
نوشته شده در
Junior Member
sikandar
مطلب: 135
135
I will appreciate if someone will help me in developing such script as I am not expert in it. thanks
 
شما باید یک متن وارد کنید