Schwab Posted October 3, 2020 Share Posted October 3, 2020 For comments you can enable an admin notification email. That works for me. What's not working are the actions, that come with the email. Namely Approve a comment or Disable Notifications. I have a fresh install of 3.0.165. The unsub link parameter looks ok like: ?comment_success=unsub&subcode=3c1Kl3U8vleTFQ4pjpC_sIwLrqqK9VAUsspaaLlD The approval link looks like: ?field=comments&page_id=1597&code=msmoOqZ5cQhmmarWOzCIjSx1C3ICY8HUDVDaR29VlrnelCJeypmGzOG26nM7FJ_9VfqnTqbEORol4dmjjnHcLD9zT4HoQThVokY4N6ST5K2SDm_TpmyY8uZFR_zcsFxC&comment_success=approve The problem is none of the actions work for me. There is no error anywhere in the logs though, so I'm blind. Does anyone have any insight on this? It seems like I only can change the comment notification directly in the database now. Link to comment Share on other sites More sharing options...
Schwab Posted October 4, 2020 Author Share Posted October 4, 2020 Update The problem seems to occur only with the UIKit install profile. When I include the form with the normal <?php echo $page->comments->renderAll(); ?> it works. The comment section with echo ukComments($comments); and echo ukCommentForm($comments); have the problem. Link to comment Share on other sites More sharing options...
Schwab Posted October 4, 2020 Author Share Posted October 4, 2020 Solution The problem was that the function renderCheckActions() was not triggered by the ukComments function. I put in following solution and it works for me: $commentList = new Commentlist($comments); $out = $commentList->renderCheckActions(); Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now