Kontakt form SPAM problem

Allgemeiner Support zum phpBB 2 Board und phpBB 2 Modifikationen
Forumsregeln
Auch wenn hier der Support für phpBB 2 weiterhin aufrecht erhalten bleibt, weisen wir darauf hin, dass das phpBB 2 nicht mehr offiziell unterstützt und weiterentwickelt wird!
Antworten
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Kontakt form SPAM problem

Beitrag von Blisk »

I noticed that someone abusing kontakt.php for sending me spam.
How to prevent that script to send spam? is it possible to add captcha to that form like it is on register page?
kontakt.php
Benutzeravatar
oxpus
Administrator
Beiträge: 28737
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Re: Kontakt form SPAM problem

Beitrag von oxpus »

Voilà:
kontakt.zip
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Re: Kontakt form SPAM problem

Beitrag von Blisk »

Thank you, but something not working.
At the top I get error and I checked there is no lang_kontakt.php
I have checked lang_german and lang_english folder
Also below there is no captcha code

Warning: include(./language/lang_german/lang_kontakt.php): failed to open stream: No such file or directory in /var/www/html/forum/kontakt.php on line 34

Warning: include(): Failed opening './language/lang_german/lang_kontakt.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/forum/kontakt.php on line 34
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Benutzeravatar
oxpus
Administrator
Beiträge: 28737
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Re: Kontakt form SPAM problem

Beitrag von oxpus »

Sorry, forgotton...

Please remove the line

Code: Alles auswählen

include($phpbb_root_path . 'language/lang_german/lang_kontakt.'.$phpEx);
from the kontakt.php.
I'd create this file for me to get the texts for the script.
You don't need this...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Re: Kontakt form SPAM problem

Beitrag von Blisk »

I already tried that and error above have gone, but below I don't see code to insert into form
Benutzeravatar
oxpus
Administrator
Beiträge: 28737
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Re: Kontakt form SPAM problem

Beitrag von oxpus »

Do you user an other Captcha as the dedault one?
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Re: Kontakt form SPAM problem

Beitrag von Blisk »

I use default one as it is on portal.
you can see here
http://www.povej.net/forum/profile.php? ... greed=true
Benutzeravatar
oxpus
Administrator
Beiträge: 28737
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Re: Kontakt form SPAM problem

Beitrag von oxpus »

A Captcha is in the contact form, but the false one...
Please attach your profile.php to take a look...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Re: Kontakt form SPAM problem

Beitrag von Blisk »

here it is
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Benutzeravatar
oxpus
Administrator
Beiträge: 28737
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Re: Kontakt form SPAM problem

Beitrag von oxpus »

You uses an other captcha.
So please open the file kontakt.php and replace the lines

Code: Alles auswählen

	include($phpbb_root_path . 'includes/usercp_confirm.'.$phpEx);
	exit;
with this ones:

Code: Alles auswählen

	if (function_exists(imagettftext) && defined('ADV_CAPTCHA'))
	{
		include($phpbb_root_path . 'includes/usercp_confirm_adv.'.$phpEx);
	}
	else
	{
		include($phpbb_root_path . 'includes/usercp_confirm.'.$phpEx);
	}
	exit;
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Re: Kontakt form SPAM problem

Beitrag von Blisk »

Thank you now it works. :respect:
Is it possible just a minor repairment.
Confirmation button to send form is in the middle of form, can be moved to bottom of form?
thank you
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Benutzeravatar
oxpus
Administrator
Beiträge: 28737
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Re: Kontakt form SPAM problem

Beitrag von oxpus »

Yes:
kontakt.zip
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Re: Kontakt form SPAM problem

Beitrag von Blisk »

thank you
you should put a button on your forum "buy me a beer" or "buy me coffe".
to buy you a beer or cofe for thanks for your help ;)
Benutzeravatar
oxpus
Administrator
Beiträge: 28737
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Re: Kontakt form SPAM problem

Beitrag von oxpus »

Donations are possible over the board navi...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Re: Kontakt form SPAM problem

Beitrag von Blisk »

oxpus hat geschrieben:Donations are possible over the board navi...
statisically button"buy me a beer" brings more donations, you should put into your signature ;)
I have donated you for a beer or a coffe, thank you again.
Benutzeravatar
oxpus
Administrator
Beiträge: 28737
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Re: Kontakt form SPAM problem

Beitrag von oxpus »

Thx for donation. The next beer and coffee will tastes well.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Re: Kontakt form SPAM problem

Beitrag von Blisk »

oxpus hat geschrieben:Thx for donation. The next beer and coffee will tastes well.
have a great day. I am verry gratefull for your help, you are the only one which can solve that kind of problems in a minute.
Keep good work.
Antworten