Jetzt kostenlos Anmelden!

Bernardo Männlich

ist gerade angekommen

Beiträge: 40

Geschlecht: Männlich

PHPKIT Version: 1.6.5

1

Mittwoch, 21. Januar 2009, 11:10

Kit Nospam V2 in Bildergalerie V2.2 by napsio

Ich hab mir heute ohne Probleme das Kit Nospam V2 in mein PHPKIT installiert.

Nun würde ich auch gerne den Kommentarbereich der Bildergalerie Version 2.2 von napsio mit dem Captcha Schutz bestücken.

In der Sufu gab es bereits einen ähnlichen Beitrag zur Galerie V1.6, aber dieser konnte mir nicht weiter helfen.

captcha aus NoSpam v2 in Galerie 1.6?

Hier wird beschrieben, dass die Integration in die Bildergalerie sehr einfach sein sollte. Doch ich stehe wirklich auf dem Schlauch.

Muss ich lediglich die comment.php der Galerie mit den 2 Zeile des NOSPAM ergänzen?

Oder werden noch weitere Änderungen benötigt?

Gruss Bernardo :D
http://www.schwarzerdrache.info
Es ist nicht deine Schuld, das die Welt ist wie sie ist. Es wär nur deine Schuld, wenn sie so bleibt.
  • Zum Seitenanfang
  • Zum Seitenende

Bernardo Männlich

ist gerade angekommen

Beiträge: 40

Geschlecht: Männlich

PHPKIT Version: 1.6.5

2

Mittwoch, 21. Januar 2009, 15:35

Wo muss der Code hin

Wenn ich es also richtig verstehe muss ich diese beiden Zeile:

PHP-Quelltext

1
2
3
 # KNS V2 | Idee: Onkel Hotte | Umsetzung: Headless (kitnetwork.de) 
if($CAPTCHA->validCode($_POST['inputchars'])) { 
# EOS


und...

PHP-Quelltext

1
2
3
4
 # KNS V2 | Idee: Onkel Hotte | Umsetzung: Headless (kitnetwork.de) 
$error=7# EOS


in die comment.php eintragen! Doch wo genau benötigt die comment.php diese beiden Zeilen damit das captcha funktioniert?

Hier nochmal die comment.php:

PHP-Quelltext

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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<?php 
/*****************************************************************************/ 
/*****************************************************************************/ 
/* BilderGalerie 2.2 */ 
/*****************************************************************************/ 
/*****************************************************************************/ 
/* Copyright by www.panbachi.de */ 
/* All rights reserved */ 
/*****************************************************************************/ 
/* Filename: galerie/comment.php */ 
/* Coder: Goran "napsio" Zunic */ 
/*****************************************************************************/ 
/*****************************************************************************/ 
if(defined('pkDIRROOT')){ 
include_once(pkDIRROOT."admin/galerie/lib/inc.config.php"); 
} 
else{ 
include_once("admin/galerie/lib/inc.config.php"); 
} 

if(getrights(bgConfigRightsComment)){ 
if((isset($_REQUEST['pid'])) 
&& ($_REQUEST['pid'] != NULL) 
&& ($_REQUEST['pid'] != 0)){ 
$bgPid = (int)$_REQUEST['pid']; 
} 
else{ 
header("Location: include.php?path=galerie/main.php"); exit(); 
} 

if(isset($_REQUEST['entries'])){ 
$bgCommentEntities = (int)$_REQUEST['entries']; 
} 
else{ 
$bgCommentEntities 0; 
} 

$bgCommentCount $DB->num_rows$DB->query"SELECT cat_id 
FROM ".$db_tab['gal_cat']." 
LEFT JOIN ".$db_tab['gal_pics']." 
ON pics_cat = cat_id 
WHERE pics_id = '".$bgPid."' 
AND pics_active = '1' 
AND ".sqlrights("cat_rights_comment_view")."" 
) 
); 

if($bgCommentCount 0){ 

$bgCommentDb $DB->query"SELECT cat_id, cat_rights_comment_post 
FROM ".$db_tab['gal_cat']." 
LEFT JOIN ".$db_tab['gal_pics']." 
ON pics_cat = cat_id 
WHERE pics_id = '".$bgPid."' 
AND pics_active = '1' 
AND ".sqlrights("cat_rights_comment_view")."" 
); 

