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)
 Problem on Register
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Chris Yew
Junior Member

134 Posts

Posted - 21 August 2002 :  03:08:43  Show Profile
I've just downloaded the new ver 3.4. Everything is fine and the database was transferred from my old ver 3.3.03.

When I (administrator) delete a member (say CY) off the member list, this CY cannot re-register again. When CY register again, it says that the email is used by another one.

If I delete a member off the list, do I delete the user name as well as the respective email address in the database, so that he can re-register again?

My forum site is;
http://www.bettaclub.org.sg/forum/

Pls help. Thank you.

Chris Yew

Edited by - Chris Yew on 21 August 2002 03:11:47

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 21 August 2002 :  08:21:10  Show Profile  Send ruirib a Yahoo! Message
Once you delete a member none of his info his kept in the database. This means someone else will be able to register with that email address, yes.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

davemaxwell
Access 2000 Support Moderator

USA
3020 Posts

Posted - 21 August 2002 :  08:39:30  Show Profile  Visit davemaxwell's Homepage  Send davemaxwell an AOL message  Send davemaxwell an ICQ Message  Send davemaxwell a Yahoo! Message
If the member has made posts, then his member record is not really deleted. The userid is removed(changed to n/a), but the record remains. If you require unique email addresses, he will not be able to re-register unless you edit the "deleted" record and remove the email address.

Why would you want to allow someone who has been deleted from your members list to re-register. Kinda defeats the purpose of deleting him, doesn't it?

Dave Maxwell
Barbershop Harmony Freak
Go to Top of Page

Chris Yew
Junior Member

134 Posts

Posted - 21 August 2002 :  09:21:24  Show Profile
Thanks for the reply.

In my case it's that I've loggon as Admin and deleted my own name (who has already made posts)to test whether if I'll receive an email notification when I register. Having deleted my own name, I realised that I cannot re-register again as it shows the email address has been used.

There may be chances where the Admin accidentally deleted a wrong member thus have to allow him to re-register.

Is there any 'fix' for this? Is it possible that before deleting a member who had made post, I have to go to that member profile to change his User Name and password to any other User Name and password so that he can re-register again using the same.

Chris Yew
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 21 August 2002 :  09:42:23  Show Profile
when you delete a member that still has posts, then the record is not deleted, but their username is changed to n/a and the e-mail address is set to ' '. So, there must be another user with the same e-mail address.
Go to Top of Page

davemaxwell
Access 2000 Support Moderator

USA
3020 Posts

Posted - 21 August 2002 :  09:51:49  Show Profile  Visit davemaxwell's Homepage  Send davemaxwell an AOL message  Send davemaxwell an ICQ Message  Send davemaxwell a Yahoo! Message
If you want to see one's that are deleted, then change this code in members.asp (on line 150 in v3.4) from this:


if mlev = 4 then
strSql3 = " WHERE M_NAME <> 'n/a' "
else
strSql3 = " WHERE M_STATUS = " & 1
end if


to this:

if mlev <> 4 then
strSql3 = " WHERE M_STATUS = " & 1
end if


Now this will ALWAYS show you deleted members, so you might want to make an alternate version of members.asp so you can only use this in certain situations....

Dave Maxwell
Barbershop Harmony Freak
Go to Top of Page

Chris Yew
Junior Member

134 Posts

Posted - 21 August 2002 :  10:04:57  Show Profile
Thanks, will try that mod proposed by Dave.

But before I do that, I realised that my members.asp script doesn't look quite right.

Line 150 to 158;
if mlev = 4 then
strSql3 = " WHERE M_NAME <> 'n/a' "
else
strSql3 = " WHERE M_STATUS = " & 1
end if
end if

select case SortMethod
case "nameasc"
strSql4 = " ORDER BY M_NAME ASC"

Why am I having two end if on Line 154 and Line 155? Is there some insertion on line 155 that I've left out?

Chris Yew

Edited by - Chris Yew on 21 August 2002 10:26:29
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 21 August 2002 :  11:16:16  Show Profile  Send ruirib a Yahoo! Message
Your file is OK. There may be a slight offset with the line numbers, but just look for the code, not the line numbers.


Snitz 3.4 Readme | Like the support? Support Snitz too
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.35 seconds. Powered By: Snitz Forums 2000 Version 3.4.07