Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.
If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
You may also want to review the installation or upgrading documentation.
Hi mojo folks
After successfully upgrading to 3.1.2.0 MSSQL I'm seeing odd behaviour in the Blog module regarding comments.
All published posts have "Allow comments for" set to "Unlimited".
On posts with no comments already, nothing appears below the post (or below the Previous / Next Post links). This div element is on the page, but empty:
ctl00_mainContent_BlogView1_InternalCommentSystem_divCommentService
On posts with at least one comment, the Comments section (with the comments) appears, including a "New comment" editor with "Submit" button. However the Submit button does nothing - it does a round trip and reloads the page but doesn't submit the comment.
In Site Settings > API Keys I have no keys in place for Intense Debate, Disqus or Facebook, so I'm expecting the internal comments system to work - I think!
Any help appreciated!
Ok I've worked out one part of this... the commenting control was not appearing on recent posts because the Comment System was set to Disqus in the Blog settings. For each post this appears to remember what it was set to at the time of posting.
I've now set this to Internal. The commenting control now appears on new posts, however the Submit button still doesn't post the comment.
Hi Crispin,
Thank you for the report. Did you have Disqus turned on intentionally in the past?
Thanks, Joe
I'm not sure actually. I have lots of past comments from the internal comment system, but might have tried out Disqus at some point.
Incidentally, editing an existing comment (CommentDialog.aspx) does work, though the dialog iframe doesn't close on Submit. However creating a new comment does not.
I've tested this in another site - same result.
Also, noticed in passing that this setting does nothing: "Show Web Site Url in Comments?". Setting this to true doesn't show an additional control. (This setting does do what it says "Allow Comment Titles?".) However I cannot find any combination of settings that allows the comment to actually save, and there's nothing in the System Log.
And another thing!... "Show Author Name?:" appears not to do anything.
The problem seems to be that Blog.AddBlogComment requires values for title and url, as well as comment, for the comment to save. If these are not present it fails silently, as observed. But this code has not changed in this respect for ages, and saving comments used to work. Maybe the form used to supply default values for these properties?
mojoPortal Hosting & Design @ i7MEDIA!
Crispen,
Good news, I found the issue you are having and fixed it.
The fix will be in the shortly upcoming release.
Thanks,
Elijah
That's great news, thanks Elijah. I see this new 3.1.6 release in GitHub: https://github.com/i7MEDIA/mojoportal/releases/tag/v3.1.6
Is this recommended and ready to use?
Crispin
Yes. It's ready to be used. We added a blog post about it as well.
I can confirm this upgrade has fixed blog commenting - thanks guys, keep up the good work!