View Full Version : Unable to comment if...
weeand
12-07-2007, 08:27 PM
you put a website url in the comment lines.
After upgrading all went well. Also commenting. But since yesterday I get an error page when someone puts his/her website url in the right comment line. I you leave it out everything is fine. I get this message:
Not Found
The comment could not be accepted because it got flagged as SPAM by our anti-SPAM measures. (ERR: 05).
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Click here to go BACK
What went wrong? Can someone enlighten me?
dhdesign
12-07-2007, 11:57 PM
Read this thread (http://pixelpost.myd3.com/forum/showthread.php?p=52010#post52010) from the Dennis' post on page 2 (#17) to the end - probably the solution listed (replacing function-comments.php with the latest version from SVN) will resolve your problem.
weeand
12-08-2007, 08:39 AM
Read this thread (http://pixelpost.myd3.com/forum/showthread.php?p=52010#post52010) from the Dennis' post on page 2 (#17) to the end - probably the solution listed (replacing function-comments.php with the latest version from SVN) will resolve your problem.
Thnx very much. This did the trick.
-okapi-
12-17-2007, 10:29 AM
I have exactly the same problem as weeand described above, and I did what is decribed in that thread dhdesign had linked to. unfortunately that didn't work for me. I'm getting the same error message: Not Found
The comment could not be accepted because it got flagged as SPAM by our anti-SPAM measures (ERR: 01).
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
As i am working on a remake of my site using pixelpost again, any help would be very much appreciated!
Thank you!
Michael
dhdesign
12-17-2007, 10:40 AM
Which version of Pixelpost are you using? The solution I listed is for version 1.7RC1.
austriaka
12-17-2007, 11:35 AM
Michael, you should use v1.7 RC for using the function_comments.php of the developper version. You can also use the whole v1.7 dev version, it is as good as stable right now.
If the error still persists, go and check your spam protection settings (within the Option page of the Admin panel). Perhaps you have set the maximum allowed number of URLs in comments to zero?
KArin
-okapi-
12-17-2007, 02:15 PM
thank you very much for your quick help, karin!
I'm using version 1.7 RC1. (is this the latest dev version?)
the maximum allowed number of URLs in comments is set to 5.
it seems that the problem is the <TOKEN> tag. i disabled that functionality via the admin panel, now comments do work with all templates that come with the installation.
but so far i have no luck with customizing the comments page. it seems that it cannot be done without javascript...? (sorry, that's a little bit off topic.)
michael
Dennis
12-17-2007, 02:49 PM
The error you saw is indeed linked to the TOKEN. Your comment form doesn't have a <TOKEN> tag in it.
Secondly: have a look at this addon: http://www.schonhose.nl/pixelpost-addons/comments/
-okapi-
12-17-2007, 04:55 PM
Secondly: have a look at this addon: http://www.schonhose.nl/pixelpost-addons/comments/
thank you for the link, dennis. it's interesting, i'll try this out. maybe it is what i'm looking for.
at the moment i'm wondering how to get comments working without javascript. sorry, if that's a silly question, but it seems that all available templates do that with js.
i remember using version 1.5, where i had the comments on a page, called by index.php?x=comment. this doesn't seem to work anymore. all i get is a comments page with fields filled with <VINFO_NAME> <VINFO_URL> <VINFO_EMAIL>. a test comment causes the error message as described above.
do comments actually work without javascript?
michael
Dennis
12-18-2007, 05:58 AM
yes. My site doesn't use javascript and uses the index.php?x=comment method. Default templates with the install also uses these methods.
-okapi-
12-18-2007, 08:13 AM
yes. My site doesn't use javascript and uses the index.php?x=comment method. Default templates with the install also uses these methods.
dennis, regarding your photoblog (http://foto.schonhose.nl), actually this is not true for me, your site is full of javascript code, and also the comments button ("REAGEER") works with javascript. (onclick="addcommentHeight.toggle();PauseForm();" ) i cannot find a php command "index.php?x=comment" there.
btw, if you turn off js, you cannot see the photo anymore.
what i want to have is a new page (comment_template.html) to open for commenting.
michael
dhdesign
12-18-2007, 11:02 AM
If you want the comment form (comment_template.html) to open in a new window, then you need to use the tag <COMMENT_POPUP> in image_template.html where you want the "add comment" link to appear.
austriaka
12-18-2007, 11:32 AM
<COMMENT_POPUP> opens the comment form in a JavaScript popup window.
You can achieve a really new window for comments by using the link index.php?showimage=<IMAGE_ID>&popup=comment
So you were right, it is not x=comment but popup=comment in the URL.
See it working in my blog!
-okapi-
12-18-2007, 11:44 AM
thank you, dhdesign, that works fine, but i don't want the comment form to open up in a new window, but in the same window, just as a new page. besides, with the popup, the redirection page, after successful commenting, takes to back to the comment form, not to the image!
for the moment, i got really stuck with that comment function:
"index.php?x=comment" doesn't work, <COMMENT_POPUP> opens a new window (nomen est omen), which must be closed manually, which is not what i want...
austriaka
12-18-2007, 11:52 AM
you should read all your replies ;-)
use index.php?popup=comment&showimage=<IMAGE_ID>
-okapi-
12-18-2007, 12:00 PM
<COMMENT_POPUP> opens the comment form in a JavaScript popup window.
You can achieve a really new window for comments by using the link index.php?showimage=<IMAGE_ID>&popup=comment
So you were right, it is not x=comment but popup=comment in the URL.
See it working in my blog!
thank you austriaka, you made my day!
that's exactly what i wanted. just a question, is this documented somewhere? sorry if i have overlooked it.
just one problem is left: after commenting one gets redirected to the comment form, not to the image... how could this be tweaked? ;)
your'e right, your photoblog is an excellent example for what can be done with the comments function. it was only yesterday when i tried the link, but i couldn't get any connection.
thank you very much for the help!
michael
austriaka
12-18-2007, 12:22 PM
hm, I am afraid it is not documented. You can only guess it if you use the popup link and watch out the URL where it points to.
Yes, the redirection redirects you to the page you were before (what I think is important so you can see the success of your comment).
You can only suppress the thank you page by adding this line within the comment form:
<input type='hidden' name='withthankyou' value='no' />
With that, the commenter is redirected directly to comment page, without the thank you message.
The other possibility is to include the whole comment thing into the image page. Then you will be redirected to the image page after commenting.
-okapi-
12-18-2007, 01:11 PM
again you helped me very much, karin, thank you!
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.