By Ian on Wednesday, 29 January 2014
Posted in General Issues
Replies 9
Likes 0
Views 1.7K
Votes 0
Hi,

I am trying to set up Komento so that all new comments need to be approved by Super User. Once approved, I would like the Content Author to be notified of the new, approved comment.

At the moment, both Super User and the Content Author are receiving the email to approve a pending comment. How can I prevent the Content Author from receiving this email, but still allow them to receive notification of a new comment ?

I'm sure there is a solution, but I can't seem to get it to work.

Thanks

Ian
Hello,

You can prevent the author from getting the moderate notification by going to this file ..\components\com_komento\classes\comment.php at line 154


Komento::getHelper( 'Notification' )->push( 'pending', 'author,usergroups', array( 'commentId' => $this->id ) );

to this:

Komento::getHelper( 'Notification' )->push( 'pending', 'usergroups', array( 'commentId' => $this->id ) );


Hope this helps.
·
Wednesday, 29 January 2014 17:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you, that worked.

Another question. When a public user posts a comment, they are displayed as "Guest" even though I have the "Guest Label" option turned off. How can I get it to display the user's name?

Thanks.

Ian
Ian
·
Thursday, 30 January 2014 13:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Go to Komento -> Integrations -> Select Component -> Layout -> General Layout -> Guest Label
·
Saturday, 01 February 2014 10:55
·
0 Likes
·
0 Votes
·
0 Comments
·
I have the Guest Label option turned off, but it is still displaying "Guest" instead of the name.
Ian
·
Monday, 03 February 2014 14:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Referring to your site: http://www.onechurch.org.au/test14/events/item/2-conference/98-another-event-long-title

The word "Guest" may have come from the fact that the user input Guest as the name.

I've submitted a comment on that page and you can cross check if the word Guest still appears.

If it is still appearing, then please provide us your site's access and FTP access so that we can investigate this for you because I am unable to reproduce this locally.
·
Monday, 03 February 2014 14:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks.

As you can see, "Guest" is still appearing on your comment. I have attached our site and FTP details.
Ian
·
Monday, 03 February 2014 14:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

It seems like this feature has been overriden by cobalt. You will have to seek advise from the Cobalt's developer on how the name is populated.

The file that is overriding Komento's author is at : /components/com_cobalt/library/php/comments/komento/tmpl/comment/item/author.php

If you would like to revert to the original Komento behaviour, you can rename that file to something else (by adding .tmp to that file).
·
Monday, 03 February 2014 15:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks, that worked.

Appreciate your help.

Ian
Ian
·
Tuesday, 04 February 2014 06:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

You're welcome.
·
Tuesday, 04 February 2014 10:22
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post