$bgComment $DB->fetch_array($bgCommentDb); 

if(getrights($bgComment['cat_rights_comment_post'])){ 


if((isset($_POST['sign'])) && ($_POST['sign'] == "commentSend")){ 
if(!empty($_POST['content'])){ 
$DB->query"INSERT 
INTO ".$db_tab['gal_comment']." 
( 
comment_subid, 
comment_user, 
comment_date, 
comment_text, 
comment_ip 
) VALUES ( 
'".$bgPid."', 
'".$USER['id']."', 
'".time()."', 
'".addslashes($_POST['content'])."', 
'".$_SERVER['REMOTE_ADDR']."' 
)" 
); 
} 
} 



eval("\$bgCommentFormat = \"".getTemplate("format_text")."\";"); 
$smilies = new smilies(); 
$bgCommentFormat .= $smilies->getSmilies(1); 
eval ("\$bgCommentPost = \"".getTemplate("galerie/comment_post")."\";"); 
} 

$bgSiteLinkCount $DB->num_rows$DB->query"SELECT comment_id 
FROM ".$db_tab['gal_comment']." 
WHERE comment_subid = '".$bgPid."'" 
) 
); 

$bgSiteLink sidelinkfull$bgSiteLinkCountbgConfigSiteComments$bgCommentEntities'include.php?path=galerie/comment.php&pid='.$bgPid'small' 
); 
eval ("\$bgCommentSiteLinkOut= \"".getTemplate("galerie/sidelink")."\";"); 

$bgCommentOutDb $DB->query"SELECT 
user_id, 
user_nick, 
user_avatar, 
comment_date, 
comment_text, 
comment_id 
FROM ".$db_tab['gal_comment']." 
LEFT JOIN ".$db_tab['user']." 
ON user_id = comment_user 
WHERE comment_subid = '".$bgPid."' 
ORDER BY comment_date DESC 
LIMIT ".$bgCommentEntities.", ".bgConfigSiteComments."" 
); 

while($bgCommentOut $DB->fetch_array($bgCommentOutDb)){ 

if($bgCommentOut['user_id']> 0){ 
$bgCommentUser "<a href=\"include.php?path=login/userinfo.php&id=".$bgCommentOut['user_id']."\" class=\"small\">".$bgCommentOut['user_nick']."</a>"; 
if(isonline($bgCommentOut['user_id'])){ 
eval ("\$bgCommentOnline = \"".getTemplate("member_os_online")."\";"); 
} 
else{ 
eval ("\$bgCommentOnline = \"".getTemplate("member_os_offline")."\";"); 
} 
if ($bgCommentOut['user_avatar'] != "" && filecheck($config['avatar_path'].'/'.$bgCommentOut['user_avatar'])) { 
$bgCommentAvatarDimension = @getimagesize($config['avatar_path']."/".$userinfo['user_avatar']); 
$bgCommentAvatar "<img border=\"0\" hspace=\"0\" vspace=\"0\" ".$bgCommentAvatarDimension[3]." src=\"".$config['avatar_path']."/".$bgCommentOut['user_avatar']."\" alt=\"".$bgCommentOut['user_nick']."`s alternatives Ego\" />"; 
} 
else{$bgCommentAvatar "";} 
} 
else{ 
$bgCommentUser "<font class=\"small\">Gast</font>"; 
eval ("\$bgCommentOnline = \"".getTemplate("guest_os_icon")."\";"); 
} 

if($bgCommentOut['user_id'] == $USER['id'] || $USER['status'] == "admin"){ 
$bgCommentOption "<a href=\"include.php?path=galerie/commentdel.php&cid=".$bgCommentOut['comment_id']."\"><img src=\"images/delete.gif\" border=\"0\"></a> <a href=\"include.php?path=galerie/commentedit.php&cid=".$bgCommentOut['comment_id']."\"><img src=\"images/edit.gif\" border=\"0\"></a>"; 
} 

$bgCommentDate formattime($bgCommentOut['comment_date']); 

$bgCommentText $PARSE->parse($bgCommentOut['comment_text'], 01111); 

$bgCommentOutClass rowcolor($bgCommentOutClass); 
eval ("\$bgCommentRow .= \"".getTemplate("galerie/comment_row")."\";"); 
} 

