22, November 2008

user can reset themselves to active again - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Access_user Class (Moderator: Olaf)
Topic: user can reset themselves to active again
« previous next »
Pages: [1] Print

Author Topic: user can reset themselves to active again  (Read 749 times)
Metal slug addict
*
Posts: 19
126 credits
Members referred : 0


« on: May 16, 2007, 02:07:03 PM »

If I use admin_user.php to set a user to not active the user can click again on the activation email if they still have it and they will be set to active again.

This only works if they haven't changed their password since they received the activation email (I think)

Is there any way round this other than disabling auto activation.

Thanks

Mike
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6440
39464 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: May 16, 2007, 02:36:37 PM »

Hi Mike,

Yes you're right and I will think about a solution (maybe that the activation mail is only valid for xx hours)


Last blog : Just a better Internet portal provided by Google
Metal slug addict
*
Posts: 19
126 credits
Members referred : 0


« Reply #2 on: May 16, 2007, 03:22:31 PM »

Hi Olaf,

Thanks for the quick reply. A time based solution sounds good for most situations.

There might be some situations where you would still have problems. for example you may have a user who registers and starts causing problems on your system. You would then be stuck with them for 6 hours or whatever your time out is. But such a troublemaker could cause problems by registering again with a new username anyway so its hard to stop them whatever you do.

So overall I would say a time out would be the best solution.

Mike
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6440
39464 credits
Members referred : 374


It's time to use PHP5!


« Reply #3 on: May 16, 2007, 03:28:13 PM »

sure that could be a problem (that could bad 48 hours until the account is closed forever)

I used different states in other applications:

active
not active
and blocked

I guess it is easy to disallow the activation from a blocked account.

Thanks great suggestion! I will try to fix that soon...


Last blog : Just a better Internet portal provided by Google
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6440
39464 credits
Members referred : 374


It's time to use PHP5!


« Reply #4 on: May 16, 2007, 04:47:50 PM »

check the new version on my website


Last blog : Just a better Internet portal provided by Google
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=6575
Tags : security activation email Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Access_user Class (Moderator: Olaf)
Topic: user can reset themselves to active again
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Nov 22, 2008, 04:25:13 PM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 37.736
Total Topics: 7.650
Total Members: 4.397
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: Janai

39 Guests, 6 Users online :

11 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.