Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Time based membership?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sikandar
Junior Member

Pakistan
135 Posts

Posted - 04 September 2009 :  11:47:44  Show Profile  Reply with Quote
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" />

Edited by - Shaggy on 07 September 2009 04:43:29

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 07 September 2009 :  04:46:45  Show Profile  Reply with Quote
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.”
Go to Top of Page

sikandar
Junior Member

Pakistan
135 Posts

Posted - 07 September 2009 :  07:09:30  Show Profile  Reply with Quote
I will appreciate if someone will help me in developing such script as I am not expert in it. thanks
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.2 seconds. Powered By: Snitz Forums 2000 Version 3.4.07