HTH-C.com - Forum
Latest News Latest Threads
Neuerung: Persönliche Galerie
Informationen zur Übernahme der Erweite..
HTH Blog - Version 2.0
#HTH.Systems - Betatester gesucht
Neueröffnung - PHPKit-Award.de
HTH Webchat v3
Letzter Beitrag Happy Birthday Bottyline Weiblicher Benutzer Heute, 0:00 Zeit der letzten Antwort
Letzter Beitrag Gibt es eigentlich noch jemand der PHPki.. Myrddin Männlicher Benutzer 19.04.2025 - 02:37 Zeit der letzten Antwort
Letzter Beitrag Herzlich Willkommen Botty Männlicher Benutzer 22.11.2024 - 21:45 Zeit der letzten Antwort
Letzter Beitrag PHPKit 1.6.6 WEBI Männlicher Benutzer 24.06.2024 - 13:58 Zeit der letzten Antwort
Letzter Beitrag PHPKit 1.6.6 ohne ASCE auf PHP8x Myrddin Männlicher Benutzer 22.03.2023 - 13:36 Zeit der letzten Antwort
 56.490 Posts & 4.945 Themen in 78 Foren
Forenübersicht » Support / Hilfe » PHPKit 1.6.03 & 1.6.1 » Support » GB Spamschutz

GB Spamschutz
37 Beiträge in diesem Thema
 Seiten (3):    1     2     3    Next    >  
24.01.2007 - 21:59 Uhr
Beitrag: #1
Hi Leute,
Hab mir das GB Spamschutz von hier runtergeladen Klick und auch installiert nur werden die grafiken im gb nicht erzeugt o_0
Kann mir da jemand helfen ? wäre nett  Glücklich

 
Zum Anfang der Seite
24.01.2007 - 22:01 Uhr
Beitrag: #2
Öhm Installation ging ohne Komplikationen?
Datein alle oben?

Irgendwas angepasst, oder einfach überschrieben?
Ich nutze dieses auch, obwohl 1.6.03 ging sofort, und läuft Prima, eventuell nochmals die dabei liegende install ausführen.

 
Zum Anfang der Seite
24.01.2007 - 22:03 Uhr
Beitrag: #3
??? welche install den ??? war keine dabei.

Alles ohne probs hochgeladen und die vorhandene dateien überschrieben.
Box für die zufalls grafik ist da aber leer ???

Wenn ich mir die grafik anzeigen lassen will kommt des

Warning: imagettfbbox(): Could not find/open font in /srv/www/htdocs/web109/html/guestbook/makegfx.php on line 11

Warning: imagettftext(): Could not find/open font in /srv/www/htdocs/web109/html/guestbook/makegfx.php on line 20
‰PNG 

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von Cyrus - 24.01.2007 - 22:06 Uhr
 
Zum Anfang der Seite
24.01.2007 - 22:06 Uhr
Beitrag: #4
Font scheint zu fehlen die font datei was weiss ich arial oder verdana oder was darin enthalten ist.

 
Zum Anfang der Seite
24.01.2007 - 22:07 Uhr
Beitrag: #5
Font heisst action und wurde auch hochgeladen allerdings zeigt er mir den aufem ftp seltsam an,fast so als würde er ihn als unbekannte datei format ansehen.

 
Zum Anfang der Seite
24.01.2007 - 22:10 Uhr
Beitrag: #6
Das macht er glaube ich bei mir auch.

Guck mal bitte hier:
Support Thread zum GB Spam Hack

 
Zum Anfang der Seite
24.01.2007 - 22:25 Uhr
Beitrag: #7
naja alles versucht,sogar der tipp von dr hotte aber hilft auch nicht.
Keine ahnung warum.
Wenn jemand mir sagen könnte wie ich das so machen kann wie der Nueschtmannescht es in sein GB hat dann würde es mich freuen.
Er weiss es selber nicht mehr genau ^^

 
Zum Anfang der Seite
24.01.2007 - 22:32 Uhr
Beitrag: #8
Spamschutz:
http://www.gfx4phpkit.de/include.php?path=content/articles.php&contentid=144

