TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   General (http://www.talkphp.com/general/)
-   -   talkphp - we miss you (http://www.talkphp.com/general/4580-talkphp-we-miss-you.html)

nefus 06-19-2009 06:53 PM

talkphp - we miss you
 
So how do you guys run your TalkPHP "we miss you" script? Is it automated? Does it look to see how many days since a person has been online?

I'm considering something similar for a project of mine but wanted to know how you guys came up with it, what worked and what didn't.

Village Idiot 06-19-2009 07:44 PM

Its a standard vBulletin feature, but it is quite simple.

You set a script to run every night checking for users who have been inactive for X periods of time. You then send them an email. You use cron (or server tasks on IIS) to automate the script. vB keeps record of when everyone's last login time was, so finding people who have not been on in a certain amount of time is easy.

nefus 06-19-2009 07:54 PM

Ah.... ok. So I'll just have to write that myself and put it in the cron job or something.

Wildhoney 06-19-2009 09:30 PM

Except ours doesn't work so I have to do it manually :-) I would love to blame a crontab for those pesky emails, but unfortunately it is me!

If I were coding it, I'd do it as Village Idiot described.

nefus 06-19-2009 11:34 PM

Lol! !!!


All times are GMT. The time now is 10:58 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0