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 08-19-2009, 09:46 AM   #1 (permalink)
The Wanderer
 
Join Date: Aug 2009
Posts: 15
Thanks: 11
tearsofthesun is on a distinguished road
Default PM system notify NEW PM

Functions for unread PM. i found a tutorial on the web for my PM system. the only problem is it doesn't notify my users whenever they have New Pm. can someone give me a function they use? something like this site here is really nice.
tearsofthesun is offline  
Reply With Quote
Old 08-19-2009, 10:08 AM   #2 (permalink)
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

At the same time you're inserting the PM that is being sent, into the DB, just run a function that notifies the affected user. It's really quite simple. Depends just how you want to notify, via email is very simple. Via the website is a bit harder, but still quite easy.
__________________
Tanax is offline  
Reply With Quote
Old 08-19-2009, 10:09 AM   #3 (permalink)
The Wanderer
 
Join Date: Aug 2009
Posts: 15
Thanks: 11
tearsofthesun is on a distinguished road
Default

Do you know where i can find a tutorial on this? or a script. thanks for the reply!
tearsofthesun is offline  
Reply With Quote
Old 08-19-2009, 03:04 PM   #4 (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

Quote:
Originally Posted by tearsofthesun View Post
Do you know where i can find a tutorial on this? or a script. thanks for the reply!
Look into cron jobs.
__________________

Village Idiot is offline  
Reply With Quote
Old 08-19-2009, 03:13 PM   #5 (permalink)
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

Quote:
Originally Posted by Village Idiot View Post
Look into cron jobs.
He doesn't need crons for this. He can just store notifications in a table, and when he inserts a new PM into the db, he inserts a new notification. On all pages he then fetches the user's notifications and alerts them.
__________________
Tanax 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
Pagelite Pagination System ioan1k Show Off 3 01-29-2013 12:40 PM
Freelance Suite: Client & Project Management Software CLCook Show Off 2 09-14-2008 10:50 AM
PHP Remote Plugins System Clooth Advanced PHP Programming 1 04-24-2008 08:37 PM
Plugin System freenity Advanced PHP Programming 12 04-01-2008 08:15 PM
Designing a tagging system Alan @ CIT Advanced PHP Programming 4 03-10-2008 03:25 PM


All times are GMT. The time now is 04:39 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