$bgCommentHeadNav $bg->headNavi($bgComment['cat_id']); 
eval ("\$site_body.= \"".getTemplate("galerie/comment")."\";"); 
} 
else{ 
$event=1; include("admin/config/event.php"); 
} 
} 
else{ 
$event=1; include("admin/config/event.php"); 
} 
?>
http://www.schwarzerdrache.info
Es ist nicht deine Schuld, das die Welt ist wie sie ist. Es wär nur deine Schuld, wenn sie so bleibt.
  • Zum Seitenanfang
  • Zum Seitenende

deepnight Männlich

findet sich zurecht

Beiträge: 134

Geschlecht: Männlich

Wohnort: HH

PHPKIT Version: 1.6.03

3

Samstag, 24. Januar 2009, 07:54

der thread zur 1.6er Galerie wird dir nicht weiterhelfen, und auch per PN kann ich dir da nicht weiterhelfen, ich benutz wie gesagt die 1.6 von Napsio.

deu verwendest aber die 2.2, und die wurde komplett reorganisiert. sprich: deine comment.php sieht anders aus als meine.

solltest du die 1.6er nehmen wollen, hier mal die comment mit eingebauten KnS

PHP-Quelltext

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
100
<?PHP
if (isset($_REQUEST['cid'])) $cid=$_REQUEST['cid'];
if (isset($_REQUEST['pid'])) $pid=$_REQUEST['pid'];
if (isset($_REQUEST['entries'])) $entries=$_REQUEST['entries'];
else $entries=0;
   $comm_show=$DB->fetch_array($DB->query("SELECT * FROM ".$db_tab['gal_config']." WHERE config_id='1'"));


 if (getrights($comm_show['comm_rights'])=="true") {

      $show=$comm_show['config_comm_show'];
      $gal_name=$comm_show['config_name'];
   $counter=$DB->num_rows($DB->query("SELECT * FROM ".$db_tab['gal_comment']." WHERE comment_subid='".$pid."'"));
if ($counter<$entries) {
   $entries=0;
   eval ("\$comment_notfound= \"".getTemplate("galerie/comment_notfound")."\";");
}
else {
   $comm_side=sidelinkfull($counter,$show,$entries,"include.php?path=galerie/comment.php&pid=$pid&cid=$cid","small");
   eval ("\$comm_side= \"".getTemplate("galerie/comment_sidelink")."\";");
   $comm_db=$DB->query("SELECT * FROM ".$db_tab['gal_comment']." WHERE comment_subid='".$pid."' ORDER by comment_date DESC LIMIT ".$entries.",".$show."");
   while ($comm=$DB->fetch_array($comm_db)) {
      $row=rowcolor($row);
          $comm_show_text $PARSE->parse($comm['comment_text'],1,1,1,1,1);
          $comm_show_id $comm['comment_id'];
          $comm_show_date strftime("%d.%m.%y - %H:%M"$comm['comment_date']);

            if ($comm['comment_user']>0) {
         $getuserinfo=$DB->query("SELECT * FROM ".$db_tab['user']." WHERE user_id='".$comm['comment_user']."'");
         while ($userinfo=$DB->fetch_array($getuserinfo)) {
         $user_cache[$userinfo['user_id']]=$userinfo;
         $userinfo_hash[$comm['comment_user']]=$userinfo;
             if (($userinfo=$userinfo_hash[$comm['comment_user']])!='') {
            if (isonline($comm['comment_user'])) eval ("\$comm_option.= \"".getTemplate("member_os_online")."\";");
         else eval ("\$comm_option.= \"".getTemplate("member_os_offline")."\";");
         unset ($comm_show_user);
         eval ("\$comm_show_user.= \"".getTemplate("member_showprofil_textlink","small")."\";");
         }

}
      }
      else {

unset ($comm_show_user);
      eval ("\$comm_option.= \"".getTemplate("guest_os_icon","")."\";");
      $comm_show_user="Gast";

}
eval ("\$pics_comments.= \"".getTemplate("galerie/comment_row")."\";");
unset ($comm_option);
}}
$comm_user=$USER['id'];
$comm_text=addslashes($_POST['content']);
$comm_date time();
$comm_ip=$thisUSER['ipaddr'];
$comm_db2=$DB->fetch_array($DB->query("SELECT * FROM ".$db_tab['gal_pics']." WHERE pics_id='".$pid."'"));
   $comm_title=$comm_db2['pics_title'];
   $comm_type2=$comm_db2['pics_cat'];
$comm_cat_db=$DB->fetch_array($DB->query("SELECT * FROM ".$db_tab['gal_cat']." WHERE cat_id='".$comm_type2."'"));
   $comm_cat=$comm_cat_db['cat_name'];

if (isset($_POST['action'])) $ACTION=$_POST['action'];
else $ACTION='view';
   if ($ACTION==$_POST['save']) {




# KNS V2 | Idee: Onkel Hotte | Umsetzung: Headless (kitnetwork.de)
if($CAPTCHA->validCode($_POST['inputchars'])) {
# EOS



      $DB->query("INSERT ".$db_tab['gal_comment']." SET comment_text='".$comm_text."',comment_user='".$comm_user."',comment_date='".$comm_date."',comment_subid='".$pid."',comment_ip='".$comm_ip."'");
      header ("location: include.php?path=galerie/pic.php&pid=$pid&cid=$comm_type2&PHPKITSID=".session_id()); exit();
   }

# KNS V2 | Idee: Onkel Hotte | Umsetzung: Headless (kitnetwork.de)
}
$error=7;
# EOS


unset ($comm_user);
unset ($comm_text);
unset ($comm_date);
unset ($sign_format);
unset ($comm_option);

eval ("\$sign_format= \"".getTemplate("format_text")."\";");
$smilies=new smilies();
$sign_format.=$smilies->getSmilies(1);
if($comm_show['copy_show']=='0'){
eval ("\$gal_copy_show.= \"".getTemplate("galerie/copyright")."\";");
}
eval ("\$site_body.= \"".getTemplate("galerie/comment")."\";");
   }
 else {$event=1; include("admin/config/event.php");}
