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)
 Registration alerts

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
CSUjr Posted - 04 September 2006 : 16:30:27
I am trying to find the correct code that will send me an alert via email when a new member registers in the forum.

I was sent the following code, inserted in the the place specified, saved it and then uploaded it, but it doesn't work.
################################### Administrator Notification Mod ########################

 

                                                strRecipientsName = strSender

                                                strRecipients = strSender

                                                strFrom = strSender

                                                strFromName = strSender

                                                strsubject = strForumTitle & " Registration "

strMessage = "The new registration of: " & Request.Form("Name") & " 
(" & Request.Form("Email") & ") has occured at " & strForumTitle & " 
(" & strForumURL & ")." & vbNewLine & vbNewLine & "Go and check 
out: " & strForumURL & "admin_accounts_pending.asp to get their full 
details." & vbNewLine & vbNewLine & "Cheers," & vbNewLine & 
vbNewLine & "Forum Administrator @ " & strForumTitle

%>

<!--#INCLUDE FILE="inc_mail.asp" -->

<%

Can anyone help me with code that will work for me to receive an email alert when a new member signs up?

Thanks,
Charles<
5   L A T E S T    R E P L I E S    (Newest First)
CSUjr Posted - 05 September 2006 : 04:04:39
This is my register.asp file in text format
http://rapidshare.de/files/32014671/register.aspFile.rar.html
Please help if you can
Thanks,
Charles<
leatherlips Posted - 04 September 2006 : 18:23:37
I can't read the file you posted. Can you post it as a .txt file instead?<
CSUjr Posted - 04 September 2006 : 17:50:44
Well, It appears that I did not do this correct.

This is what I am receiving when I attempt to register as a new member;
Microsoft VBScript compilation error '800a03f6'

Expected 'End'

/SzForum/inc_mail.asp, line 361

I have uploaded a zipped copy of my register.asp file to a free file sharing site here;
http://rapidshare.de/files/31978953/My_Register.asp_file.rar.html

Can you or someone take a look at it and help me get this so it works?

Thank you,
Charles<
CSUjr Posted - 04 September 2006 : 17:20:32
Thank you, I have followed the instructions and I'll test it and see if it now works.<
leatherlips Posted - 04 September 2006 : 16:49:26
It doesn't look like you've added all of the code.

I found this at SnitzBitz (.02 beta):

Insert this at line 579:
			'################################### Administrator Notification Mod ########################

			strRecipientsName = strSender
			strRecipients = strSender
			strFrom = strSender
			strFromName = strSender
			strsubject = strForumTitle & " Registration "
			strMessage = Request.Form("Name") & " (" & Request.Form("Email") & ") has registered at " & strForumURL 
%>
<!--#INCLUDE FILE="inc_mail.asp" -->
<%
			'#############################End of Administrator Notification Mod ########################


Modify the code around line 637 (after inserting the above) to look like this:

				if strRestrictReg = "1" then 
					Response.Write	"      <p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>The Administrator has restricted registration on this forum. You will receive an e-mail as soon as the Administrator approves your request.</font></p>" & vbNewLine
				
				'################################### Administrator Notification Mod ########################
					Response.Write	"      <p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>An Email has been forwarded to the Administrator</font></p>" & vbNewLine & _
					"      <p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>You will be contacted shortly"
				'#############################End of Administrator Notification Mod ########################

				else
					Response.Write	"      <p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Please follow the instructions in the e-mail that has been sent to " & ChkString(Request.Form("Email"),"email") & " to complete your registration.</font></p>" & vbNewLine
				end if
<

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