1
lintu
CBB: Email notification not going out to Moderator
  • 2010/5/21 17:42

  • lintu

  • Not too shy to talk

  • Posts: 103

  • Since: 2005/9/18


Hi Folks,

I need a little bit of help. I have installed CBB 3.08 on my site and have setup a user as the moderator. New post require moderator approval before being published. I logged in as a test user and submitted a new post, but no email notification was sent to the moderator for approval. How can I resolve this issue?

Email notfications from other areas of the site are working properly and the moderator email address is correct.

Thanks in advance for your help.

2
ghia
Re: CBB: Email notification not going out to Moderator
  • 2010/5/22 19:23

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


I think that function is not provided. AFAIK there is only notification for approved posts.

To have this, you could add some notifications in post.php for the non approved case.
The destinators for it must be limited. You don't want to sent out notifications to all subscribed users that can't access these posts. There is a user_list parameter in the TriggerEvent function of /kernel/notification.php You can fill this list with the getModerators function of the forum object of /modules/newbb/class/forum.php.


3
lintu
Re: CBB: Email notification not going out to Moderator
  • 2010/5/23 5:02

  • lintu

  • Not too shy to talk

  • Posts: 103

  • Since: 2005/9/18


Thanks for your response! I will try to make the change that you suggested.

4
lintu
Re: CBB: Email notification not going out to Moderator
  • 2010/6/28 4:07

  • lintu

  • Not too shy to talk

  • Posts: 103

  • Since: 2005/9/18


Hi Ghia,

I spent some time trying to add the moderator notification as you suggested, but couldn't get it to work. Would it possible for you to give some code snippet?

Also, I noticed that there is a bug with the user 'new post added' notification if the moderator approval is turned on. After the moderator approves a post, no notification is going out to those who subscribed to new posts alert.

Please help! Thanks.

Abu

5
ghia
Re: CBB: Email notification not going out to Moderator
  • 2010/6/28 15:58

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


What did you already got?


6
lintu
Re: CBB: Email notification not going out to Moderator
  • 2010/6/28 17:57

  • lintu

  • Not too shy to talk

  • Posts: 103

  • Since: 2005/9/18


I did not get far. I did the following:

1. Added an entry on the XOOPSNotification table to receive the moderator notification.
2. Added an email template for moderator notification.
3. Modified post.php for sending alerts for the non approved case.

I also tried to modify viewpost.php, so that a notification goes out to all who subcribed to 'new post' alert when the moderator approves a post.

I don't have much experinece with PHP. So, have a bit of a learning curve here.

Thanks for all your help.

Login

Who's Online

276 user(s) are online (161 user(s) are browsing Support Forums)


Members: 0


Guests: 276


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits