Etiketler: eklenti türkçeleştirme
| Author | Message |
Sender
334 posts |
#5085 2007-07-25 22:05 GMT |
|
contactus'ı iletişim yaptım ama hatalar oluor.Config flan cıkmıor bi kere yaptım cıktı ama mail girince cıkmıo fln bakabilirmisiniz bi? http://rapidshare.com/files/45004715/iletisim.rar.html |
|
Xiao
866 posts |
#5091 2007-07-26 10:32 GMT |
|
iletisim.php yi bununla değiştir.
Code: <?PHP
/* ==================== Seditio - Website engine Copyright Neocrome http://www.neocrome.net [BEGIN_LDU] File=plugins/extended/iletisim/iletisim.php Version=102 Updated=2006-apr-24 Type=Plugin Author=Neocrome Description= [END_LDU] [BEGIN_LDU_EXTPLUGIN] Code=iletisim Part=main File=iletisim Hooks=standalone Tags= Minlevel=0 Order=10 [END_LDU_EXTPLUGIN] ==================== */ if (!defined('LDU_CODE') || !defined('LDU_PLUG')) { ldu_diefatal('Wrong URL.'); } $a = cv('a','P','ALP'); $recipient = cv('recipient','P','INT'); $subject = cv('subject','P','INT'); $message = cv('message','P','TXT'); if (empty($message)) { $message = cv('message','G','TXT'); } $name = cv('name','P','STX'); $email = cv('email','P','STX'); $mailverify = cv('mailverify','P','TXT'); $plugin_title = $L['plu_title']; if ($a=="send") { if (!is_numeric($recipient) || !is_numeric($subject) || empty($message) || empty($name) || empty($email)) { $error = $L['plu_empty']."<br />\n"; } if (!ereg("([[:alnum:]\.\-]+)(\@[[:alnum:]\.\-]+\.+)", $email)) { $error .= $L['plu_wrongemail']."<br />\n"; } require("inc/php-captcha.inc.php"); if (!PhpCaptcha::Validate($mailverify)) { $error .= $L['plu_wrongimg']."<br /> } if (empty($error)) { ldu_shieldprotect(); $cfgrecipients = explode(";", $cfg['plugin']['iletisim']['email']); $rectr = trim($cfgrecipients[$recipient]); $cfgsubjects = explode(";", $cfg['plugin']['iletisim']['subjects']); $subrt = trim($cfgsubjects[$subject]); $headers = ("From: ".$name." <".$email.">\n"."Reply-To: <".$email.">\n"."Content-Type: text/plain; charset=".$cfg['charset']."\n"); $body = $L['plu_notice']." ".$name."\n"; $body .= $L['plu_message'].": \n\n".$message; ldu_mail($rectr, $subrt, $body, $headers); $ok = $L['plu_ok']; unset($recipient, $subject, $message, $name, $email); ldu_shield_update(60, "New message"); } } if (!empty($error)) { $plugin_body .= "<span style=\"color: #FF0000;\">".$error."</span>"; } if (!empty($ok)) { $plugin_body .= "<span>".$ok."</span>"; } $plugin_body .= "<form action=\"plug.php?e=iletisim\" method=\"post\">\n"; $plugin_body .= "<table class=\"cells\">"; $plugin_body .= "<tr><td>".$L['plu_recipient'].": </td><td>"; //Build recipients array and selectbox $cfgrecipients = explode(";", $cfg['plugin']['iletisim']['email']); $plugin_body .= "<select name=\"recipient\">\n"; $iii=0; foreach($cfgrecipients as $x) { if (!empty($x)) { $recipients[$iii] = trim($x); $whatdel = strrchr($recipients[$iii], "<"); $recipients[$iii] = str_replace($whatdel, "", $recipients[$iii]); $recipients[$iii] = trim($recipients[$iii]); if ($iii==$recipient || (empty($recipient) && $iii==0)) { $plugin_body .= "<option value=\"".$iii."\" selected=\"selected\">".$recipients[$iii]."</option>\n"; } else { $plugin_body .= "<option value=\"".$iii."\">".$recipients[$iii]."</option>\n"; } $iii++; } } $plugin_body .= "</select>\n"; $plugin_body .= "</td></tr>"; $plugin_body .= "<tr><td>".$L['plu_subject'].": </td><td>"; //Build subjects array and selectbox $cfgsubjects = explode(";", $cfg['plugin']['iletisim']['subjects']); $plugin_body .= "<select name=\"subject\">\n"; $iii=0; foreach($cfgsubjects as $x) { if (!empty($x)) { $subjects[$iii] = trim($x); if ($iii==$subject || (empty($subject) && $iii==0)) { $plugin_body .= "<option value=\"".$iii."\" selected=\"selected\">".$subjects[$iii]."</option>\n"; } else { $plugin_body .= "<option value=\"".$iii."\">".$subjects[$iii]."</option>\n"; } $iii++; } } $plugin_body .= "</select>\n"; $plugin_body .= "</td></tr>\n"; $plugin_body .= "<tr><td>".$L['plu_sendername'].": </td><td>\n"; $inname = (empty($name)) ? $usr['name'] : ldu_cc($name); $plugin_body .= "<input type=\"text\" name=\"name\" value=\"".$inname."\" size=\"32\" maxlength=\"64\" class=\"text\" />\n"; $plugin_body .= "</td></tr>\n"; $plugin_body .= "<tr><td>".$L['plu_sendermail'].": </td><td>\n"; $inemail = (empty($email)) ? $usr['profile']['user_email'] : ldu_cc($email); $plugin_body .= "<input type=\"text\" name=\"email\" value=\"".$inemail."\" size=\"32\" maxlength=\"64\" class=\"text\" />\n"; $plugin_body .= "</td></tr>\n"; $plugin_body .= "<tr><td>".$L['plu_message'].": </td><td>\n"; $plugin_body .= "<textarea cols=\"48\" rows=\"8\" name=\"message\">".ldu_cc($message)."</textarea>\n"; $plugin_body .= "</td></tr>\n"; $plugin_body .= "<tr><td>".$L['plu_imgverify'].": </td><td>\n"; $plugin_body .= "<img src='plugins/extended/iletisim/inc/captcha.php' width='200' height='60' alt='CAPTCHA'>\n"; $plugin_body .= "</td></tr>\n"; $plugin_body .= "<tr><td>".$L['plu_mailverify'].": </td><td>\n"; $plugin_body .= "<input name=\"mailverify\" type=\"text\" id=\"mailverify\" size=\"10\" maxlength=\"6\">\n"; $plugin_body .= "</td></tr>\n"; $plugin_body .= "<tr><td colspan=\"2\" align=\"center\">\n"; $plugin_body .= "<input type=\"hidden\" name=\"a\" value=\"send\" />\n"; $plugin_body .= "<input type=\"submit\" class=\"submit\" value=\"".$L['plu_send']."\" />\n"; $plugin_body .= "</td></tr>\n"; $plugin_body .= "</table>\n"; $plugin_body .= "</form>\n"; ?> |
|
|
Haziran 2008 Seditio Site Yar??mas? >> http://www.seditione.com
|
|
Sender
334 posts |
#5095 2007-07-26 12:19 GMT |
|
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING 62 satır yüzünden su hatayı veriyor. |
|
Xiao
866 posts |
#5096 2007-07-26 12:34 GMT |
|
bana orjinal eklentiyi yolla!
|
|
|
Haziran 2008 Seditio Site Yar??mas? >> http://www.seditione.com
|
|
Sender
334 posts |
#5097 2007-07-26 12:42 GMT |
Xiao
866 posts |
#5098 2007-07-26 13:13 GMT |
|
Haziran 2008 Seditio Site Yar??mas? >> http://www.seditione.com
|
|
Sender
334 posts |
#5100 2007-07-26 15:01 GMT |
|
saolsın math1ens olmus ama yazdıgım mail'e iletiyi yollamıyor
This post was edited by Sender (2007-07-26 15:30 GMT, 409 Gün ago) |
|
Xiao
866 posts |
#5103 2007-07-26 17:11 GMT |
Quote php den pek fazla anlamadığım için bu konuda yardımcı olamicam.Dvdbil i beklemeni tavsiye ederim... |
|
|
Haziran 2008 Seditio Site Yar??mas? >> http://www.seditione.com
|
|
Dvdbil
2,179 posts |
#5104 2007-07-26 17:34 GMT |
|
Herhangi bir hata vermiyorsa, mail sunucusunda bir sorun vardır yada *hotmail gibi adreslere gönderiyorsan blacklist'te olabilir sunucu ip.. |
|
Seditiocu
14 posts |
#26783 2008-05-16 12:29 GMT |
|
Linkler Kirık :S
|
|
Benzer konular (Similar topics) #BETA
| Konular | Mesajlar | Son Yazar | Güncelleme |
| Eklenti Türkçeleştirme | 7 | Kaan | 397 Gün |
| Türkçeleştirme | 2 | Dvdbil | 443 Gün |
| Belagio türkçeleştirme | 6 | Dvdbil | 388 Gün |
| Türkçeleştirme yaparken.. | 5 | Sender | 414 Gün |
| eklenti | 2 | Dvdbil | 535 Gün |






