Copied to clipboard

Flag this post as spam?

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


  • Atul Kumar 1 post 71 karma points
    Aug 18, 2015 @ 11:26
    Atul Kumar
    0

    Smart Blog Management Dashboard issue with unpublished comments

    Hi Luke,

    Thanks for the great package.

    There is some issue with the dashboard it throws errors if you have some comments for approval.

     <td><%# getPropertyValue(Convert.ToInt32(Eval("id")), "smartBlogName")%></td>
                                <td><%# getPropertyValue(Convert.ToInt32(Eval("id")), "smartBlogComment")%></td>
                                <td><%# getPost(Convert.ToInt32(Eval("id"))).GetProperty("smartBlogTitle").Value %></td>
    

    above three lines are creating error in "smartBlogManagement.ascx" the method is failing to load the unpublished comments.

    I have fixed it with :

    <td><%# uQuery.GetDocument(Int32.Parse(Eval("id").ToString())).getProperty("smartBlogName").Value%></td>
                                <td><%# uQuery.GetDocument(Int32.Parse(Eval("id").ToString())).getProperty("smartBlogComment").Value%></td>
                                <td><%# uQuery.GetDocument(uQuery.GetDocument(Int32.Parse(Eval("id").ToString())).Parent.Id).getProperty("smartBlogTitle").Value%></td>
    

    but there is one more issue in dashboard, if you check the "Email commenter on approval: " checkbox, when admin approve the comments it does not follow the check(does not send email to users).

    I can not update it as I do not have the source code. It Will be grateful if you can provide.

    Thanks

  • Christopher J. McClellan 9 posts 39 karma points
    Jan 21, 2016 @ 20:35
    Christopher J. McClellan
    0

    I'm getting a similar error right out of the box. I can't get to any of the features.

    Line 33: Line 34: Line 35: <%# getPropertyValue(Convert.ToInt32(Eval("id")), "smartBlogName")%> Line 36: <%# getPropertyValue(Convert.ToInt32(Eval("id")), "smartBlogComment")%> Line 37: <%# getPost(Convert.ToInt32(Eval("id"))).GetProperty("smartBlogTitle").Value %>

    This is happening in Umbraco 7.3.4. Has anyone found a workaround or fix for this. Or, will this package not work in this version?

  • Adrian Ursu 20 posts 51 karma points
    Mar 28, 2016 @ 15:13
    Adrian Ursu
    0

    I am having the same issue with the Dashboard. Any help would be appreciated. Thanks, Adrian

  • Marcus Townsend 6 posts 76 karma points
    Feb 08, 2017 @ 02:52
    Marcus Townsend
    0

    Having the same problem also, Has anyone resolved the issue?

  • Hina Patel 3 posts 73 karma points notactivated
    Feb 11, 2020 @ 12:05
    Hina Patel
    0

    Having the same issue with unpublished comments on Smart Blog Management Dashboard, Any one having any solution

Please Sign in or register to post replies

Write your reply to:

Draft