?>
  • Zum Seitenanfang
  • Zum Seitenende

Bernardo Männlich

ist gerade angekommen

Beiträge: 40

Geschlecht: Männlich

PHPKIT Version: 1.6.5

4

Samstag, 24. Januar 2009, 11:02

So gehts!!!

Dank Dir deepnight für deine Hilfestellung... so konnte ich wirklich den Rest eingrenzen und so funktioniert es nun:

Für die Bildergalerie 2.2 müssen 2 Dateien ergänzt werden. Die galerie/comment.php und die templates/galerie/comment_post.htm

Die comment.php sieht dann so aus: (siehe Zeile 69-71 und 89-92)

PHP-Quelltext

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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<?php 
/*****************************************************************************/ 
/*****************************************************************************/ 
/* BilderGalerie 2.2 */ 
/*****************************************************************************/ 
/*****************************************************************************/ 
/* Copyright by www.panbachi.de */ 
/* All rights reserved */ 
/*****************************************************************************/ 
/* Filename: galerie/comment.php */ 
/* Coder: Goran "napsio" Zunic */ 
/*****************************************************************************/ 
/*****************************************************************************/ 
if(defined('pkDIRROOT')){ 
include_once(pkDIRROOT."admin/galerie/lib/inc.config.php"); 
} 
else{ 
include_once("admin/galerie/lib/inc.config.php"); 
} 

if(getrights(bgConfigRightsComment)){ 
if((isset($_REQUEST['pid'])) 
&& ($_REQUEST['pid'] != NULL) 
&& ($_REQUEST['pid'] != 0)){ 
$bgPid = (int)$_REQUEST['pid']; 
} 
else{ 
header("Location: include.php?path=galerie/main.php"); exit(); 
} 

if(isset($_REQUEST['entries'])){ 
$bgCommentEntities = (int)$_REQUEST['entries']; 
} 
else{ 
$bgCommentEntities 0; 
} 

$bgCommentCount $DB->num_rows$DB->query"SELECT cat_id 
FROM ".$db_tab['gal_cat']." 
LEFT JOIN ".$db_tab['gal_pics']." 
ON pics_cat = cat_id 
WHERE pics_id = '".$bgPid."' 
AND pics_active = '1' 
AND ".sqlrights("cat_rights_comment_view")."" 
) 
); 

