ryan

Quick guide to the comments system

Recommended Posts

Hi!

 

I tried to enable mail notification for users (guests), enabled "Allow commenter e-mail notifications":

image.thumb.png.cb62ae107a9b8b61f782388508c088cf.png

The option shows up on the page:

image.png.aa32f2e187e13d962bb07159f04777fc.png

But no e-mails are being sent. Is there something else I need to do?

Other mail notifications, like the admin notification for comments, are working just fine, so it's not a general e-mail issue.

 

Any help is appreciated.

 

//Jasper

 

 

Share this post


Link to post
Share on other sites

And another small issue, after submitting a comment, the "waiting for approval message" shows, but even the form.
Shouldn't the form be hidden when the GET variable "comment_success" is present?

//Jasper

Share this post


Link to post
Share on other sites

Hi!

a loggedin user has access to ony specific page.
this page has th following structure:

- Part 1 ( template part )

  - subpart 1a ( template subpart )
  - subpart 1b ( template subpart )
  - subpart 1c ( template subpart )

- Part 2 ( template part )

  - subpart 2a ( template subpart )
  - subpart 2b ( template subpart )
  - subpart 2c ( template subpart )

- Part 3 ( template part )

  - subpart 3a ( template subpart )
  - subpart 3b ( template subpart )
  - subpart 3c ( template subpart )

the comments - field is implemted in the template "subpart".

Now i want to have the possibility to make specific comments to each subpart - entry. It would be just perfect to store every specific comment-threat that belongs to it's subpart-entry! The field name & e-mail address should be already filled with the data from the logged in user ( users name / users mail address ).

is this possible to manage?!
Many Thanks!

Share this post


Link to post
Share on other sites

Hello @ all,

I have no idea, but approval via email does not work in my case. Here are all my get variables that will be submitted by clicking the link in the email:

code    gKB6jlhWTowUeahUNX6OWWvBYBxYf1D41I5LZb4ws1YsA73jmk7sQeOoU1QAy4L6f1IAnmaSKXRjINOtGFDKO92e10Y5IuTzmuHOwkGI8bWtcXaIGstDB_xzq9hhwvZx
comment_success    approve
field    comments
page_id    2006

As you can see all parameters are there.

As far as I know the file CommentNotifications.php is responsible to save the new status "approved" after clicking the link, but in my case nothing changes and I do not get any message on the frontend. Tracy does not complain about anything so I dont know how to check where the problem is.

Is there someone who could give me a hint to check out whats going on after clicking the link to find out the problem.

Best regards

 

EDIT:

Ok, I see! This doesnt work if the comments were not rendered with the render function. So using your own markup to output comments inside a foreach prevents the status change after clicking the approval link.

Solution: Copy the whole Fieldtype comments directory in site/modules and make all the markup changes there. Load comment form and list via the render function and everything is fine.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.