TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 06-19-2009, 06:53 PM   #1 (permalink)
The Contributor
 
nefus's Avatar
 
Join Date: Nov 2007
Location: Nashville, TN
Posts: 66
Thanks: 20
nefus is on a distinguished road
Default 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.
__________________
I am not a programmer, nor do I play one on tv.
nefus is offline  
Reply With Quote
Old 06-19-2009, 07:44 PM   #2 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

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.
__________________

Village Idiot is offline  
Reply With Quote
Old 06-19-2009, 07:54 PM   #3 (permalink)
The Contributor
 
nefus's Avatar
 
Join Date: Nov 2007
Location: Nashville, TN
Posts: 66
Thanks: 20
nefus is on a distinguished road
Default

Ah.... ok. So I'll just have to write that myself and put it in the cron job or something.
__________________
I am not a programmer, nor do I play one on tv.
nefus is offline  
Reply With Quote
Old 06-19-2009, 09:30 PM   #4 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

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.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Old 06-19-2009, 11:34 PM   #5 (permalink)
The Contributor
 
nefus's Avatar
 
Join Date: Nov 2007
Location: Nashville, TN
Posts: 66
Thanks: 20
nefus is on a distinguished road
Default

Lol! !!!
__________________
I am not a programmer, nor do I play one on tv.
nefus is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
TalkPHP IRC: Come and join us! Wildhoney News and Announcements 50 04-13-2013 08:14 AM
talkphp favicon file planepixel The Lounge 10 06-06-2009 10:53 AM
TalkPHP Makeover Wildhoney News and Announcements 47 12-30-2008 09:37 PM
TalkPHP Project Kalle TalkPHP Developer Team 293 12-19-2008 02:26 AM
Talkphp in 2003? Orc The Lounge 3 03-24-2008 09:20 AM


All times are GMT. The time now is 03:27 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design