PDA

View Full Version : Default action for comments


raminia
03-25-2008, 07:08 PM
Hi

Recently I was hit by massive spam attempts so I decided to set the default comment setup for all images to be "Wait for moderation". I did set that in admin panel and just few hour later I got a spam comment appearing on my photoblog.

I have a clue that I'm not sure it's helping with bug report but the image that was hit by spam was an old one from when pixelpost doen't have moderation or spam control or default option for comment/moderation.

Dennis
03-25-2008, 08:34 PM
The setting is for new pictures uploaded after changing the settings.

Please look in the Extend section or the forum to find some code to address that problem. Or change it with some SQL code. ;)

raminia
03-26-2008, 05:52 PM
Is there any addon for that? I didn't find it. BTW, I was looking for the same thing that I did before in 1.5 RC1 to fight spam, a hasher + jscript solution. Is there an addon available that do that now? There are certain types of spams that AKISMET cannot recognize and I don't know about Defensio but I'm sure there will be Spams that can hit that as well because no general solution can be made for spam problem.

Dkozikowski
03-26-2008, 10:18 PM
Try this, it's old and needs some code cleanup but it should get the job done,

http://www.dwilkinsjr.com/public/pixelpost/myaddons/global_comment_settings_v0.3.zip

Dennis
03-27-2008, 06:17 AM
You can also try the token solution.
http://www.pixelpost.org/docs/TemplateTags/TOKEN

e300
03-28-2008, 07:03 AM
I wrote an admin addon to help mange the comment status of all posts in your blog - see http://www.pixelpost.org/forum/showthread.php?t=7156 for details.

With that addon, you can set the status of comments on all old posts very easily - it sounds exactly what you need to use to stop the spam coming in on old posts.

raminia
03-28-2008, 07:42 PM
Thank you guys. I'll go luck comments at the time being then I'll go for other solutions in the weekend.

BTW, I reported every spam in the spam list to akismet (Pressing Report Spam and not Report Spam to Akismet) and it seems that Akisment is learnt to stop my that kind of comments. Previously the spams were in the waiting list to be report, I assume. Is the "report Akismet" button really reports the spams or just send them to a waiting list to be reported? It should be the first case to be more effective when photoblog is hit by storm of spam.

Thank you again

austriaka
03-29-2008, 10:29 AM
hitting the "report Akismet" button reports it to Akismet (as the button tells you ;-)) and it should not come again. Additionally it puts it into the Akismet list where it is deleted automatically after the set amount of days to keep.
"Report spam" adds the IP address of the spammer to the blocked IP list from where you can create a .htaccess file to prevent these IP addresses from visiting your blog at all.

Dennis
03-29-2008, 01:00 PM
The latter you should have know. You're still listed as a developer :)

raminia
03-31-2008, 04:09 AM
the funny thing is that I personally wrote "report as spam" that creates tha .htaccess content.
:D

Anyhow, I have no more spam at time being.

Naco
10-09-2008, 06:57 PM
Hi Everebody,
Can somebody tell me why all my comments are posted instantly even though under Option/Global Comment Setting I selected “to moderation queue”?

Thanks,
NACO

dhdesign
10-09-2008, 07:22 PM
Naco -

Changing the Global Comment Setting to "moderation queue" only affects images uploaded after that change is made. Images already in your photoblog will still have the setting for "Publish Instantly", if that is what you had in place at the time they were uploaded.

If you need to edit the settings for existing images, you might take a look at using this addon to accomplish that:
http://www.dwilkinsjr.com/public/pixelpost/myaddons/global_comment_settings_v0.3.zip

Naco
10-09-2008, 09:24 PM
Thanks for your comment dhdesign. Any idea where I find the .htaccess. Is this a text file where I can paste the spam codes?

Thanks,
Naco

dhdesign
10-09-2008, 11:41 PM
Open a plain text editor, such as Notepad, and paste the generated code into a new file. Save that with the filename .htaccess, and upload it to the root directory of your Pixelpost install. You might have to tell your FTP client to show hidden files, as some of them won't show the .htaccess file because of the dot at the beginning of the name.

Naco
10-10-2008, 04:15 PM
Hi, dhdesign. I used the suggested add-on (comments global settings) and I believe it would at least discourage the spam if not stop it. After all what's the point of spamming stupid ads if nobody see them?

I believe it will work.
Thanks again