I have hidden all members details to non logged on users. They see what users have posted to the site but they can not view their details unless they join. Done it with a simple piece of code;
<%
if strDBNTUserName = "" then
doNotLoggedInForm
end if
%>
(Thanks efourie)
added it to pages I didn't want users that are not members to view. I also came across the pop.profile.asp file, this file users could see details of the users that posted. Added the above piece of code and kept on getting an error.
I ended up putting this code;
<%
if strDBNTUserName = "" then
doNotLoggedInForm
end if
%>
Just above this;
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td bgColor="<% =strPageBGColor %>" align=center <%= strColspan %>>
<p align=center><font face="<% =strDefaultFontFace %>" size="<% =strHeaderFontSize %>">User Profile<br></font></p>
This has stopped non-members from viewing members details. I hope this helps someone.
Regards,
Webmaster @ Classic Motor Cycling
Classic Motor Cycling