if($bgCommentCount 0){ 

$bgCommentDb $DB->query"SELECT cat_id, cat_rights_comment_post 
FROM ".$db_tab['gal_cat']." 
LEFT JOIN ".$db_tab['gal_pics']." 
ON pics_cat = cat_id 
WHERE pics_id = '".$bgPid."' 
AND pics_active = '1' 
AND ".sqlrights("cat_rights_comment_view")."" 
); 

$bgComment $DB->fetch_array($bgCommentDb); 

if(getrights($bgComment['cat_rights_comment_post'])){ 


if((isset($_POST['sign'])) && ($_POST['sign'] == "commentSend")){ 
if(!empty($_POST['content'])){ 
# KNS V2 | Idee: Onkel Hotte | Umsetzung: Headless (kitnetwork.de) 
if($CAPTCHA->validCode($_POST['inputchars'])) { 
# EOS 
$DB->query"INSERT 
INTO ".$db_tab['gal_comment']." 
( 
comment_subid, 
comment_user, 
comment_date, 
comment_text, 
comment_ip 
) VALUES ( 
'".$bgPid."', 
'".$USER['id']."', 
'".time()."', 
'".addslashes($_POST['content'])."', 
'".$_SERVER['REMOTE_ADDR']."' 
)" 
); 
# KNS V2 | Idee: Onkel Hotte | Umsetzung: Headless (kitnetwork.de) 
$error=7# EOS 

} 
} 



eval("\$bgCommentFormat = \"".getTemplate("format_text")."\";"); 
$smilies = new smilies(); 
$bgCommentFormat .= $smilies->getSmilies(1); 
eval ("\$bgCommentPost = \"".getTemplate("galerie/comment_post")."\";"); 
} 

$bgSiteLinkCount $DB->num_rows$DB->query"SELECT comment_id 
FROM ".$db_tab['gal_comment']." 
WHERE comment_subid = '".$bgPid."'" 
) 
); 

$bgSiteLink sidelinkfull$bgSiteLinkCountbgConfigSiteComments$bgCommentEntities'include.php?path=galerie/comment.php&pid='.$bgPid'small' 
); 
eval ("\$bgCommentSiteLinkOut= \"".getTemplate("galerie/sidelink")."\";"); 

$bgCommentOutDb $DB->query"SELECT 
user_id, 
user_nick, 
user_avatar, 
comment_date, 
comment_text, 
comment_id 
FROM ".$db_tab['gal_comment']." 
LEFT JOIN ".$db_tab['user']." 
ON user_id = comment_user 
WHERE comment_subid = '".$bgPid."' 
ORDER BY comment_date DESC 
LIMIT ".$bgCommentEntities.", ".bgConfigSiteComments."" 
); 

while($bgCommentOut $DB->fetch_array($bgCommentOutDb)){ 

if($bgCommentOut['user_id']> 0){ 
$bgCommentUser "<a href=\"include.php?path=login/userinfo.php&id=".$bgCommentOut['user_id']."\" class=\"small\">".$bgCommentOut['user_nick']."</a>"; 
if(isonline($bgCommentOut['user_id'])){ 
eval ("\$bgCommentOnline = \"".getTemplate("member_os_online")."\";"); 
} 
else{ 
eval ("\$bgCommentOnline = \"".getTemplate("member_os_offline")."\";"); 
} 
if ($bgCommentOut['user_avatar'] != "" && filecheck($config['avatar_path'].'/'.$bgCommentOut['user_avatar'])) { 
$bgCommentAvatarDimension = @getimagesize($config['avatar_path']."/".$userinfo['user_avatar']); 
$bgCommentAvatar "<img border=\"0\" hspace=\"0\" vspace=\"0\" ".$bgCommentAvatarDimension[3]." src=\"".$config['avatar_path']."/".$bgCommentOut['user_avatar']."\" alt=\"".$bgCommentOut['user_nick']."`s alternatives Ego\" />"; 
} 
else{$bgCommentAvatar "";} 
} 
else{ 
$bgCommentUser "<font class=\"small\">Gast</font>"; 
eval ("\$bgCommentOnline = \"".getTemplate("guest_os_icon")."\";"); 
} 

if($bgCommentOut['user_id'] == $USER['id'] || $USER['status'] == "admin"){ 
$bgCommentOption "<a href=\"include.php?path=galerie/commentdel.php&cid=".$bgCommentOut['comment_id']."\"><img src=\"images/delete.gif\" border=\"0\"></a> <a href=\"include.php?path=galerie/commentedit.php&cid=".$bgCommentOut['comment_id']."\"><img src=\"images/edit.gif\" border=\"0\"></a>"; 
} 

$bgCommentDate formattime($bgCommentOut['comment_date']); 

$bgCommentText $PARSE->parse($bgCommentOut['comment_text'], 01111); 

$bgCommentOutClass rowcolor($bgCommentOutClass); 
eval ("\$bgCommentRow .= \"".getTemplate("galerie/comment_row")."\";"); 
} 

