• [MOD] Anti-Spam v1.0 for Guestbook & Comments 5 0 5 1
Currently:  

Author Topic: [MOD] Anti-Spam v1.0 for Guestbook & Comments  (Read 182647 times)

0 Members and 1 Guest are viewing this topic.

Offline fiskedagboken

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • Megapixeln
Re: [MOD] Anti-Spam v1.0 for Guestbook & Comments
« Reply #45 on: April 26, 2006, 04:33:28 PM »
Tnx for this nice mod.
Implemented it in comments on version 1.7
Hopefully it will stop the spams.













Offline JensF

  • Addicted member
  • ******
  • Posts: 1.028
    • View Profile
    • http://www.terraristik-galerie.de
Re: [MOD] Anti-Spam v1.0 for Guestbook & Comments
« Reply #46 on: April 26, 2006, 06:02:49 PM »
Hallo,

besteht die Möglichkeit diesen Mod auch dafür zu verwenden

http://www.4homepages.de/forum/index.php?topic=11470.0

Und wenn ja wie muss ich was ändern?

Habe eben schon ein wenig probiert aber irgendwie gelingt es mir nicht... :(

Keiner kann helfen :( Habe heute 91 Spam Mails bekommen über diese Funktion....Shit Spammer...!!!
Mit freundlichem Gruß
Jens Funk



-> Sorry for my bad English <-

Offline edu

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
Re: [MOD] Anti-Spam v1.0 for Guestbook & Comments
« Reply #47 on: May 04, 2006, 09:57:12 AM »
it is possible to implement this mod for downloads ?.

If a user has not introduced the correct code he cannot download the image.

Thanks.

Offline Olphi

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Re: [MOD] Anti-Spam v1.0 for Guestbook & Comments
« Reply #48 on: May 09, 2006, 12:15:20 PM »
Hallo, bin mir nicht sicher ob ich den Code richtig geändert habe, da ich diese Zeile nicht finden konnte:

Code: [Select]
$comment_mail = un_htmlspecialchars(trim($HTTP_POST_VARS['comment_mail']));

Mein Code an dieser Stelle sieht nun so aus:

Code: [Select]
//-----------------------------------------------------
//--- Save Comment ------------------------------------
//-----------------------------------------------------
$error = 0;
if ($action == "postcomment" && $config['guestbook_post'] == 1) {
    $comment_user_name = un_htmlspecialchars(trim($HTTP_POST_VARS['comment_user_name']));
    $comment_text = un_htmlspecialchars(trim($HTTP_POST_VARS['comment_text']));
$prevent_code = (isset($HTTP_POST_VARS['prevent_code'])) ? intval(trim($HTTP_POST_VARS['prevent_code'])) : 0;
   $comment_site = un_htmlspecialchars(trim($HTTP_POST_VARS['comment_site']));
    // Flood Check
   $sql = "SELECT comment_ip, comment_date
              FROM ".GUESTBOOK_TABLE."
         WHERE comment_ip = '".$session_info['session_ip']."' 
         ORDER BY comment_date DESC
         LIMIT 1";
   $spam_row = $site_db->query_firstrow($sql);
   $spamtime = $spam_row['comment_date'] + 360;

   if (time() <= $spamtime && $user_info['user_level'] != ADMIN)  {
      $msg .= (($msg != "") ? "<br />" : "").$lang['spamming'];
      $error = 1;
   }

Ich hab halso die einzufügende Zeile einfach unter die "comment_text"-Zeile gemacht, ist das in Ordnung???

Ich bekomme immer noch Spam....  :twisted:

Vielen Dank

PS: Ich verwende Version 1.71
« Last Edit: May 09, 2006, 03:38:54 PM by Olphi »

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: [MOD] Anti-Spam v1.0 for Guestbook & Comments
« Reply #49 on: May 09, 2006, 12:40:41 PM »
funktioniert es auch mit 1.7  :?
habe seit ein paar tagen spam im briefkasten  :(
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline IcEcReaM

  • Hero Member
  • *****
  • Posts: 714
    • View Profile
    • My little Testboard
Re: [MOD] Anti-Spam v1.0 for Guestbook & Comments
« Reply #50 on: May 09, 2006, 06:53:38 PM »
Ob es auch mit 1.7 funktioniert,
kann ich nicht sagen, da ich die 1.7 Version nie getestet bzw gesehen hab,
weiss ich nicht, was alles an Code in den späteren Versionen geändert wurde.

@Olphi:
Bitte mal Link zu deiner Gallery posten oder per PM schicken,
und deine guestbook.php anhängen.
Coding is a everlasting competition between programmers who tries to write larger, better and idiot-safe programs and the universe producing larger and stupider idiots...
...so far the universe won
bump

Offline JensF

  • Addicted member
  • ******
  • Posts: 1.028
    • View Profile
    • http://www.terraristik-galerie.de
Re: [MOD] Anti-Spam v1.0 for Guestbook & Comments
« Reply #51 on: May 09, 2006, 11:45:35 PM »
funktioniert es auch mit 1.7  :?
habe seit ein paar tagen spam im briefkasten  :(

JA!
Mit freundlichem Gruß
Jens Funk



-> Sorry for my bad English <-

Offline colorssky

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • http://www.nnjj.net
Re: [MOD] Anti-Spam v1.0 for Guestbook & Comments
« Reply #52 on: May 12, 2006, 10:49:29 PM »
can someone provide me with the RAR file I can't download it!

thanks :mrgreen:

Offline colorssky

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • http://www.nnjj.net
Re: [MOD] Anti-Spam v1.0 for Guestbook & Comments
« Reply #53 on: May 13, 2006, 02:53:57 PM »
ASAP please! :roll:

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Anti-Spam v1.0 for Guestbook & Comments
« Reply #54 on: May 14, 2006, 09:43:19 PM »
Press "Save" button instead of "Open" at download prompt - works like charm.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline colorssky

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • http://www.nnjj.net
Re: [MOD] Anti-Spam v1.0 for Guestbook & Comments
« Reply #55 on: May 18, 2006, 10:09:22 PM »
I tried the page is blocked for me!
can spmebody put it for me as attachment

the spam start to kill me :|

Offline amaranggana

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: [MOD] Anti-Spam v1.0 for Guestbook & Comments
« Reply #56 on: May 21, 2006, 09:11:09 PM »
Habe es gerade installiert...aber jetzt ist die frage wie lösche ich denn all die spams die schon da sind. irgendwie gehts nicht mehr mit einmal klicken auf comment wo automatisch bis unten angeklickt wird. seltsam. ich habe jetzt schon über 6000 spams :(
hier ist ein beispiel http://weinandy.net/details.php?image_id=109

danke :)

Offline amaranggana

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: [MOD] Anti-Spam v1.0 for Guestbook & Comments
« Reply #57 on: May 22, 2006, 12:20:01 AM »
Danke Ivan, aber genau das habe ich gemacht und musste einzeln anklicken. Davor konnte ich einfah auf comment kästchen ganz oben klicken und dann wurde automatisch alle kästchen angeklickt und dann nach unten scrollen und delete drucken, jetzt gehts nicht mehr muss einzeln anklicken. Ich weiss nicht ob ich es richtig beschrieben habe, aber hoffentlich verstehst Du was ich meine. Es gibt bestimmt eine einfache lösung als über 6000 kästchen eintzzeln anklicken  zu müssen, oder?

Offline amaranggana

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: [MOD] Anti-Spam v1.0 for Guestbook & Comments
« Reply #58 on: May 22, 2006, 01:15:46 AM »
Sorry, mein Fehler...hatte vorhin Java Script ausgeschaltet da ich die sicherheitscode sehen wollte und vergessen habe sie wieder einzuschalten. Gute Nacht :)

Offline colorssky

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • http://www.nnjj.net
Re: [MOD] Anti-Spam v1.0 for Guestbook & Comments
« Reply #59 on: May 22, 2006, 10:09:09 PM »
can somebody give me the files plzzzzzzzzzzz ASAP :|