Bringt jedoch an sich nicht all zu viel.

Und noch zu empfehlen ist folgender Download:

http://www.php-gfx.net/include.php?path=content/download.php&contentid=164

 
Zum Anfang der Seite
24.01.2007 - 22:38 Uhr
Beitrag: #9
Das zweite hab ich drin.
So werden die einträge für die gäste nicht sichtbar jedoch für den Admin ---> mich  Glücklich schon und es nervt ^^

 
Zum Anfang der Seite
25.01.2007 - 11:31 Uhr
Beitrag: #10
Hallo Cyrus
Weis nicht mehr wo ich den her hab aber hier mal meine signgb.php:

Hier klicken zum aufklappen


Dann noch meine signgb.htm

Hier klicken zum aufklappen


Wenn du weitere Daten brauchst sag Bescheid.


MFG

 
Zum Anfang der Seite
25.01.2007 - 15:40 Uhr
Beitrag: #11
Funktionniert so nicht,er zeigt mir error an.
Ach egal dann lassen wirs mal so.
Immerhin können es die normalen user ned sehen ^^

 
Zum Anfang der Seite
25.01.2007 - 17:33 Uhr
Beitrag: #12
Uff habs wiedergefunden. lol

Guck mal hier .

 
Zum Anfang der Seite
29.01.2007 - 15:51 Uhr
Beitrag: #13
Wenn ich das dort in die signgb.php einfüge und die seite aktualisiere kommt das hier o_0

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /srv/www/htdocs/web109/html/guestbook/signgb.php on line 32

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von Cyrus - 29.01.2007 - 15:53 Uhr
 
Zum Anfang der Seite
29.01.2007 - 15:54 Uhr
Beitrag: #14
Haste zuvor schon irgendwelche Änderungen an deiner signgb.php vorgenommen?
Wenn ja wird das dass Problem sein.

 
Zum Anfang der Seite
29.01.2007 - 15:58 Uhr
Beitrag: #15
Hab die originale geändert siehe hier ^^

Hab diesen code



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99

Quellcode

