Author Topic: Period of user account activation  (Read 9054 times)

0 Members and 1 Guest are viewing this topic.

Offline giffy007

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Period of user account activation
« on: July 20, 2002, 01:06:01 AM »
The feature( Period of user account activation in days) seems not to be working , it does not remove the non activated accounts Why  :?:
I have set this to 1 , and i far as i can understand it this should remove the people that havent activated using the email .Is this a bug ? can you help please  :!:

giffy :cry:

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Seems to be a long delay
« Reply #1 on: July 20, 2002, 02:33:28 AM »
I noticed that too.  But I just ignored it because it wasn't an issue for me at the time.  A few weeks later, the users who had not activated their account were deleted.  Perhaps there is a bug or hardcoded time limit?

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Period of user account activation
« Reply #2 on: July 20, 2002, 09:33:27 AM »
The problem is that you need CronJobs or something who starts each day a script which deletes all user who are over the the limit from the database.
So at the moment the accounts were deleted if any other user activates his account.

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline giffy007

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Period of user account activation
« Reply #3 on: July 20, 2002, 03:01:40 PM »
Thanks for the reply , maybe in the next version we could have a button or something so we can clean out the non activated members  :?:

Giffy

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Script for cron job?
« Reply #4 on: July 20, 2002, 10:51:47 PM »
Does any script exist that we can add to a cron job to delete account past the activation period?

It's not a big deal for me if there is no such script already.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Period of user account activation
« Reply #5 on: July 20, 2002, 11:35:41 PM »
how about auto delete when admin has logged in?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Period of user account activation
« Reply #6 on: July 21, 2002, 08:59:57 AM »
No specific script exists at the moment, but see the code betwenn line 253 and 258 in register.php if you want to create your own.

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Mec4D

  • Jr. Member
  • **
  • Posts: 75
    • View Profile
    • http://www.mec4d.com
Period of user account activation
« Reply #7 on: July 21, 2002, 01:44:58 PM »
Oh this is strange,
my script delete the people that havent activated using the email every 2 days automatic.
I see every day all is clean out again. So no mercy.. :wink:
Catharina