ryan Posted August 20, 2012 Share Posted August 20, 2012 This module installs a page on your Setup menu in the admin where you can manage comments (assuming you have a comments field installed). Download from the modules directory at: http://modules.processwire.com/modules/process-latest-comments/ Features include: Easily find the latest comments needing approval or moderation. Shows comments from all pages on 1 screen, paginated and in chronological order. Enables you to change the status of any comment, edit the text or delete. Filtering by status/type, cite, email or IP address Screenshot: I've been wanting to build this for a long time, and something like this should have been there from the beginning, as it's a bit tedious to keep track of all your comments on a large site without this. So this module may be moved into the core for version 2.3, in which case it'll be renamed to ProcessComments, so as not to conflict with those that may have this installed. 11 Link to comment Share on other sites More sharing options...
Gazley Posted August 20, 2012 Share Posted August 20, 2012 Nice one Ryan - PW just keeps on getting better! 2 Link to comment Share on other sites More sharing options...
Wanze Posted August 20, 2012 Share Posted August 20, 2012 Yeeeees! Thank you Ryan Now just hoping to get some projects I can build with ProcessWire...! 1 Link to comment Share on other sites More sharing options...
Pete Posted August 20, 2012 Share Posted August 20, 2012 Your timing is beginning to get spooky lately ryan as I may need this on a project as soon as tomorrow! Get out of my head! Link to comment Share on other sites More sharing options...
biotech Posted August 20, 2012 Share Posted August 20, 2012 Sweet, just as I was playing with Blog profile thinking how we need this and...here it is I did notice a small alignment issue with the top/latest comment. Thanks again. Link to comment Share on other sites More sharing options...
renobird Posted August 21, 2012 Share Posted August 21, 2012 Saaah-weeeet! This is a much needed addition — thanks Ryan! Link to comment Share on other sites More sharing options...
ryan Posted August 21, 2012 Author Share Posted August 21, 2012 Thanks Biotech, I have fixed this now and it's in the current source. Turns out it only does that in Firefox, but the fix was easy (CSS: clear: both;) Link to comment Share on other sites More sharing options...
biotech Posted August 21, 2012 Share Posted August 21, 2012 Thanks Ryan, I should have said that I only tested it in FF...got too excited Link to comment Share on other sites More sharing options...
Lars282 Posted August 24, 2012 Share Posted August 24, 2012 I had previously built a page displaying links to all the pages with pending comments, but this is much nicer to use. Thanks! Link to comment Share on other sites More sharing options...
Mats Posted October 7, 2012 Share Posted October 7, 2012 When translating "Approved", "Pending" and "Spam" the filtering links stops working. A bit OT: Will the FieldtypeComments modules become translatable? Link to comment Share on other sites More sharing options...
ryan Posted October 7, 2012 Author Share Posted October 7, 2012 When translating "Approved", "Pending" and "Spam" the filtering links stops working. Are you sure you have the latest version? I recall this problem in an earlier version, but thought I fixed it. A bit OT: Will the FieldtypeComments modules become translatable? The FieldtypeComments modules already are translatable? Though the translation phrases are not actually in the module file. They are in: /wire/modules/Fieldtype/FieldtypeComments/CommentForm.php /wire/modules/Fieldtype/FieldtypeComments/CommentList.php Though let me know if you've found some phrases I'm missing and I'll be glad to make them translatable. 1 Link to comment Share on other sites More sharing options...
Mats Posted October 7, 2012 Share Posted October 7, 2012 I have the latest release from Github and the problem persists. The phrases that are missing (i can't find them anyway) for the processlatestcommentsmodule: "Comments Manager" "Manage all comments field data in chronological order. Provides a simpler interface for managing comments vs. the page-based comment editor." Here are some other phrases missing: https://github.com/ryancramerdesign/ProcessWire/blob/master/wire/modules/Fieldtype/FieldtypeComments/InputfieldCommentsAdmin.module#L60 https://github.com/ryancramerdesign/ProcessWire/blob/master/wire/modules/Fieldtype/FieldtypeComments/InputfieldCommentsAdmin.module#L60 https://github.com/ryancramerdesign/ProcessWire/blob/master/wire/modules/Fieldtype/FieldtypeComments/InputfieldCommentsAdmin.module#L88 I translated the files in your post, but they doesn't seem to translate the comments fields on the pages with comments. Also the encoding for the å,ä,ö characters seems wrong. Thanks! Link to comment Share on other sites More sharing options...
ryan Posted October 8, 2012 Author Share Posted October 8, 2012 I have the latest release from Github and the problem persists.The phrases that are missing (i can't find them anyway) for the processlatestcommentsmodule: "Comments Manager" "Manage all comments field data in chronological order. Provides a simpler interface for managing comments vs. the page-based comment editor." This is not part of FieldtypeComments, this is a 3rd party module (though it's one of my 3rd party modules). I'll make it translatable before it's out of beta. https://github.com/r...dmin.module#L60https://github.com/r...dmin.module#L60 https://github.com/r...dmin.module#L88 Now these ones are part of the core FieldtypeComments module. Looks like I missed these before -- I will update. I translated the files in your post, but they doesn't seem to translate the comments fields on the pages with comments. Also the encoding for the å,ä,ö characters seems wrong. Make sure your site is outputting in UTF-8. If your server is overriding to some other character set, you may need to add this meta tag in your <head> in your markup: <meta http-equiv="content-type" content="text/html; charset=utf-8" /> Link to comment Share on other sites More sharing options...
Mats Posted October 8, 2012 Share Posted October 8, 2012 Thanks! I have UTF-8 in the head tag, the å,ä,ö characters works everywhere else. Link to comment Share on other sites More sharing options...
Mats Posted October 20, 2012 Share Posted October 20, 2012 Ryan, it's on the admin side the å,ä,ö characters doesn't work. Sorry, wasn't clear enough. Another thing i noticed is that on a reload of successful comment the same comment is added again. (Maybe this should be moved to the comments module thread?) Edit: In the comments manager the characters works, but in the comments field they don't. Link to comment Share on other sites More sharing options...
ryan Posted October 22, 2012 Author Share Posted October 22, 2012 I'm still a little confused. I can't duplicate any issues with the å,ä,ö characters you mentioned, as they are showing up correctly whether I go to the comments manager, the page-editor comments field or the front-end. However, in checking this I did notice a problem in the page-editor comments field in that it wouldn't let me open/close the comments by clicking their header. I went ahead and fixed that and pushed an update. But I'm thinking this isn't what you were talking about? If not, can you try posting a comment at the bottom of this page, containing an example phrase, and then tell me where to look to observe the problem? I'll keep an eye out for your comment. Or a screenshot might work too. Link to comment Share on other sites More sharing options...
Mats Posted October 22, 2012 Share Posted October 22, 2012 I posted a comment on the module page. At the bottom it says åäö ÅÄÖ. Image attached so you can se the encoding in "my" admin. Thanks for looking in to this! EDIT: Added another image for clarity. 1 Link to comment Share on other sites More sharing options...
ryan Posted October 24, 2012 Author Share Posted October 24, 2012 Thanks for posting those, the screenshots answered it. Looks like I had an htmlentities() call without the 'UTF-8' in it for that header cite line. This has been fixed and committed to the source. 2 Link to comment Share on other sites More sharing options...
Mats Posted October 24, 2012 Share Posted October 24, 2012 Thank you Ryan! Link to comment Share on other sites More sharing options...
antknight Posted November 20, 2012 Share Posted November 20, 2012 Just a question, how would we give clients access to the Comments Manager without giving acces to the other items in Setup (Templates and Fields)? Link to comment Share on other sites More sharing options...
diogo Posted November 21, 2012 Share Posted November 21, 2012 Before you couldn't, and I would advise you to put the comments field on a tab, and all the others on another tab, so that they would be hidden from the user by default. But now there is this http://processwire.c...ld +permissions Edit: I completely misunderstood your question... Link to comment Share on other sites More sharing options...
ryan Posted November 21, 2012 Author Share Posted November 21, 2012 For the Comments Manager (ProcessLatestComments) you could also drag its page out of the 'setup' menu and into the admin root. I actually kind of prefer the comments manager at the admin root level anyway, so that's what I've been doing here already. If the user doesn't have access to Fields/Templates then they shouldn't see the Setup menu anymore, once you get the Comments out of there. Link to comment Share on other sites More sharing options...
antknight Posted November 21, 2012 Share Posted November 21, 2012 Wow this thing is powerful...I feel giddy 1 Link to comment Share on other sites More sharing options...
encho Posted November 26, 2012 Share Posted November 26, 2012 Thank you for this module, very useful. I have imported comments from my old website to pw (through MySQL script into field_comments table) and for some reason I can not approve/delete any of the new ones I post, the 'save' doesn't do anything. But this module sorts the things out, well done. Link to comment Share on other sites More sharing options...
antknight Posted December 5, 2012 Share Posted December 5, 2012 One thing that would be useful would be the ability to filter by page 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