Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - MOD Request - Birthday E-Mail
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MOD Request - Birthday E-Mail

 Post Reply Post Reply Page  <1 678
Author
dfrancis View Drop Down
Senior Member
Senior Member


Joined: 16 March 2005
Location: United States
Status: Offline
Points: 442
Post Options Post Options   Thanks (0) Thanks(0)   Quote dfrancis Quote  Post ReplyReply Direct Link To This Post Posted: 09 August 2006 at 3:00pm

Ah yes... if you created the user after the script ran, then it's too late. I was thinking about that too but the solution is complicated in that you would have to intercept new user registrations to see if it happens to be their birthday. Also, if a user logs on and changes (or adds) their birthday after the script runs, they won't get one either.

I'm glad it's working... I was scratching my head on that one.
Back to Top
ToJaRo View Drop Down
Groupie
Groupie
Avatar

Joined: 20 April 2005
Location: United States
Status: Offline
Points: 158
Post Options Post Options   Thanks (0) Thanks(0)   Quote ToJaRo Quote  Post ReplyReply Direct Link To This Post Posted: 10 August 2006 at 1:26am
Yes I am glad as well!   Thanks again for creating the mod and assisting me to get it working.  Now I just wanna tweak the email to have some custom saying on it that is relevant to the site. 
 
You should zip up the bdayemail.asp and common.asp page and add them to this topic so that everyone can use it... and also post it in the MOD Index as I am sure there are lots of people out there that would use it.
 
I don't mind doing zipping up the files but I don't wanna steal your glory!
 
You da man!
Back to Top
wistex View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 30 August 2003
Location: United States
Status: Offline
Points: 877
Post Options Post Options   Thanks (0) Thanks(0)   Quote wistex Quote  Post ReplyReply Direct Link To This Post Posted: 13 August 2006 at 11:36am
Looks good.  I think I'll try this.
 
One tip for large forum boards or boards with slow SMTP servers, you will not want to have this script triggered by user activity, but rather scheduled to run everyday by Windows.  Otherwise that unlucky visitor will have the page waiting to load while it sends all the e-mails.  When the e-mails are sent, the page will then load.  I already have this problem with some popular threads where a lot of people subscribe.  When someone posts a new post, it takes a long time before they get redirected back to the thread because its busy sending out e-mails.
 
For smaller boards, its probably not as much of an issue.  But something to be aware of when you grow.
Back to Top
dfrancis View Drop Down
Senior Member
Senior Member


Joined: 16 March 2005
Location: United States
Status: Offline
Points: 442
Post Options Post Options   Thanks (0) Thanks(0)   Quote dfrancis Quote  Post ReplyReply Direct Link To This Post Posted: 13 August 2006 at 2:29pm

THANKS!

Good point!
On a popular board, the first hit would likely be in the middle of the night by a search engine or something. Once that first hit is through there is no more sendmail.
 
It's a good idea to schedule the event anyway and I was actually looking at the DTS schedule idea from DP. But for this I was trying to make it simple.
 
The number of emails sent would be relatively low unless you had an amazingly popular forum. (Hope for this we all do.)
 
One of the biggest forums I've ever seen personally...
 
Posts: 26,947,989
Members: 159,035
Threads: 3,349,189
 
I looked at their calendar and during this month, they do not exceed 200 birthdays in any given day. Sending 200 emails shouldn't take too long.
 
 


Edited by dfrancis - 13 August 2006 at 2:30pm
Back to Top
wistex View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 30 August 2003
Location: United States
Status: Offline
Points: 877
Post Options Post Options   Thanks (0) Thanks(0)   Quote wistex Quote  Post ReplyReply Direct Link To This Post Posted: 13 August 2006 at 3:57pm
Originally posted by dfrancis dfrancis wrote:

I looked at their calendar and during this month, they do not exceed 200 birthdays in any given day. Sending 200 emails shouldn't take too long.
Unless your web server or SMTP server is slow.  But if that is the case, a hardware upgrade is usually in order anyway.
Back to Top
 Post Reply Post Reply Page  <1 678

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.