Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 is there any option which notice the members about

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
AHMEDHHH1 Posted - 20 November 2010 : 09:05:19
is there any option which notice the members about something wrong

instead this message




for example when a member try to sign in with a wrong pseudonym

this option notice him that the name he used is wrong

the same for the password

or notice him that this membership closed

or he didn't confirm his membership yet

and so on

sorry for the disturbance
5   L A T E S T    R E P L I E S    (Newest First)
Carefree Posted - 21 November 2010 : 08:09:13
Glad to be of assistance.
AHMEDHHH1 Posted - 21 November 2010 : 07:11:30
The structure was perfectly working

Carefree
Carefree Posted - 20 November 2010 : 22:53:07
This will check pending and actual members' names against the login attempt. If the name does not exist, the error will reflect that.

Otherwise:

  1. Name exists in active records:
    1. If account is active (not locked), error will show password is incorrect.
    2. If account is locked, error will show account has been locked by administrator.
  2. Name does not exist in active records, but is in pending table. Error will advise member to check Email account provided during registration.



"login.asp"



Look for the following line (appx 105):

if RequestMethod = "POST" and strLoginStatus = 0 then Response.Write("                      <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHiLiteFontColor & """>Your username and/or password was incorrect.</font><br />" & vbNewLine) else Response.Write("<br />" & vbNewLine)

Change it to say:

'	############	Login Details Mod	############
if RequestMethod = "POST" and strLoginStatus = 0 then Response.Write("                      <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHiLiteFontColor & """>" & strError & "</font><br />" & vbNewLine) else Response.Write("<br />" & vbNewLine)
	'	############	Login Details Mod	############


Next, look for the following lines (appx 84-87):

		WriteFooter
		Response.End
	end if
end if


Change them to say:

		WriteFooter
		Response.End
	'	############	Login Details Mod	############
	else
		strSQL = "SELECT M_NAME, M_PASSWORD, M_STATUS FROM " & strMemberTablePrefix & "MEMBERS WHERE M_NAME = '" & strDBNTFUserName & "'"
		set rsCheckUser=my_Conn.Execute(strSQL)
		if not rsCheckUser.EOF then
			strError = "Password does not match user name.<br>"
			if rsCheckUser("M_STATUS") = 0 then strError = strError & "Account locked by Administrator.<br>"
			rsCheckUser.Close
		else
			strSQL = "SELECT M_NAME FROM " & strTablePrefix & "MEMBERS_PENDING WHERE M_NAME = '" & strDBNTFUserName & "'"
			set rsPending = my_Conn.Execute(strSQL)
			if not rsPending.EOF then
				strError = "Account pending activation. Check the Email supplied during registration."
				rsPending.Close
			end if
			set rsPending = Nothing
			else
				strError = "Member name does not exist.<br>"
		end if
		set rsCheckUser = Nothing
	'	############	Login Details Mod	############
	end if
end if


"inc_header.asp"



Look for the following lines (appx 314-316):

		if strLoginStatus = 0 then
			Response.Write	"<p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """>Your username and/or password were incorrect.</font></p>" & vbNewLine & _
					"<p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """>Please either try again or register for an account.</font></p>" & vbNewLine

Change them to say:

		if strLoginStatus = 0 then
			'	############	Login Details Mod	############
			strSQL = "SELECT M_NAME, M_PASSWORD, M_STATUS FROM " & strMemberTablePrefix & "MEMBERS WHERE M_NAME = '" & strDBNTFUserName & "'"
			set rsCheckUser=my_Conn.Execute(strSQL)
			if not rsCheckUser.EOF then
				strError = "Password does not match user name.<br>"
				intLocked = 0
				if rsCheckUser("M_STATUS") = 0 then 
					strError = "Account locked by Administrator.<br>"
					intLocked = 1
					rsCheckUser.Close
				end if
			else
				strSQL = "SELECT M_NAME FROM " & strTablePrefix & "MEMBERS_PENDING WHERE M_NAME = '" & strDBNTFUserName & "'"
				set rsPending = my_Conn.Execute(strSQL)
				if not rsPending.EOF then
					strError = "Account pending activation. Check the Email supplied during registration."
					rsPending.Close
				else
					strError = "Member name does not exist.<br>"
				end if
				set rsPending = Nothing
			end if
			set rsCheckUser = Nothing
			Response.Write	"<p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """>" & strError & "</font></p>" & vbNewLine
			if intLocked = 0 then
				Response.Write	"<p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """>Please either try again or register for an account.</font></p>" & vbNewLine
			end if
			'	############	Login Details Mod	############
AHMEDHHH1 Posted - 20 November 2010 : 14:00:10
The This is useful, but, God willing

Reduce the proportion of complaints because the boy Director member will know the cause of the problem and correct it converts

This will assist the Director has knowledge of the cause of the problem that was introduced by the user data or files from the forum

And also will assist the Director to find out why exactly the sorts of the type of message that appears when you insert data

You please help me in the work of such characteristic

ruirib Posted - 20 November 2010 : 10:20:04
Doing that would ease the work of anyone trying to impersonate a user. If you look at most websites, if you have a login error, you always get a similar statement. It's only cautious to do so.

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000 Version 3.4.07