Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
3 - 1 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

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

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.
Re: CBB: Email notification not going out to Moderator
by ghia on 2010/6/28 15:58:11

What did you already got?

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

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
Re: CBB: Email notification not going out to Moderator
by lintu on 2010/5/23 5:02:43

Thanks for your response! I will try to make the change that you suggested.
Re: CBB: Email notification not going out to Moderator
by ghia on 2010/5/22 19:23:48

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.

Who's Online

183 user(s) are online (153 user(s) are browsing Support Forums)


Members: 0


Guests: 183


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits