This is a fairly simple little mod that reminds a member when trying to register again from the same computer with fact that he's already register.
At the top of register.asp (around line 70)
you will see this code:
<!--#INCLUDE FILE="inc_footer.asp" -->
<%
Response.End
end if
right after it, insert this:
'#################### Duplicate Registration Mod #########################
if strAuthType = "db" and Request.QueryString("mode") <> "Proceed" then
strSql = "SELECT " & strMemberTablePrefix & "MEMBERS.MEMBER_ID, " & strMemberTablePrefix & "MEMBERS.M_NAME "
strSql = strSql & " FROM " & strTablePrefix & "MEMBERS "
strSql = strSql & " WHERE " & strMemberTablePrefix & "MEMBERS.M_NAME = '" & Request.Cookies(strUniqueID & "User")("Name") & "'"
Set rsChkName = my_Conn.Execute(strSql)
if not (rsChkName.EOF or rsChkName.BOF) then %>
<p align="center">
<table align="center">
<tr>
<td>
<ul>
<li><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>">
Our records show that you have already registered at the <% =strForumTitle %> under the name of
<font color="red"><b><% =Request.Cookies(strUniqueID & "User")("Name") %></b></font>. If you have lost your password,
<a href="JavaScript:openWindow('pop_pword.asp')">click here</a>.
If you would like to modify your profile, <a href="pop_profile.asp?mode=edit">click here</a>.</font>
</li>
<li>
To Proceed anyway <a href="register.asp?mode=Proceed">click here</a></font>
</li>
</ul>
</td>
</tr>
</table></p>
<% else
call ShowForm
end if
end if
'#################### Duplicate Registration Mod #########################
%>
Enjoy! 
Note: the user will still be able to access the policy page.
ô¿~
Edited by - frankie on 15 January 2001 14:00:54