$bgCommentHeadNav $bg->headNavi($bgComment['cat_id']); 
eval ("\$site_body.= \"".getTemplate("galerie/comment")."\";"); 
} 
else{ 
$event=1; include("admin/config/event.php"); 
} 
} 
else{ 
$event=1; include("admin/config/event.php"); 
} 
?>




und die comment_post.htm sollte so aussehen: (siehe Zeile 24-42)

Quellcode

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
<script language="Javascript" src="misc/mycode.js"></script> 
<form name="myform" method="post" action="include.php?path=galerie/comment.php&pid=$bgPid"> 
<input type="hidden" name="mode" value="0" onfocus="mymode()" /> 
<input type="hidden" name="mode" value="0" onfocus="mymode()" /> 
<tr> 
<td width="15%" class="left" valign="top">Kommentar</td> 
<td width="85%" class="right"> 
<table border="0" width="100%" cellpadding="0" cellspacing="2"> 
<tr> 
<td width="80%" valign="top"> 
<textarea name="content" cols="15" rows="10" style="width: 100%" wrap="soft" onfocus="myselection(this)" onclick="myselection(this)" onchange="myselection(this)"></textarea> 
</td> 
<td width="20%" valign="top"> 
<table class="bbsmilies" border="0" cellpadding="0" cellspacing="2" width="145"> 
<tr> 
<td valign="top">$bgCommentFormat</td> 
</tr> 
</table> 
</td> 
</tr> 
</table> 
</td> 
</tr> 
<!-- *** KNS V2 | Idee: Onkel Hotte | Umsetzung: Kit-Security.de | (c) 2007 *** --> 
<script type="text/javascript"> 
// org. function from PHPKit 1.6.4 
function pkCaptchaReload() 
{ 
now = new Date(); 
document.getElementById('captchaIMG').src='include.php?captcha&' + now.getTime();; 
} 
</script> 
<tr> 
<td class="left" colspan="" align="center"> 
<a href="javascript:pkCaptchaReload();"><img border="0" height="30" width="120" id="captchaIMG" src="include.php?captcha"></a> 
</td> 
<td class="right" colspan="3"> 
<input maxlength="6" name="inputchars" size="6" type="text"> 
&nbsp;Bitte geben Sie zur Bestätigung den Code ein, der ihnen links angezeigt wird. 
</td> 
</tr> 
<!-- *** EOS *** --> 
<tr> 
<td class="heads" align="center" colspan="2"> 
<input name="submit" type="submit" value="Speichern"> 
<input name="sign" type="hidden" value="commentSend"> 
</td> 
</tr> 
</form>


Ergänzt am besten Eure eigenen Dateien mit den fehlenden Zeilen und macht wie immer vorher eine Sicherung beider Dateien. Meine comment_post.htm kann zum Beispiel von anderen wegen meiner geänderten Javascript Zeile 1 abweichen.

Viel Spass mit dem NOSPAM V2 in eurer BILDERGALERIE V2.2

Gruss Bernardo :D
http://www.schwarzerdrache.info
Es ist nicht deine Schuld, das die Welt ist wie sie ist. Es wär nur deine Schuld, wenn sie so bleibt.
  • Zum Seitenanfang
  • Zum Seitenende

deepnight Männlich

findet sich zurecht

Beiträge: 134

Geschlecht: Männlich

Wohnort: HH

PHPKIT Version: 1.6.03

5

Montag, 20. April 2009, 08:49

ja is ja ma geil.

bin nun endlich auch mal auf die 2.2 umgestiegen (auf ner seite vom kumpel) und da kommt deine Lösung genau richtig ;)

DANKE fürs freigeben deiner 2 Dateien ;)
  • Zum Seitenanfang
  • Zum Seitenende