jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => Bugs => Topic started by: mkhde on 06.05.2015 11:50:01

Title: Jcomments moderation
Post by: mkhde on 06.05.2015 11:50:01
Hey Arno,

I don't know it exactly if this is a bug from jdownloads .. But if i include j comments with activated email moderation, i get an 404 error if i want to publish the comment via the j comment email(screenshot). The comment will be puplished but on my website i get an 404 error

the link have the url " flight-simulator-x?view=viewdownload&catid=52&cid=2442#comment-1 " for an example ... it seem that the url is not corectly build up in jommla

in the old jdownloads 1.9 version the link looks so " component/jcomments/publish/27/f03da970598348b78784496af212f375 "





[gelöscht durch Administrator]
Title: Re: Jcomments moderation
Post by: ColinM on 06.05.2015 15:54:41
Hi
I have reproduced the problem.  Have added some details below but I think it is a jComments 'challenge' as they appear to heve picked up or constructed the wrong return links in the email. 

{In process of looking at this I set jComments "Enable quick moderation" to Yes.  afterwards I set it back to No.  But it still keeps saying will publish after moderation!!!  The email that is sent is correct as it has no Quick Moderation links}

When one asks for quick moderation by setting jComments "Enable quick moderation" to Yes then for publish, and also for delete and unpublish, all proceeds nicely and an email like below is sent - the italic bits have been added to refer to below, and the parts in blue are the links.

QuoteDiscuss: downloadtopA-3  Note A

#  ForemanA ( ForemanA@mysite.com, IP: ss.ee.rr.yy ) ? 2015-05-06 12:16
a second test comment
Quick moderation Publish | Delete  Note B

Note A  Link generated is below (I have changed the actual site to mysite.com).  This is the link which would, I believe, be used as the return link when jComments have completed any 'action'
<a href="http://www.mysite.com/list-all-a-categories?view=viewdownload&amp;catid=16&amp;cid=96#comment-8" target="_blank">downloadtopA-3</a>

Note B The links generated for Quick Moderation are below.  These are the jComments action links and it is evident that the actions are completed but it is the return link that is incorrect.
<a href="http://www.mysite.com/component/jcomments/publish/8/447e2e616f65243b9d927df1526a4d6b" title="Publish" target="_blank">Publish</a>
<a href="http://www.mysite.com/component/jcomments/delete/8/3aba36d324676e2f879d76edf957ff36" title="Delete" target="_blank">Delete</a>

All three links above finally result in the 404 error.  The actual link to the relevant Details page is
http://www.mysite.com/downloads/download/16-topa/96-downloadtopa-3

Note:  The email sent for Quick Moderation could be actioned several hours later.  It could be in an area that needs login by a specific User Group.   If I use the correct link as immediately above it takes me to the login page and after logging in as appropriate it proceeds correctly to the relevant download detail page.

Colin
PS {In process of looking at this I set jComments "Enable quick moderation" to Yes.  Afterwards I set it back to No.  But it still keeps saying will publish after moderation!!!  The email that is sent is correct as it has no Quick Moderation links}
Title: Re: Jcomments moderation
Post by: mkhde on 07.05.2015 13:52:26
Hey Colin

Thanks for your quick reply

The function works, if i get an error, thats not nessary ... i can puplish a comment or remove thats all what i want :)  But will ask smart, he is the devolper from jcomments because it seems that this is a jcomments bug because in k2 ihave the same issue.
Or i had made a mistake  ;D

And Greetings to arno for his great work and his free time

Markus
Title: Re: Jcomments moderation
Post by: ColinM on 07.05.2015 17:55:04
Markus
I also reproduce the problem so if it is a mistake we are both doing it!  Also I have found that once Quick Moderation is enabled it will not come off no matter what setting!

Colin