• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Quick Overview

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am new to working with JForum and I am trying to troubleshoot it for a client. The forum seems to be a hack job that was form-fitted to my client's website and I am not sure what is original code and what is custom. With the lack of documentation, I am having a little trouble trying to figure out why the notification feature is not working, I am not sure if the code is broken or it isn't configured correctly. Could someone please give me a brief overview of how 'watches' and notifications work when a post to a thread occurs and possibly point me in the right direction towards fixing this problem?
[originally posted on jforum.net by amickj]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are two levels of "watching" in jForum. Forum watching and topic watching. If you are watching a forum, you will only get e-mail's for new Topics and not get the replies to a topic.

To get replies, you have to watch the topic. Then you will get notified of new topics.

Underneath this, there are forum_watch and a topic_watch tables that contain who is "watching" what. So when a user watch's a forum or topic, they get an entry in one of these tables.

When a new posting is made, part of processing it is to create a list of watching users from these tables and then call either the ForumSpammer or TopicSpammer classes.

These generate the messages and call the Spammer.dispatchMessage() method (The class they extend).

The Spammer class handles getting the config settings and setting up a standard java.mail transport session.
[originally posted on jforum.net by monroe]
reply
    Bookmark Topic Watch Topic
  • New Topic