Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Admin wants to receive mail if new member register
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Peter Vranckx
Starting Member

4 Posts

Posted - 22 December 2005 :  02:32:13  Show Profile
Hello,
I'am setting up a forum with the latest Snitz SW.
When a new member registers you can see this only if you enter the forum as admin ( #member(s) pending).
Is there any possibility to receive an e-mail(on the admin e-mail address) each time a new member want's to register?
Thank you very much for a quick reply.
Peter

Edited by - Peter Vranckx on 22 December 2005 02:37:33

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 22 December 2005 :  05:29:24  Show Profile  Send ruirib a Yahoo! Message
You could just add a little code change to have a copy of the email sent to the user to be sent to you, as well.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Peter Vranckx
Starting Member

4 Posts

Posted - 22 December 2005 :  07:12:45  Show Profile
quote:
Originally posted by ruirib

You could just add a little code change to have a copy of the email sent to the user to be sent to you, as well.


As I am a beginner in this issues I do not undertsand what you mean. Where do I have to add this code, what code and where can I find it?
Thanks in advance for your reply.
Peter
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 22 December 2005 :  07:31:55  Show Profile  Send ruirib a Yahoo! Message
Which email component are you using?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Peter Vranckx
Starting Member

4 Posts

Posted - 22 December 2005 :  08:42:48  Show Profile
quote:
Originally posted by ruirib

Which email component are you using?


Aspe-mail
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 22 December 2005 :  10:22:01  Show Profile  Send ruirib a Yahoo! Message
Ok, I'll have a look at the code tonight. I don't know that component, will have to search to know its methods.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 23 December 2005 :  12:04:56  Show Profile  Send ruirib a Yahoo! Message
Ok, here we go.

1. In register.asp, at line# 582, add this:

				strBcc = "yourEmail@address.com"
, using your own email address instead of yourEmail@address.com

2. In inc_mail.asp, at line# 63, add this:

		objNewMail.AddBcc(strBcc)

This should do it.

<edit: corrected an error>


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2085 Posts

Posted - 23 December 2005 :  15:35:41  Show Profile
Or you could add the following code in register.asp:
if strEmailNewReg = "1" then
				'################################### 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 & "Webmaster @ " & strForumTitle
%>
<!--#INCLUDE FILE="inc_mail.asp" -->
<%
				'######################################################################################
end if

You need to place the code above after:
%>
<!--#INCLUDE FILE="inc_mail.asp" -->
<%

so you have the 2 include statements for inc_mail.asp. I hope that this also helps.

Cheers,

David Greening
Go to Top of Page

spyderuk
Junior Member

United Kingdom
211 Posts

Posted - 10 January 2006 :  15:48:22  Show Profile  Visit spyderuk's Homepage
Instead of posting a new topic, would this change work with Chili!Mail ?
Thanks in advance.

Snitz 3.4.05. Mods Installed, Additional Smilies, Poll's, PM's, Email All Users, Today/Yesterday, Active Users 4, Portal Mod, My Own Google, Referer Mod, Avatars, Intergrated Conqueror Chat, Usergroups, IPGate, File Attachment Mod & Image Resize Mod.
Next Mod? My Snitz Forum
Go to Top of Page

lfetterhoff
Starting Member

USA
12 Posts

Posted - 07 February 2006 :  15:59:39  Show Profile  Send lfetterhoff a Yahoo! Message
I thought this was a great idea - so I tried the idea of modifying register.asp and inc_mail.asp, but have not been able to get this to work. I added strBcc = "email.addr" (where email.addr represents my forum admin email address) to register.asp after the strFrom = strSender line (around line # 583). I also added objNewMail.AddBcc(strBcc) to the case sasmtpmail area (around line 320). This is still not working - am I missing anything?
Go to Top of Page

tinem
Junior Member

Denmark
209 Posts

Posted - 08 February 2006 :  07:09:06  Show Profile  Send tinem an ICQ Message
Try looking here http://www.snitzbitz.com/mods/details.asp?Version=All&mid=112 and this is also good http://www.snitzbitz.com/mods/details.asp?Version=All&mid=140

I use both and they work fantastic with vers. 3.4.03


This account was hacked by that very honest guy, Image. Better take care with your personal data, if you register to his forums or he will hack into your account here, as well.
Go to Top of Page

lfetterhoff
Starting Member

USA
12 Posts

Posted - 08 February 2006 :  19:34:46  Show Profile  Send lfetterhoff a Yahoo! Message
thanks for the suggestion - tried it but still did not work. I am obviously missing something...
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2085 Posts

Posted - 09 February 2006 :  01:24:11  Show Profile
Place a text link to your register.asp file and I will add the code I know works for me on all my sites I run...
quote:
Originally posted by lfetterhoff

thanks for the suggestion - tried it but still did not work. I am obviously missing something...

It is really easy to get an e-mail when a new person registers.

Cheers,

David Greening
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.42 seconds. Powered By: Snitz Forums 2000 Version 3.4.07