Forum Home
Welcome to pyForum.org.
A message board system written in pure python using the web2py framework.
Download pyForum (v1.0.3): pyForum_1-0-3.tgz.
Anonymous Users - Change Forum Language To: Deutsch | English | Español
How forum and topic notifications work
By: speedbird
Rank: Starfleet Lieutenant
Postings: 61
From: Camas, Washington
Posted: Sat, 29 August, 2009 - 05:27 PM

As a registered user, you can "subscribe" to topics, or even entire forums, if you subscribe to a forum, every time that a topic is updated, or a new topic is created inside the subscribed forum, a notification will be sent to the email on file. The same goes for a topic-only subscription, you will be notified when a topic for which you have a subscription is updated.

Under the hood.

When a topic or forum is created or updated, the forum system internally "scans" and finds those users that are subscribed to either the topic or the topic container (forum), then it creates a record into a queue table. The forum system does not send out an email since notifying all users could potentially slow thing to a crawl. An internal script (python of course) exists in your application installation that is triggered via a cron job (either using web2py's embedded cron job or using the standard Linux crond daemon), the forum administrator decides how "often" this script should run, pyForum currently uses a 5-min wait between scans, a range between 5 and 10 minutes is generally acceptable, however for more sensitive instances, you could potentially trigger the script every time there is an addition or update.

-- sb

This topic contains no responses.

Welcome
Username:
Password:
 
Quick Search:
System Announcements
Latest Posts