Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Activationmail to webmaster instead
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Activationmail to webmaster instead

 Post Reply Post Reply
Author
Ted Ljong View Drop Down
Newbie
Newbie
Avatar

Joined: 25 November 2003
Location: Sweden
Status: Offline
Points: 27
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ted Ljong Quote  Post ReplyReply Direct Link To This Post Topic: Activationmail to webmaster instead
    Posted: 17 January 2004 at 11:37am

Hi
I have a forum for doctors so therefore I want to check the the new member before he/she gets access to the forum. Is it possible that the registrationform always will be sent to me and not to the new member.
I appreciate any answer

 

Back to Top
808Rider View Drop Down
Senior Member
Senior Member

Vebro Solutions CEO http://www.vebro.net

Joined: 20 April 2003
Status: Offline
Points: 405
Post Options Post Options   Thanks (0) Thanks(0)   Quote 808Rider Quote  Post ReplyReply Direct Link To This Post Posted: 17 January 2004 at 1:25pm

This is possible. You just need to go into the registration files and change the email recipient to the Forum Email Address instead of the user who just registered.

Locate the following code in register.asp

'******************************************
'***     Send activate email    ***
'******************************************

.....
code
.....
code
.....

Change only the red part to the modified blue part:

'Send the e-mail using the Send Mail function created on the send_mail_function.inc file
blnSentEmail = SendMail(strEmailBody, decodeString(strUsername), decodeString(strEmail), strMainForumName, decodeString(strForumEmailAddress), strSubject, strMailComponent, false)

Change to:

'Send the e-mail using the Send Mail function created on the send_mail_function.inc file
blnSentEmail = SendMail(strEmailBody, decodeString(strUsername), decodeString(strForumEmailAddress), strMainForumName, decodeString(strForumEmailAddress), strSubject, strMailComponent, false)

 

Also in resend_email_activation.asp

'Send the e-mail using the Send Mail function created on the send_mail_function.inc file
blnSentEmail = SendMail(strEmailBody, decodeString(strLoggedInUsername), decodeString(strLoggedInUserEmail), strMainForumName, decodeString(strForumEmailAddress), strSubject, strMailComponent, false)

Change to:

'Send the e-mail using the Send Mail function created on the send_mail_function.inc file
blnSentEmail = SendMail(strEmailBody, decodeString(strLoggedInUsername), decodeString(
strForumEmailAddress), strMainForumName, decodeString(strForumEmailAddress), strSubject, strMailComponent, false)

Should work. Backup your files before doing the edit.

Back to Top
india View Drop Down
Senior Member
Senior Member


Joined: 21 November 2003
Status: Offline
Points: 499
Post Options Post Options   Thanks (0) Thanks(0)   Quote india Quote  Post ReplyReply Direct Link To This Post Posted: 17 January 2004 at 1:43pm

A shortcut method

In admin area,suspend the registrations.

then, you can check and manually add members through Add Member's feature in admin menu

hope you are using v7.7

India

http://mumbai2.netfirms.com
Back to Top
Ted Ljong View Drop Down
Newbie
Newbie
Avatar

Joined: 25 November 2003
Location: Sweden
Status: Offline
Points: 27
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ted Ljong Quote  Post ReplyReply Direct Link To This Post Posted: 18 January 2004 at 8:25am

Thanks
I made the changes in the files and it works great.
Clap



Edited by Ted Ljong
Back to Top
808Rider View Drop Down
Senior Member
Senior Member

Vebro Solutions CEO http://www.vebro.net

Joined: 20 April 2003
Status: Offline
Points: 405
Post Options Post Options   Thanks (0) Thanks(0)   Quote 808Rider Quote  Post ReplyReply Direct Link To This Post Posted: 19 January 2004 at 3:31am
Originally posted by Ted Ljong Ted Ljong wrote:

Thanks
I made the changes in the files and it works great.
Clap

Great to hear that!

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.