Gossamer Forum
Home : Products : Others : Gossamer Community :

Delete users who have never logged in

Quote Reply
Delete users who have never logged in
Is there an easy way to search for and delete users who have registered but never logged in?
Quote Reply
Re: [MJB] Delete users who have never logged in In reply to
Try doing:

community.cgi?do=admin_user;mh=25;sb=comm_id;so=;asearch=Search;comm_login_count=0

when logged in as the admin. You can probably bump mh as well.

Adrian
Quote Reply
Re: [brewt] Delete users who have never logged in In reply to
Thanks.

Last edited by:

MJB: Dec 21, 2006, 7:44 AM
Quote Reply
Find users who have never logged in In reply to
I think this is a very useful addition to the User Management page.

In Templates check the "Show Admin Templates" box and open admin_user.html

Code:
Find:

<tr>
<td width="13%" class="body" valign="top">Quick search:</td>
<td width="87%" class="body_bold"><%search_bar%></td>
</tr>

and add below:

<tr>
<td width="13%" class="body" valign="top">User search:</td>
<td width="87%" class="body_bold"><a href="<%path_cgi_url%>?do=admin_user;mh=25;sb=comm_id;so=;asearch=Search;comm_login_count=0">View users who have never logged in</a></td>
</tr>

Thanks again. Wink
Quote Reply
Re: [MJB] Find users who have never logged in In reply to
Hi:

What would be 'really' handy would be a way to do this via a script and cron.

The only problem with being too arbitrary on 'never logged in' could mean you will capture/delete users who may have only just added themselves to the database.

Personally I do an Advanced Search and use the date joined as an additional item - allowing them a month...

The script/cron combination though would be very powerful.....


Regards,



Clint.
--------------------------
http://AffiliatesDirectory.com
The Affiliate Programs Directory