Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: 1 2 3 4 5 [6]   Go Down

Author Topic: Mod/Hack: Adding Akismet spam-checking to Coppermine commenting  (Read 212386 times)

0 Members and 1 Guest are viewing this topic.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Mod/Hack: Adding Akismet spam-checking to Coppermine commenting
« Reply #100 on: August 16, 2010, 01:19:06 pm »

Existing spam records won't go away using this mod afaik. Only new comments posted after applying the mod will be processed by Akismet. There are instructions available how to test for yourself:
If you are having trouble triggering you can send "viagra-test-123" as the author and it will trigger a true response, always.
Alternatively, simply create a new posting with the text of 'akismet-test-123'. Any comment with this name or content will be marked as spam by the Akismet service. If this comment is also detected as spam, then everything is working perfectly. Possible values are "viagra-test-123" and "akismet-test-123" that will help you test if things are working as expected.
Logged

hlabout

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 118
    • Harald Labout Fotografie
Re: Mod/Hack: Adding Akismet spam-checking to Coppermine commenting
« Reply #101 on: August 16, 2010, 06:05:10 pm »

Joachim,

Disappear was a wrong word choice of mine.
I know it only prevents new spam in the comment field.

Half a year ago I removed the possibility of adding comments due to the frequent spam messages even with captcha installed.
I hope the Akismet mod will prevent this so I activated the comment option again.

Tested the mod as described by you, found working fine, both mentioned options where blocked..

Next step will be disabling links in the comment filed, any tips?
Thanks again for the feedback.

Harald
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Mod/Hack: Adding Akismet spam-checking to Coppermine commenting
« Reply #102 on: August 19, 2010, 07:46:16 am »

Next step will be disabling links in the comment filed, any tips?
Not related to this thread. No thread drift!
Logged

fcollingwood

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Mod/Hack: Adding Akismet spam-checking to Coppermine commenting
« Reply #103 on: December 07, 2010, 03:33:22 am »

Right, some more hacking of the gallery to take advantage of some more stupidity on the part of the spam bots.......

  • The bots don't seem to follow redirects. To take advantage of this behaviour, rename db_input.php to something else, and create a new db_input.php that just serves to 302 to the renamed script
  • The bots can't trawl a munged submission link out of the HTML. Use Javascript document.write to write the form tag

Both methods tested, humans can still post, bots can't
Logged

galacmardan

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
    • Soccer Betting Tips
Re: Mod/Hack: Adding Akismet spam-checking to Coppermine commenting
« Reply #104 on: February 26, 2011, 11:05:08 am »

Thank you for this.
Logged
Pages: 1 2 3 4 5 [6]   Go Up
 

Page created in 0.019 seconds with 21 queries.