Buy Now
Sign in

admin notification suggestions (v1.2)

ebenblues , December 04 2008
e
ebenblues

This component is almost exactly what I need for a site I'm working on. It's simple to use and doesn't feel heavy and bloated like some other comment extensions. There are a few features I'd like to have that don't seem to be there yet:

I'd like to be able to set it up so when a user submits a comment, it's unpublished by default (this feature is there), but the admin receives an email that includes the comment text in it and can click a link in the email to approve (publish) the comment. Also, I'd like it if the admin could see the the unpublished comments on the comment page and publish them from the frontend.

So far I haven't found any way to do this. Is this in plan for the next release? If not, I can also try to make these changes and submit a patch.

Great work!

admin

Hi ebenblues,

The feature is available, enable and configure the "verification email" settings in the parameters!

Regards
Max

Max
If your main question got answered then please mark the answer using the button!

e
ebenblues

Yes, I know admin notification exists. I'm suggesting some enhancements to it:

Add the following to the admin notification email:

1. {commentname} - replaced with name of commenter.
2. {commentemail} - replaced with email of commenter.
3. {commenttext} - replaced with text of comment.
4. {approvelink} - replaced with link that will automatically change the status of the comment to publish.

My other feature request is to make unpublished comments visible to an admin on the frontend so they can choose to publish them.

Hope that made more sense than my last post. Thanks!

admin

My other feature request is to make unpublished comments visible to an admin on the frontend so they can choose to publish them.



Hi ebenblues,

the above feature may be needed yes, but what you need is there, there are 2 emails, Admin notification and there is a verification email! you need to use the verification email! ;)

Regards
Max

Max
If your main question got answered then please mark the answer using the button!

e
ebenblues

admin:

the above feature may be needed yes, but what you need is there, there are 2 emails, Admin notification and there is a verification email! you need to use the verification email! ;)


Thanks for the reply, but again, I don't think you understand what I'm requesting. The current verification email feature sends an email to the person who posted the comment asking for verification. I want the option to have all verification emails sent to an admin (NOT the original poster). The admin can read the text of the comment in the email and then approve it via a link provided in the email. Anyway, I'm pretty sure this feature doesn't exist, so I'll write it and post a patch in this thread.

Thanks!

admin

well yes, I got you now!! :) sorry for misunderstanding it first!

Regards
Max

Max
If your main question got answered then please mark the answer using the button!

t
trip

Hi Max
I would like to know if any of these features have been implemented or will be implemented into the system

having the email contain the comments is very important for the admin, especially if the site is a high volumn site.

clicking on a link just to check the comment wastes time...

please let me know if this can be worked on in anyway?

regards
TriP

admin

Hi Trip,

no updates since that post, they will come shortly though, I was busy at the new year start then busy with the new Chronoforms release!

if you are in rush then this feature can be done with a simple hack to the components/com_chronocomments/chronocomments.php file, I'm sure you can do it if you made a look there, assuming you have a fair PHP knowledge ?

Cheers
Max

Max
If your main question got answered then please mark the answer using the button!

k
kanon

HI,

ebenblues:

Add the following to the admin notification email:
1. {commentname} - replaced with name of commenter.
2. {commentemail} - replaced with email of commenter.
3. {commenttext} - replaced with text of comment.



you can do no.1~3 by a simple hack,
in root/components/com_chronocomments/chronocomments.php

after this line :
				// send admin notification email
'{sitename}' => $mainframe->getCfg('sitename'),

add:
				'{name}' => $post['name'],
'{email}' => $post['email'],
'{url}' => $post['url'],
'{text}' => $post['text'],


You can use "{name}{email}{url}{text}" in admin notification email.
ex.
{sitename}
---------------------------------
Commenter:{name}
E-mail:{email}
SiteURL:{url}
Comment:{text}
---------------------------------
You can see Comment this link.
{commentlink}

ciao
Kanon :wink:

r
rgoncalves

Really nice and simple hack
I’ll include it in my installation :)

As for being able to see unpublished comments in the frontend and being able to moderate them, please have a look at this forum http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=18&t=13798