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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Deleted users appearing in memberlist
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Kaldail
Starting Member

40 Posts

Posted - 19 July 2004 :  07:27:03  Show Profile
When a user is deleted the name is set to 'deleted'. This I suppose is in order to show this new 'name' in the author field of any posts of the user that may remain in the topics.

If I do a memberlist and then click on search without entering any information, the resulting memberlist will include all of these deleted users (in our case almost doubling the size of the list).

Is there anyway to actually delete these deleted users for good other than doing it by hand one by one? For instance all which have a last posting date before a certain date.

And what happens to posts written by one such deleted deleted user (yes I purposefully wrote deleted twice ) if any should happen to still exist?

Mr Pink
Junior Member

United Kingdom
387 Posts

Posted - 19 July 2004 :  07:50:23  Show Profile  Visit Mr Pink's Homepage  Send Mr Pink an AOL message
I don't think there is an easy way of doing it. The reason for deleted users remaining on the members list is because of problems caused by their posts still being accessible.

you could edit the database but you would have to be very careful how you do it.

Martin
Leyland Forum Leyland Lancashire UK
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 19 July 2004 :  08:01:15  Show Profile
did you change 'n/a' to 'deleted' ? Because the default behavior is to name them 'n/a' and there is a filter in members.asp so that 'n/a' users will only be shown to Admins.
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 19 July 2004 :  08:01:28  Show Profile
To solve the problem of deleted users showing up when you search on nothing, find the following and add the code in green (can't give line references right now):
'	if Request.querystring("link") <> "sort" then
		whereSql = " WHERE M_NAME <> 'n/a' AND ("
		tmpSql = ""
Permanently deleting members who have posted in your forums will reult in all kinds of errors. You will need to delete any posts they made before doing so. Of course, doing so presents its own problem if the post was in the middle of a thread as any subsequent replies may make no sense.


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

Kaldail
Starting Member

40 Posts

Posted - 19 July 2004 :  08:09:50  Show Profile
Thanks for all the swift responses!

To address some of your comments:

No we haven't changed n/a to deleted so the name is n/a and deleted appears in the title field. If the n/a users are only ever shown to admins then that isn't really an issue for us. I normally try to refrain from editing the code unless absolutely necessary. Editing the database not an option at all for us I think!

About permanently deleting users I can appreciate the likelyhood of errors resulting from this, where messages still exists. Yet the option to delete an n/a user exists in the memberlist (for admins) so is a check performed when this option is used to see if any messages remain then?

Edited by - Kaldail on 19 July 2004 08:11:06
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 19 July 2004 :  08:40:56  Show Profile  Visit HuwR's Homepage
quote:
Originally posted by Kaldail

Thanks for all the swift responses!
Yet the option to delete an n/a user exists in the memberlist (for admins) so is a check performed when this option is used to see if any messages remain then?


yes, exactly the same check as was performed the first time you deleted them.

A user will only be permanently deleted if there are no posts associated with the userid
Go to Top of Page

Kaldail
Starting Member

40 Posts

Posted - 19 July 2004 :  09:44:06  Show Profile
Ok great, that means that I can do a bit of cleaning up by hand and not have to worry that I mess things up in the database.

Thanks for the great support as usual!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.45 seconds. Powered By: Snitz Forums 2000 Version 3.4.07