<?php
if ($config['gbook_eod']==1) {
 
$error=0;
 if (isset(
$_REQUEST['action'])) $ACTION=$_REQUEST['action'];
 else 
$ACTION='view';
 
 if (
$ACTION==$_POST['save'] || $ACTION==$_POST['preview']) {
  
$floodcontrol=time() - ($config['gbook_floodctrl']*60);
  
$infocount=$DB->fetch_array($DB->query("SELECT COUNT(*) FROM ".$db_tab['gbook']." WHERE gbook_ip='".$thisUSER['ipaddr']."' && gbook_userid='".$USER['id']."' && gbook_time>'".$floodcontrol."' LIMIT 1"));

  if (
trim($_POST['content'])=='' || trim($_POST['gbook_title'])=='' || trim($_POST['gbook_autor'])==''$error=1;
  elseif (
strlen(trim($_POST['content']))>$config['gbook_maxchars']) {$event=2$charcount=strlen($_POST['content']);}
  elseif (
$infocount[0]>0$error=3;
  elseif (!
checkusername($_POST['gbook_autor'],1)) $error=4;  
  elseif ((
$_POST['gbook_notify']==|| $_POST['gbook_email']!='') && !emailcheck($_POST['gbook_email'],1)) $error=5;
  else {
   if (
$ACTION==$_POST['save']) {
    if (
$DB->query("INSERT INTO ".$db_tab['gbook']." (gbook_autor, gbook_title, gbook_email, gbook_icqnr, gbook_time, gbook_text, gbook_check, gbook_hpage, gbook_ip, gbook_userid, gbook_notify) VALUES ('".$_POST['gbook_autor']."','".addslashes($_POST['gbook_title'])."','".$_POST['gbook_email']."','".$_POST['gbook_icqnr']."','".time()."','".addslashes($_POST['content'])."','".$_POST['gbook_check']."','".$_POST['gbook_hpage']."','".$thisUSER['ipaddr']."','".$USER['id']."','".$_POST['gbook_notify']."')")) {
     
$gbid=$DB->insert_id();
     
$autor=$_POST['gbook_autor'];
    
     
$mail_title=$config['site_name'].' - '.$lang['new_gbentry'].': '.$_POST['gbook_title'];
     eval (
"$mail_text= "".getTemplate("guestbook/signgb_mail_notify")."";");      
     
notifymail('gbook',$mail_title,$mail_text);
      
     
$im_title=$lang['new_gbentry'].': '.$_POST['gbook_title']; 
     eval (
"$im_text= "".getTemplate("guestbook/signgb_im_notify")."";");      
     
notifyim('gbook',$im_title,$im_text);    
     
header("location: include.php?event=7session_id()); exit();
     }
    
$error=6;
    }
   elseif (
$ACTION==$_POST['preview']) {
    
$counter=$DB->fetch_array($DB->query("SELECT COUNT(*) FROM ".$db_tab['gbook'].""));
    
$gbook_number=$counter[0]+1;
   
    if (
$_POST['gbook_check']==1 && $_POST['gbook_email']!='') {        
     
$userinfo['user_email']=$gbook_email;
     eval ("
$gbook_email"".getTemplate("member_email_iconlink")."";");
     }
    else 
$gbook_email=' ';        
        
    if (
$_POST['gbook_hpage']!='') {
     if (eregi("
http://",$_POST['gbook_hpage'])) $info_link=$_POST['gbook_hpage'];
     
else $info_link="http://".$_POST['gbook_hpage'];
     eval (
"$gbook_hpage= "".getTemplate("member_hpage_iconlink")."";");
     }
    else 
$gbook_hpage=' ';
    
    if (
$_POST['gbook_icqnr']>0) {
     
$userinfo['user_icqid']=$_POST['gbook_icqnr'];
     eval (
"$gbook_icq= "".getTemplate("member_icq_iconlink")."";");
     }
    else 
$gbook_icq=' ';

    
$gbook_title=htmlentities($_POST['gbook_title']);
    
$gbook_text=$PARSE->parse($_POST['content'],0,$config['gbook_ubb'],$config['gbook_smilies'],$config['gbook_images'],1);
    
$gbook_time=formattime();

    eval (
"$site_body.= "".getTemplate("guestbook/signgb_preview")."";");
    }
   }
  }
 if (
$error>0) eval ("$sign_message= "".getTemplate("guestbook/signgb_error".$error."")."";");
 else eval (
"$sign_message= "".getTemplate("guestbook/signgb_message")."";");

 if (
$_POST['gbook_autor']!=''$gbook_autor=$_POST['gbook_autor'];
 else 
$gbook_autor=$USER['nick'];

 if (
$_POST['gbook_email']!=''$gbook_email=$_POST['gbook_email'];
 else 
$gbook_email=$USER['email'];

 if (
$_POST['gbook_check']==1$check1="checked";
 elseif (
$ACTION=='view'$check1="checked";

 if (
$config['gbook_commenteod']==1) {
  if (
$_POST['gbook_notify']==1$check2="checked";
  eval (
"$sign_comment= "".getTemplate("guestbook/signgb_comment")."";");
  }

 if (
$_POST['gbook_hpage']!=''$gbook_hpage=htmlentities($_POST['gbook_hpage']);
 elseif (
$USER['hpage']!=''$gbook_hpage=$USER['hpage'];
 if (
intval($_POST['gbook_icqnr'])>0$gbook_icqnr=$_POST['gbook_icqnr'];
 elseif (
intval($USER['icqid'])>0$gbook_icqnr=intval($USER['icqid']);
 if (
trim($_POST['gbook_title'])!=''$gbook_title=htmlentities($_POST['gbook_title']);
 if (
trim($_POST['content'])!=''$gbook_text=htmlentities($_POST['content']);

 unset(
$sign_format);
 if (
$config['gbook_ubb']==1) eval ("$sign_format= "".getTemplate("format_text")."";");
 if (
$config['gbook_smilies']==1)  {
  
$smilies=new smilies();
  
$sign_format.=$smilies->getSmilies("1");
  }
 if (
$sign_format) eval ("$sign_format= "".getTemplate("format_table")."";");

 eval (
"$site_body.= "".getTemplate("guestbook/signgb")."";");
 }
else {
$event=23; include ("admin/config/event.php");}
?>


durch diesen geäandert



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93

Quellcode

<?php
if ($config['gbook_eod']==1) {
$error=0;
if (isset(
$_REQUEST['action'])) $ACTION=$_REQUEST['action'];
else 
$ACTION='view';
if (
$ACTION==$_POST['save'] || $ACTION==$_POST['preview']) {
  
$floodcontrol=time() - ($config['gbook_floodctrl']*60);
  
$infocount=$DB->fetch_array($DB->query("SELECT COUNT(*) FROM ".$db_tab['gbook']." WHERE gbook_ip='".$thisUSER['ipaddr']."' && gbook_userid='".$USER['id']."' && gbook_time>'".$floodcontrol."' LIMIT 1"));
  if (
trim($_POST['content'])=='' || trim($_POST['gbook_title'])=='' || trim($_POST['gbook_autor'])==''$error=1;
  elseif (
strlen(trim($_POST['content']))>$config['gbook_maxchars']) {$event=2$charcount=strlen($_POST['content']);}
  elseif (
$infocount[0]>0$error=3;
  elseif (!
checkusername($_POST['gbook_autor'],1)) $error=4;  
  elseif ((
$_POST['gbook_notify']==|| $_POST['gbook_email']!='') && !emailcheck($_POST['gbook_email'],1)) $error=5;
  else {
   if (
$ACTION==$_POST['save']) {
   
/* Spamschutz by KNW / Master-B*/
if(!isset($_POST[spam_check])) {header ("location: include.php?path=start.php"); exit();};
/* Spamschutz by KNW / Master-B*/
    
if ($DB->query("INSERT INTO ".$db_tab['gbook']." (gbook_autor, gbook_title, gbook_email, gbook_icqnr, gbook_time, gbook_text, gbook_check, gbook_hpage, gbook_ip, gbook_userid, gbook_notify) VALUES ('".$_POST['gbook_autor']."','".addslashes($_POST['gbook_title'])."','".$_POST['gbook_email']."','".$_POST['gbook_icqnr']."','".time()."','".addslashes($_POST['content'])."','".$_POST['gbook_check']."','".$_POST['gbook_hpage']."','".$thisUSER['ipaddr']."','".$USER['id']."','".$_POST['gbook_notify']."')")) {
     
$gbid=$DB->insert_id();
     
$autor=$_POST['gbook_autor'];
    
     
$mail_title=$config['site_name'].' - '.$lang['new_gbentry'].': '.$_POST['gbook_title'];
     eval (
"$mail_text= "".getTemplate("guestbook/signgb_mail_notify")."";");      
     
notifymail('gbook',$mail_title,$mail_text);
      
     
$im_title=$lang['new_gbentry'].': '.$_POST['gbook_title'];
     eval (
"$im_text= "".getTemplate("guestbook/signgb_im_notify")."";");      
     
notifyim('gbook',$im_title,$im_text);    
     
header("location: include.php?event=7session_id()); exit();
     }
    
$error=6;
    }
   elseif (
$ACTION==$_POST['preview']) {
    
$counter=$DB->fetch_array($DB->query("SELECT COUNT(*) FROM ".$db_tab['gbook'].""));
    
$gbook_number=$counter[0]+1;
   
    if (
$_POST['gbook_check']==1 && $_POST['gbook_email']!='') {        
     
$userinfo['user_email']=$gbook_email;
     eval ("
$gbook_email"".getTemplate("member_email_iconlink")."";");
     }
    else 
$gbook_email=' ';        
        
    if (
$_POST['gbook_hpage']!='') {
     if (eregi("
http://",$_POST['gbook_hpage'])) $info_link=$_POST['gbook_hpage'];
     
else $info_link="http://".$_POST['gbook_hpage'];
     eval (
"$gbook_hpage= "".getTemplate("member_hpage_iconlink")."";");
     }
    else 
$gbook_hpage=' ';
    
    if (
$_POST['gbook_icqnr']>0) {
     
$userinfo['user_icqid']=$_POST['gbook_icqnr'];
     eval (
"$gbook_icq= "".getTemplate("member_icq_iconlink")."";");
     }
    else 
$gbook_icq=' ';
    
$gbook_title=htmlentities($_POST['gbook_title']);
    
$gbook_text=$PARSE->parse($_POST['content'],0,$config['gbook_ubb'],$config['gbook_smilies'],$config['gbook_images'],1);
    
$gbook_time=formattime();
    eval (
"$site_body.= "".getTemplate("guestbook/signgb_preview")."";");
    }
   }
  }
if (
$error>0) eval ("$sign_message= "".getTemplate("guestbook/signgb_error".$error."")."";");
else eval (
"$sign_message= "".getTemplate("guestbook/signgb_message")."";");
if (
$_POST['gbook_autor']!=''$gbook_autor=$_POST['gbook_autor'];
else 
$gbook_autor=$USER['nick'];
if (
$_POST['gbook_email']!=''$gbook_email=$_POST['gbook_email'];
else 
$gbook_email=$USER['email'];
if (
$_POST['gbook_check']==1$check1="checked";
elseif (
$ACTION=='view'$check1="checked";
if (
$config['gbook_commenteod']==1) {
  if (
$_POST['gbook_notify']==1$check2="checked";
  eval (
"$sign_comment= "".getTemplate("guestbook/signgb_comment")."";");
  }
#if ($_POST['gbook_hpage']!='') $gbook_hpage=htmlentities($_POST['gbook_hpage']);
if ($_POST['gbook_hpage']!=''$gbook_hpage=htmlentities(addslashes(str_replace("'""",str_replace("<""",str_replace(">""",$_POST['gbook_hpage'])))));
elseif (
$USER['hpage']!=''$gbook_hpage=$USER['hpage'];
if (
intval($_POST['gbook_icqnr'])>0$gbook_icqnr=$_POST['gbook_icqnr'];
elseif (
intval($USER['icqid'])>0$gbook_icqnr=intval($USER['icqid']);
if (
trim($_POST['gbook_title'])!=''$gbook_title=htmlentities($_POST['gbook_title']);
if (
trim($_POST['content'])!=''$gbook_text=htmlentities($_POST['content']);
unset(
$sign_format);
if (
$config['gbook_ubb']==1) eval ("$sign_format= "".getTemplate("format_text")."";");
if (
$config['gbook_smilies']==1)  {
  
$smilies=new smilies();
  
$sign_format.=$smilies->getSmilies("1");
  }
if (
$sign_format) eval ("$sign_format= "".getTemplate("format_table")."";");
eval (
"$site_body.= "".getTemplate("guestbook/signgb")."";");
}
else {
$event=23; include ("admin/config/event.php");}
?> 


Dann kam diese meldung !!!

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /srv/www/htdocs/web109/html/guestbook/signgb.php on line 32

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von Cyrus - 29.01.2007 - 16:03 Uhr
 
Zum Anfang der Seite
 Seiten (3):    1     2     3    Next    >  

Ähnliche Themen
 

Es wurden keine ähnlichen Themen gefunden.


HTH-C.com - Webmedien & Community