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/O Code)
 pending or resending email validation mod

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 [?]

 
   

T O P I C    R E V I E W
phoenixtaz13 Posted - 01 March 2009 : 20:01:32
hello, good day to all.... :)

i've notice, when a newly registered member or a pending member logs in,
and fails to receive an email validation.
it says:
"Your username and/or password were incorrect.
Please either try again or register for an account."


how can i change this to something, that would inform them that their registration
was successful and that they just need to confirm their registration,
like this:
"Your account username is not yet activated,
pls validate your email to activate ur account.
click here if u failed to receive email validation."

and then, if someone clicks "click here if u failed to receive email validation."
a new message will appear:
"your email validation was sent to mymail@mymail.com"

did anyone do this already?.... if not, how can i do this?.... what files should i be looking into?..... :)





9   L A T E S T    R E P L I E S    (Newest First)
phoenixtaz13 Posted - 04 March 2009 : 10:42:11
hello... good day to you.... :)

carefree,

finally got done with the code u gave me.... and added some email sending... and stored/save all of it in resendmail.asp file and then added this <!--#INCLUDE FILE="resendmail.asp" --> in inc_header.asp file.....

heres my file pls let me know if theres some issues to what i did, so far, its working.... :)

and also, before i forget, in firefox, if u click a link in my latest post to the left, the table seems to shrink and then expand again... if the link didnt work, u'll see the width shrunk, i cant seem to figure out whats wrong..... :(

so far im not getting any errors, hope u wont gey any errors too

thank u, thank u very much..... :)

HuwR Posted - 02 March 2009 : 02:26:36
try this MOD http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=38294 or http://www.snitzbitz.com/mods/details.asp?Version=All&mid=248
Carefree Posted - 02 March 2009 : 02:05:56
Yes, sorry. Change the instances of "M_USERNAME" in the strSql select statement to say "M_NAME".
phoenixtaz13 Posted - 02 March 2009 : 00:16:18
hello carefree...

i did the inc_header.asp insertion, still getting this:
"Your username and/or password were incorrect.
Please either try again or register for an account."

i entered the correct username and password.... it keeps directing me to ELSE "Your username and/or password were incorrect. Please either try again or register for an account."

any fix?...

thanks again.... :)

Carefree Posted - 01 March 2009 : 22:26:08
I know where those lines are in "inc_header.asp" (if you'll look at the first post, that's what I originally changed).

For those who want to incorporate this routine:

If you have modified either/both "login.asp" and "inc_header.asp" so that the "inc_header.asp" fix in my first response doesn't work, use the one for "login.asp".
phoenixtaz13 Posted - 01 March 2009 : 21:40:05
hi carefree,

i did the code above in login.asp, i think the code should be inserted somewhere else, its not working, im not using graphic button.....

from experimenting, i've notice that the message saying:
"Your username and/or password were incorrect.
Please either try again or register for an account."

the message above came from inc_header.asp

thanks again.... :)
Carefree Posted - 01 March 2009 : 21:11:04
OK - in "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 that to say:

	if RequestMethod = "POST" and strLoginStatus = 0 then 
		strSql="SELECT M_EMAIL, M_NAME, M_PASSWORD FROM " & strMemberTablePrefix & "MEMBERS_PENDING WHERE '" & strEncodedPassword & "'=M_PASSWORD AND '" & Request.Form("Name") & "'=M_NAME"
		set rsVerify=my_Conn.Execute(strSql)
		if not rsVerify.EOF then
			strVMail=rsVerify("M_EMAIL")
			rsVerify.Close
			Response.Write	"<p align=""left""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Your Email verification has not been validated.<br>" & vbNewLine & _
				"The EMail was sent to " & strVMail & "</font></p>" & vbNewLine
		else
			Response.Write("                      <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHiLiteFontColor & """>Your username and/or password was incorrect.</font><br />" & vbNewLine)
		end if
		set rsVerify=Nothing
	else 
		Response.Write("<br />" & vbNewLine)
	end if
phoenixtaz13 Posted - 01 March 2009 : 21:05:36
thank carefree, no prob.... :)

Carefree Posted - 01 March 2009 : 20:36:50
If this doesn't do it, see the routine for "login.asp" in my next response. In "inc_header.asp", look for the following lines (appx 299-301):

		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 the following:

		if strLoginStatus = 0 then
			strSql="SELECT M_EMAIL, M_NAME, M_PASSWORD FROM " & strMemberTablePrefix & "MEMBERS_PENDING WHERE '" & strEncodedPassword & "'=M_PASSWORD AND '" & Request.Form("Name") & "'=M_NAME"
			set rsVerify=my_Conn.Execute(strSql)
			if not rsVerify.EOF then
				strVMail=rsVerify("M_EMAIL")
				rsVerify.Close
				Response.Write	"<p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """>Your Email verification has not been validated.</font></p>" & vbNewLine & _
					"<p align=""center"">Your EMail validation was sent to """ & strVMail & """></p>" & vbNewLine
			else
				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
			end if
			set rsVerify=Nothing

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