|
»Forumlar »SE ? Support
»contack sorunu
https://seditio.com.tr/eski1/forums.php?m=posts&q=1270 |
| Author: kors@n, Posted: 2011-02-14 22:29 GMT. This post was edited by cakalan (2011-02-14 22:33 GMT, 5552 Gün ago) |
|
hocam bu contack eklentisi ?ok g?zel bi?iye benziyor ama ben bunu nas?l kullan?r?m ??zemedim a??k?as? bir tane ?rnek verebilirmisiniz buraya onun ?zerinden y?r?sek son mesaj 4 dakika ?nce ne yapt?sam hi? bi?i ??km?yor bom bo? sayfa ??k?yor |
| Author: Kaan, Posted: 2011-02-15 00:10 GMT. |
|
?ncelikle eklentiyi kurdukdan sonra d?zenle b?l?m?nde ilk kutuya mail@site.com,diger@site.com ?eklinde giriceksin virg?l (,)ile ay?rarak. Alttaki kutuya mail adreslerinin kar??l?g? gelicek. ?lk mail Adresinin Kar??l?g? olarak Site Y?neticisi yaz. 2.ci mail adresi kar??l???na istedi?ini yaz virg?l (,)ile ay?rarak. Kullan?m? ??yle olcak ?nce mail adresi ilk kutuya alttaki kutuya kar??l??? gelicek. |
| Author: kors@n, Posted: 2011-02-15 01:41 GMT. |
| yok usta benim eklentide sorun var san?r?m yapt?m dediklerini ama bombo? sayfa ??k?yor yine bendeki 151 s?r?m? senin siteden indirdim i?inde haz?r vard? acaba ba?ka bir hata olabilirmi |
| Author: Kaan, Posted: 2011-02-15 01:58 GMT. |
| tamam ?imdi anlad?m tema i?erisine bak bakim contact.tpl varm?.? |
| Author: kors@n, Posted: 2011-02-15 02:01 GMT. |
yok ![]() |
| Author: Kaan, Posted: 2011-02-15 02:10 GMT. |
| yoksa eklenti i?erisinde var onu kes yada kopyala tema i?erisine at hepsi bu kadar. |
| Author: kors@n, Posted: 2011-02-15 02:14 GMT. |
|
eklentinin i?inde tpl dosyas? yok ?unlar var hangisini al?cam tpl yapmak i?in contact.setup.php contact.php contact.en.lang.php |
| Author: Kaan, Posted: 2011-02-15 02:28 GMT. |
|
Alttaki kodlar? plugin.standalone.contact.tpl olarak kaydet. Kod: <!-- BEGIN: MAIN --> <div id="title_back"> <div id="title"> {PLUGIN_CONTACT_TITLE} </div> <div id="subtitle"> {PLUGIN_CONTACT_EXPLAIN} </div> </div> <div id="main"> <!-- BEGIN: PLUGIN_CONTACT_ERROR --> <div class="error"> {PLUGIN_CONTACT_ERROR_BODY} </div> <!-- END: PAGEADD_ERROR --> <form action="{PLUGIN_CONTACT_FORM}" method="post" name="sendmail"> <table class="cells"> <tr> <td>{PLUGIN_CONTACT_RECIPIENTS_TITLE} : </td> <td> {PLUGIN_CONTACT_RECIPIENTS} </td> </tr> <tr> <td>{PLUGIN_CONTACT_EMAIL_TITLE} : </td> <td>{PLUGIN_CONTACT_EMAIL} * </td> </tr> <tr> <td>{PLUGIN_CONTACT_NAME_TITLE} :</td> <td>{PLUGIN_CONTACT_NAME} *</td> </tr> <tr> <td>{PLUGIN_CONTACT_PHONE_TITLE} :</td> <td>{PLUGIN_CONTACT_PHONE}</td> </tr> <tr> <td>{PLUGIN_CONTACT_SUBJECT_TITLE} :</td> <td>{PLUGIN_CONTACT_SUBJECT} *</td> </tr> <tr> <td>{PLUGIN_CONTACT_BODY_TITLE} :</td> <td>{PLUGIN_CONTACT_BODY} *</td> </tr> <tr> <td colspan="2">{PLUGIN_CONTACT_REQUIRED}</td> </tr> <tr> <td colspan="2" style="text-align:center;">{PLUGIN_CONTACT_ANTISPAM}</td> </tr> <tr> <td colspan="2" style="text-align:center;"> <input type="submit" class="submit" value="{PLUGIN_CONTACT_SEND}" /></td> </tr> </table> </form> </div> <!-- END: MAIN --> |
| Author: kors@n, Posted: 2011-02-15 11:30 GMT. This post was edited by cakalan (2011-02-15 11:31 GMT, 5552 Gün ago) |
|
te?ekk?r ederim ?stat ta bu Recipient : bundan hemen alt?na bir tane daha nas?l olu?turabilirim vede alttaki extra alanlar? ?al??t?ramad?m bir t?rl? onlara farkl? bir giri?mi yapmam?z gerekiyor son mesaj 36 saniye Recipient : contacus taki gibi onda iki tane var ya bundada ayn?s?n? yapmak istiyorum |
| Author: Kaan, Posted: 2011-02-15 19:32 GMT. |
Alıntı |
| Author: kors@n, Posted: 2011-02-15 19:38 GMT. |
|
tamam onu ?stteki 2 kutuya yapt?m ?al???yor alttaki kutularada farkl? yapt?m ama ?al??m?yor a?a??daki b?l?mler ?al??mad? usta onu sordum yard?mc? olabilirsen sevinirim ?rnek olarakta nas?l yapt???m? yazd?m anlatt???n?z bi?imde Also send a copy to this email : Also send a copy to this email : Extra slot #1 / {PLUGIN_CONTACT_EXTRA1} in skins/.../plugin.standalone.contact.tpl : ali@hotmail.com,ahmet@hotmail.com Extra slot #2 / {PLUGIN_CONTACT_EXTRA2} in skins/.../plugin.standalone.contact.tpl : y?netici,alim Extra slot #3 / {PLUGIN_CONTACT_EXTRA2} in skins/.../plugin.standalone.contact.tpl : |
| Author: Kaan, Posted: 2011-02-15 19:52 GMT. |
|
/plugin.standalone.contact.tpl ye etiketleri ekle ?al???cakt?r. {PLUGIN_CONTACT_EXTRA1} {PLUGIN_CONTACT_EXTRA2} Extra alanlarda ?al??maz onlar sen alttakine yapt?klar?n? di?erlerine uygula. 1.ci kutuya istedi?in kadar email adresi yazabilirsin virg?l ile ay?rarak ve alttaki kutuya s?ras?yla mail adreslerinin kar??l?g?n? yaz?caks?n. Extra alanlar ba?ka ?zellikler i?in. |
| Author: kors@n, Posted: 2011-02-15 19:56 GMT. |
| ?ok te?ekk?r ederim hocam yaaa asl?nda benim istedi?im ?u e?er ?cretsizse alacak param yok ??nk? ben bunu ?oklu yapmak istememin sebebi online sipari? forumu yapmak istiyorum asl?nda o y?zden yani sepete at de?ilde buradan se?ip yollayacak k?smende oldu asl?nda ama sadece b?l?mleri ?ok lu kullanabilmem laz?m o m?mk?nm? yani yukar?daki o iki kutuyu ?o?altabilirmiyim |
| Author: Kaan, Posted: 2011-02-15 20:00 GMT. |
| Oraya ?r?n isimlerimi yaz?caks?n.? |
| Author: kors@n, Posted: 2011-02-15 20:05 GMT. |
|
evet usta aynen ole olduda tam istedi?im gibi ama tek eksik ?oklu olmas? laz?m yani Extra slot #1 / {PLUGIN_CONTACT_EXTRA1} in skins/.../plugin.standalone.contact.tpl : ali@hotmail.com,ahmet@hotmail.com Extra slot #2 / {PLUGIN_CONTACT_EXTRA2} in skins/.../plugin.standalone.contact.tpl : y?netici,alim bu ikisindem 5 6 tane olmas? laz?m ozaman tam istedi?imiz oluyor |
| Author: Kaan, Posted: 2011-02-15 20:14 GMT. |
|
contact.php yi a? alttakini bul Kod: "PLUGIN_CONTACT_EXTRA3" => $cfg['plugin']['contact']['extra3'], bunun alt?an istedi?in kadar extra alan ekle daha sonra setup dosyas?n? a? Kod: extra3=7:text:::Extra slot #3 / {PLUGIN_CONTACT_EXTRA2} in skins/.../plugin.standalone.contact.tpl Bunun alt?nada istedi?in kadar ekle yanl?z php dosyas?na ne kadar eklemi?sen setup dosyas?na o kadar eklemen gerekiyor. Eklentiyi tekrar kurdugun zaman aktif olacakt?r ?zellikler. |
| Author: kors@n, Posted: 2011-02-15 20:23 GMT. |
| harfiyen yapt?m hocada tpl de extralar? nereye ekleyecem onu bulamad?m |
| Author: Kaan, Posted: 2011-02-15 20:40 GMT. |
| Di?er eklediklerinin alt?na ekle yada uygun nereyi g?r?yorsan oraya ekle |
| Author: kors@n, Posted: 2011-02-15 20:46 GMT. This post was edited by Kaan (2011-02-15 21:01 GMT, 5551 Gün ago) |
|
burada hata yapt?m galiba usta bi bakabilirmisin bu do?rumu oldu : hp]<?PHP /* ==================== Seditio - Website engine Copyright Neocrome http://www.neocrome.net [BEGIN_SED] File=plugins/contact/contact.setup.php Version=130 Updated=2010-feb-05 Type=Plugin Author=Neocrome Description= [END_SED] [BEGIN_SED_EXTPLUGIN] Code=contact Name=Contact Description= Version=130 Date=2010-feb-05 Author=Neocrome Copyright= Notes= SQL= Auth_guests=RW Lock_guests=12345A Auth_members=RW Lock_members=12345A [END_SED_EXTPLUGIN] [BEGIN_SED_EXTPLUGIN_CONFIG] emails=1:text:::Emails, separated by commas recipients=2:text:::Names of the recipients, separated by commas, in the same order as the emails admincopy1=3:string:::Also send a copy to this email admincopy2=4:string:::Also send a copy to this email extra1=5:text:::Extra slot #1 / {PLUGIN_CONTACT_EXTRA1} in skins/.../plugin.standalone.contact.tpl extra2=6:text:::Extra slot #2 / {PLUGIN_CONTACT_EXTRA2} in skins/.../plugin.standalone.contact.tpl extra3=7:text:::Extra slot #3 / {PLUGIN_CONTACT_EXTRA3} in skins/.../plugin.standalone.contact.tpl extra4=8:text:::Extra slot #4 / {PLUGIN_CONTACT_EXTRA4} in skins/.../plugin.standalone.contact.tpl extra5=9:text:::Extra slot #5 / {PLUGIN_CONTACT_EXTRA5} in skins/.../plugin.standalone.contact.tpl extra6=10:text:::Extra slot #6 / {PLUGIN_CONTACT_EXTRA6} in skins/.../plugin.standalone.contact.tpl extra7=11:text:::Extra slot #7 / {PLUGIN_CONTACT_EXTRA7} in skins/.../plugin.standalone.contact.tpl [END_SED_EXTPLUGIN_CONFIG] ==================== */ if (!defined('SED_CODE')) { die('Wrong URL.'); } ?> |
| Author: Kaan, Posted: 2011-02-15 21:03 GMT. |
| Dogru hepsi |
| Author: kors@n, Posted: 2011-02-15 21:20 GMT. |
|
bi yerde hata var yada eksik yap?yorum yada tpl de extralar hatal? yerde bak b?yle oluyor usta |
| Author: Kaan, Posted: 2011-02-15 21:28 GMT. |
| Eklentiyi yeniden kurmam??s?nki ?al??s?n ?zellikler eklentiyi kald?r yeniden kur ve bana contact.php ye ekledigin kodlar? g?ster. |
| Author: kors@n, Posted: 2011-02-15 21:32 GMT. |
|
bir?ey de?i?medi usta ve ben o eklentiyi yeniden kurup resim ?ektim bu da contac.php Kod: <?PHP /* ==================== Seditio - Website engine Copyright Neocrome http://www.neocrome.net [BEGIN_SED] File=plugins/contact/contact.php Version=130 Updated=2010-feb-05 Type=Plugin Author=Neocrome Description= [END_SED] [BEGIN_SED_EXTPLUGIN] Code=contact Part=main File=contact Hooks=standalone Tags= Order=10 [END_SED_EXTPLUGIN] ==================== */ if (!defined('SED_CODE') || !defined('SED_PLUG')) { die('Wrong URL.'); } $id = sed_import('id','G','INT'); $sender_email = sed_import('sender_email','P','HTM'); $sender_name = sed_import('sender_name','P','HTM'); $sender_tel = sed_import('sender_tel','P','HTM'); $sender_subject = sed_import('sender_subject','P','HTM'); $sender_message = sed_import('sender_message','P','HTM'); $sender_recip = sed_import('sender_recip','P','INT'); $sender_tarp = sed_import('sender_tarp','P','TXT',8); $sender_key = sed_import('sender_key','P','TXT',8); $sender_fak = sed_import('sender_fak','P','TXT',8); unset($error, $message); $antispam_key = array(); $cfg_emails = explode (",", $cfg['plugin']['contact']['emails']); $cfg_names = explode (",", $cfg['plugin']['contact']['recipients']); if ($a=='send') { if (!empty($sender_tarp)) { die("Die stupid spambot DIE DIE DIE !"); } if ($sender_key != strrev(str_replace('.', '',$sender_fak))) { $error .= $L['plu_antispam']."<br />"; } if (empty($sender_email) || empty($sender_name) || empty($sender_subject) || empty($sender_message)) { $error .= $L['plu_fieldempty']."<br />"; } if (!ereg("([[:alnum:]\.\-]+)(\@[[:alnum:]\.\-]+\.+)", $sender_email) ) { $error .= $L['plu_wrongentry']."<br />"; } if (empty($error)) { $fheaders = ("From: ".$sender_email."\n"); $fbody = $L['plu_notice']; $fbody .= $sender_name."\n".$L['plu_email_title']." : ".$sender_email."\n".$L['plu_phone_title']." : ".$sender_tel."\n\n"; $fbody .= $L['plu_message_title']." : \n\n".$sender_message; sed_mail($cfg_emails[$sender_recip], $sender_subject, $fbody, $fheaders); if (!empty($cfg['plugin']['contact']['admincopy1'])) { sed_mail(trim($cfg['plugin']['contact']['admincopy1']), "COPY : ".$sender_subject, $fbody, $fheaders); } if (!empty($cfg['plugin']['contact']['admincopy2'])) { sed_mail(trim($cfg['plugin']['contact']['admincopy2']), "COPY : ".$sender_subject, $fbody, $fheaders); } header("Location: plug.php?e=contact&a=done"); exit; } } elseif ($a=='done') { $message = "<div class=\"error\">".$L['plu_sent']."</div>"; unset($sender_email, $sender_name, $sender_subject, $sender_message, $sender_recip); } // ====================================================== $error_string = (!empty($error)) ? $error.$L['plu_notsent'] : ''; $error_string .= (!empty($message)) ? $message : ''; $recipients = "<select name=\"sender_recip\">\n"; foreach($cfg_emails as $k => $i) { $selected = ($i==$id) ? "selected=\"selected\"" : "" ; $recipients .= "<option value=\"".$k."\" $selected >".trim($cfg_names[$k])."</option>\n"; $i++; } $recipients .= "</select>\n"; $sender_email = (empty($sender_email) && !empty($usr['profile']['user_email'])) ? $usr['profile']['user_email'] : $sender_email; $sender_name = (empty($sender_name) && $usr['id']>0) ? $usr['name']: $sender_name; for ($i = 1; $i <= 3; $i++) { $antispam_key [] = rand(1,9); } $antispam_fak = array_reverse($antispam_key); $antispam_key = implode ('.', $antispam_key); $antispam_fak = implode ('.', $antispam_fak); $antispam .= " <strong>".$antispam_key."</strong> "; $antispam .= "<input type=\"text\" class=\"text\" name=\"sender_key\" value=\"\" size=\"8\" maxlength=\"8\" />"; $antispam .= "<input type=\"hidden\" name=\"sender_fak\" value=\"".$antispam_fak."\" /></div>"; // ====================================================== if (!empty($error_string)) { $t->assign("PLUGIN_CONTACT_ERROR_BODY",$error_string); $t->parse("MAIN.PLUGIN_CONTACT_ERROR"); } $t->assign(array( "PLUGIN_CONTACT_TITLE" => "<a href=\"plug.php?e=contact\">".$L['plu_title'] ."</a>", "PLUGIN_CONTACT_EXPLAIN" => $L['plu_explain'], "PLUGIN_CONTACT_FORM" => " plug.php?e=contact&a=send", "PLUGIN_CONTACT_RECIPIENTS_TITLE" => $L['plu_recipients_title'], "PLUGIN_CONTACT_RECIPIENTS" => $recipients, "PLUGIN_CONTACT_EMAIL_TITLE" => $L['plu_email_title'], "PLUGIN_CONTACT_EMAIL" => "<input type=\"text\" class=\"text\" name=\"sender_email\" value=\"".sed_cc($sender_email)."\" size=\"32\" maxlength=\"64\" />", "PLUGIN_CONTACT_NAME_TITLE" => $L['plu_name_title'], "PLUGIN_CONTACT_NAME" => "<input type=\"text\" class=\"text\" name=\"sender_name\" value=\"".sed_cc($sender_name)."\" size=\"32\" maxlength=\"64\" />", "PLUGIN_CONTACT_PHONE_TITLE" => $L['plu_phone_title'], "PLUGIN_CONTACT_PHONE" => "<input type=\"text\" class=\"text\" name=\"sender_tel\" value=\"".sed_cc($sender_tel)."\" size=\"32\" maxlength=\"18\" /></td>", "PLUGIN_CONTACT_SUBJECT_TITLE" => $L['plu_subject_title'], "PLUGIN_CONTACT_SUBJECT" => "<input type=\"text\" class=\"text\" name=\"sender_subject\" value=\"".sed_cc($sender_subject)."\" size=\"48\" maxlength=\"64\" />", "PLUGIN_CONTACT_BODY_TITLE" => $L['plu_message_title'], "PLUGIN_CONTACT_BODY" => "<textarea cols=\"48\" rows=\"8\" name=\"sender_message\">".sed_cc($sender_message)."</textarea><input type=\"text\" class=\"text\" name=\"sender_tarp\" value=\"\" size=\"20\" maxlength=\"20\" style=\"display:none;\"/>", "PLUGIN_CONTACT_REQUIRED" => $L['plu_required'], "PLUGIN_CONTACT_ANTISPAM" => $L['plu_verify'].$antispam, "PLUGIN_CONTACT_EXTRA1" => $cfg['plugin']['contact']['extra1'], "PLUGIN_CONTACT_EXTRA2" => $cfg['plugin']['contact']['extra2'], "PLUGIN_CONTACT_EXTRA3" => $cfg['plugin']['contact']['extra3'], "PLUGIN_CONTACT_EXTRA4" => $cfg['plugin']['contact']['extra4'], "PLUGIN_CONTACT_EXTRA5" => $cfg['plugin']['contact']['extra5'], "PLUGIN_CONTACT_EXTRA6" => $cfg['plugin']['contact']['extra6'], "PLUGIN_CONTACT_EXTRA6" => $cfg['plugin']['contact']['extra7'], "PLUGIN_CONTACT_SEND" => $L['plu_send'] )); ?> |
| Author: Kaan, Posted: 2011-02-15 21:57 GMT. |
|
Kod: "PLUGIN_CONTACT_EXTRA6" => $cfg['plugin']['contact']['extra6'], "PLUGIN_CONTACT_EXTRA6" => $cfg['plugin']['contact']['extra7'], Sorun g?r?nm?yor ?al??mas? gerekiyor. |
| Powered by Seditio | Print version |