Email notification to Group on New Entry/Article

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
nadianeto
Posts: 4
Joined: Tue Jan 12, 2016 12:24 pm

Email notification to Group on New Entry/Article

Post by nadianeto »

Hello,

I've been using phpmyfaq for quite some year and a half, and its doing almost what i could ask for :P
But there's a feature that i can't seem to understand, which is, is it possible when a new Entry/Article on a Category is added, can it be notified to the Group which is associated with?
I'm not talking about New FAQ (which is on front end), nor New Question. The feature is on admin board.

I've been searching on this board, and what i see is people having problem sending emails, or refering the New Faq when only the owner or adming can receive notification email, which are not the case i'm looking for.

If my question was quite confusing, tell me to add more specific details.

Thanks in advance.
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Email notification to Group on New Entry/Article

Post by Thorsten »

Hi,

you can add a moderator group to specific categories, they will receive e-mail notifications.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
nadianeto
Posts: 4
Joined: Tue Jan 12, 2016 12:24 pm

Re: Email notification to Group on New Entry/Article

Post by nadianeto »

Hello Thorsten,

Firstly, thank you for responding.

I've done what you suggested, dunno if the procedure i made is the same as add a moderator group.

Procedure:
1 Add group xpto
2 add a user abcd1
3 edit category service1, and associate the group xpto
4 create an article and associate category=service1 and access restrit to group xpto
5 activate article and save
Result: no email notification was sent

Is this the right procedure to accomplish what you suggested?


Thanks in advance.
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Email notification to Group on New Entry/Article

Post by Thorsten »

Hi,

no e-mail at all? Do other mails are sent? Do you have an logs?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
nadianeto
Posts: 4
Joined: Tue Jan 12, 2016 12:24 pm

Re: Email notification to Group on New Entry/Article

Post by nadianeto »

Hi,

Yep, no e-mail at all on creating articles.
email works on:
- user registers on portal;
- user adds topic;
- user adds question;
- user made a comment;

The only log i know, its the one i send as attach, which is xampp sendmail debug.log :x
Not sure if theres is another log which can be more accurate.

Thanks.
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Email notification to Group on New Entry/Article

Post by Thorsten »

Hi,

which version do you use?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
nadianeto
Posts: 4
Joined: Tue Jan 12, 2016 12:24 pm

Re: Email notification to Group on New Entry/Article

Post by nadianeto »

Hello,

Sorry for late response. (cant receive notification on this board in email)

The version i'm using it: 2.8.11.
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Email notification to Group on New Entry/Article

Post by Thorsten »

Hi,

please upgrade to 2.8.26 first and test it again.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
LemurTech
Posts: 2
Joined: Wed Oct 27, 2010 7:33 pm

Re: Email notification to Group on New Entry/Article

Post by LemurTech »

I'm on 2.9.4, and the notifications to moderators does seem to be broken.

The problem seems to be with this bit, in ajaxservice.php:

Code: Select all

$groupId = $category->getModeratorGroupId($_category);
That 'getModeratorGroupId()' function is just not working. Other email notifications are working, so I know that sending mail is not the issue.
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Email notification to Group on New Entry/Article

Post by Thorsten »

Hi,

I added a bug fpr this: https://github.com/thorsten/phpMyFAQ/issues/1245

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Email notification to Group on New Entry/Article

Post by Thorsten »

Hi,

will be fixed in the upcoming 2.9.6 release.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Email notification to Group on New Entry/Article

Post by Thorsten »

Hi,

it was fixed and it worked for me. The other mail notifications are working?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply