Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Owen Hope 119 posts 140 karma points
    Aug 17, 2010 @ 22:55
    Owen Hope
    0

    Comments and Blog4Umbraco

    Hello,

    I am having some problems with the moderation of comments in my 2.0.26 install of Blog4Umbraco. This is installed on Umbraco 4.0.42.

    Currently whenever I post a comment it saves properly and everything is working fine. However if I want to go ahead and moderate that comment, there is visible way to do it in the back end. 

    On another site I worked on a comment appeared as a child node under the parent blog post node. In my installation this is not present.

    Any help on this would be great!

    Owen

  • Donald St. Martin 83 posts 128 karma points
    Aug 18, 2010 @ 04:54
    Donald St. Martin
    0

    Owen,

    Comments are added to a new table in the database that was created when Blog4Umbraco was installed.  They show up on the dashboard when you click on Content in the Content section.

    I hope this answers your question!

    --
    Donald

  • Owen Hope 119 posts 140 karma points
    Aug 23, 2010 @ 18:46
    Owen Hope
    0

    Thanks that does help clarify where they are saved. 

    However my main problem still exists. I'm wanting a email to be generated every time a new comment is added to the blog. Is there any way that I can add this feature myself? I've read (maybe it was an old installation) that every comment becomes a child node of the blog page, and if I set up "Notifications" for a publish action that I will be notified. But its not creating a new node and I need to find a new way of doing this.

    Any help would be awesome,

    Thanks,

     

    Owen

  • Martin McLarnon 2 posts 22 karma points
    Nov 09, 2010 @ 13:55
    Martin McLarnon
    0

    Hi 

    I am also having two issues with the blog.

    1. I have researched the comments not saving issues here in this forum, however I have not been able to resolve the issue. When a comment is added to a blog post it is not being added to the Comments table in the database. 

    2. I have researched the answer to the the error; Error reading XSLT file: \xslt\BlogTagcloud.xslt. However no solution has solved this problem. 

    I have ran out of time to get this fixed and need some real answers to these issues very quickly.

    Regards

    Martin

  • Allan Hawkey 232 posts 303 karma points
    Jun 10, 2011 @ 13:52
    Allan Hawkey
    0

    Hi Owen

    Did you ever find a solution to the issue of sending notification emails when a comment is added to a blog post?  I'm having the same issue now, and would be very grateful for info on any progress you've made!

    Thanks

    Allan

     

  • Nigel Wilson 939 posts 2061 karma points
    Aug 03, 2011 @ 19:55
    Nigel Wilson
    0

    Martin - probably too late to save you (with all due respect) but to solve the problem, open the TagCloud.xslt in notepad - at the end of the file is a funny square character. Remove this and save. This should either solve the problem, or at least get things moving.

    Allan - as a quick fix it would be easy enough to write a new method that sends you an email upon a successful comment being added. I would envisage adding another AJAX call to usercontrols/Blog4Umbraco/AJAXCommentForm.ascx as follows:

     

    ...
    jQuery.post(url, { author: jQuery("#commentform #author").val(), email: jQuery("#commentform #email").val(), url: jQuery("#commentform #url").val(), comment: jQuery("#commentform #comment").val() },
    function(data){
    jQuery("#commentLoading").hide();
    jQuery("#commentPosted").show().removeClass("error");

    #####Add code here to send email ######

    if(data == 0){
    ... 

     

    I did read on the codeplex site for the blog package that this is being developed so the above could be seen as a temporary solution pending an updated release of the blog package.

    If you are interested drop me a note - [email protected] - I will be looking to add this to my site over the next week or two so would happily provide the code and instructions on adding to your site.

    Regards

    Nigel 

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies