On 6/12/13 12:46 AM, Kamal Palei wrote:
Tracey Thanks a lot. Probably spambot will guard against spam users registration to some extent.
If somehow, some spam users register in site (we can determine manually or automated way), I would like to re-use the UID allocated for spam users should be re-used for future valid users. In that case, do we have any modules or any existing mechanism to achieve re-using the UIDs allocated to spam users previously.
Thanks kamal
On Tue, Jun 11, 2013 at 8:19 PM, Hummel, Tracey S - (thummel) <thummel@email.arizona.edu mailto:thummel@email.arizona.edu> wrote:
I've used the spambot module and it helped but it can't stop all unwanted registrations. Tracey -------------------- Tracey Hummel /Web Application Developer/ tracey@arizona.edu <mailto:tracey@arizona.edu> http://tshummel.com ------------------------------------------------------------------------ *From:* support-bounces@drupal.org <mailto:support-bounces@drupal.org> [support-bounces@drupal.org <mailto:support-bounces@drupal.org>] on behalf of Kamal Palei [palei.kamal@gmail.com <mailto:palei.kamal@gmail.com>] *Sent:* Tuesday, June 11, 2013 4:22 AM *To:* support@drupal.org <mailto:support@drupal.org> *Subject:* [support] How to safeguard sites from unwanted users Dear ALL I see almost everyday in my site 2 or 3 unwanted users are created. The user id is something like *sdfdxsxvxcvbcxmv* which is totally somebody just playing. I need to block such accounts or more preferably reuse such accounts. For me the concern is , once a user is created, that user id is gone for ever. Next if I create another user, it will take up the higher UID. Assuming these things keeps happening, over few years of time we will have lot of unnecessary accounts in system, eating up resources for nothing. Even if I delete these users, still the user ID will not be reused. Within Drupal framework, is there any existing mechanism where, we can tell to re-use certain user ID when creating new users. If NOT existing, if somebody guides me, am ready to make one. Best Regards Kamal
Why are you worried about loss of a few UID's, the table? You can have about 4 BILLION different UID's, if you are worried about using up all your UIDs you site must be EXTREMELY active, and there are a number of other things that need to be looked at well before you run out of UIDs. (and a relatively small change in table schema can increase the limit to virtually unlimited by changing UID to a bigint everywhere it is stored).