Ninety-one Maro Posted March 16, 2012 Share Posted March 16, 2012 @@Mort-lemur I have tried to send emails through the admin control panel, nothing is received. I've even had people here and friends try to send emails through the web site, and still nothing. The email we are using is not the domain email address, it is the one through our internet provider. Quote Link to comment Share on other sites More sharing options...
oxwivi Posted March 18, 2012 Share Posted March 18, 2012 OK this contribution is a quick and dirty fix of pat of a 2.2 modification to work with 2.3.1 - it is still table driven. You need to modify the hex code in stylesheet css to add the hex code of the colours you require. the colour is controlled by this line: .infoBox { background: #ffffff; } Sorry for the late response. I changed the background color of all info related sections to the ones I'm using for my website. But certain areas are still blue, the same as in the screen shot. Quote Link to comment Share on other sites More sharing options...
Mort-lemur Posted March 18, 2012 Author Share Posted March 18, 2012 OK Try this - not tested so backup stylesheet.css first Find: TD.main, P.main { font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.5; } Change to: TD.main, P.main { font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.5; background: #000000; } Where #000000 is the hex code of the colour you want. Quote Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members. Link to comment Share on other sites More sharing options...
oxwivi Posted March 18, 2012 Share Posted March 18, 2012 (edited) Unfortunately that did not help either. EDIT Thinking a bit more, I remembered that for some reason it takes a whole day for stylesheet changes to be visible. So while I'm not holding my breath, I think it's possible the changes might show itself later. Edited March 18, 2012 by oxwivi Quote Link to comment Share on other sites More sharing options...
♥14steve14 Posted March 18, 2012 Share Posted March 18, 2012 Would anyone be able to point me to a contact_us for 2.2rc2a that actually works? perhaps a 2.2 version of this fine mod? every version in the add-ons I've been trying is broke or crappy... Thank you! Search the add ons there is one for 2.2 Quote REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
oxwivi Posted March 19, 2012 Share Posted March 19, 2012 Yes! @Mont-lemur, it worked! It required the combination of both of your .infobox and TD.main suggestions. Still, if you will allow me to bother you further, the Contact Us heading still appears blue. It's nothing major, but it's the last wrinkle on the shirt. Thank you for the addon and much-appreciated support! Quote Link to comment Share on other sites More sharing options...
Mort-lemur Posted March 19, 2012 Author Share Posted March 19, 2012 @@oxwivi Find: TD.pageHeading, DIV.pageHeading { font-family: Verdana, Arial, sans-serif; font-size: 20px; font-weight: bold; color: #9a9a9a; } Change to: TD.pageHeading, DIV.pageHeading { font-family: Verdana, Arial, sans-serif; font-size: 20px; font-weight: bold; color: #9a9a9a; background: #FFFFFF; } again where #FFFFFF is the hex code of the background colour you want. Quote Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members. Link to comment Share on other sites More sharing options...
Mort-lemur Posted March 19, 2012 Author Share Posted March 19, 2012 (edited) Unfortunately that did not help either. EDIT Thinking a bit more, I remembered that for some reason it takes a whole day for stylesheet changes to be visible. So while I'm not holding my breath, I think it's possible the changes might show itself later. That is strange - changes should be visible straight away. Have you tried refreshing your page using ctrl + F5 to force a server refresh? it may be your computer cache that is preventing the changes being seen. Edited March 19, 2012 by Mort-lemur Quote Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members. Link to comment Share on other sites More sharing options...
oxwivi Posted March 19, 2012 Share Posted March 19, 2012 Slight misunderstanding there--the background is okay, the color of the font itself was not. But changing the color option in that section corrected it, so thank you again! Quote Link to comment Share on other sites More sharing options...
oxwivi Posted March 19, 2012 Share Posted March 19, 2012 I'm sorry but here's something troubling for the brain to burn on again. The last thing I changed in osC code was moving the breadcrumb from header.php to template_top.php as described here. I did not change the contact_us.php as provided, and replacing it (from ECU package) again was no help either. I did face similar issues with an information page. That was because of an extra </div> tag, but there's nothing similar in contact_us language file. And it did work properly before. Does contact_us.php has defined it's div.padding thing or something? That's the only thing I can think of, in relation to my breadcrumb modification. Quote Link to comment Share on other sites More sharing options...
oxwivi Posted March 19, 2012 Share Posted March 19, 2012 (edited) It wasn't the div class at fault, but the breadcrumb code itself. Removing the code from template_top corrected the form... I can't fathom the cause of the conflict. The following be the entire source code as copied from Firefox after it loaded the page. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Mysite.com</title> <base href="http://www.mysite.com/" /> <link rel="stylesheet" type="text/css" href="ext/jquery/ui/swanky-purse/jquery-ui-1.8.17.css" /> <script type="text/javascript" src="ext/jquery/jquery-1.7.1.min.js"></script> <script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.8.17.min.js"></script> <script type="text/javascript" src="ext/jquery/bxGallery/jquery.bxGallery.1.1.min.js"></script> <link rel="stylesheet" type="text/css" href="ext/jquery/fancybox/jquery.fancybox-1.3.4.css" /> <script type="text/javascript" src="ext/jquery/fancybox/jquery.fancybox-1.3.4.pack.js"></script> <link rel="stylesheet" type="text/css" href="ext/960gs/960_24_col.css" /> <link rel="stylesheet" type="text/css" href="stylesheet.css" /> <style> div.padded { padding-top: 5px } </style> </head> <body> <div id="bodyWrapper" class="container_24"> <div id="header" class="grid_24"> <div id="storeLogo"><a href="http://www.mysite.com/index.php"><img src="images/store_logo.png" alt="Mysite.com" title=" Mysite.com " width="300" height="60" /></a></div> <div id="headerShortcuts"> <span class="tdbLink"><a id="tdb1" href="http://www.mysite.com/shopping_cart.php">Cart Contents</a></span><script type="text/javascript">$("#tdb1").button({icons:{primary:"ui-icon-cart"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><span class="tdbLink"><a id="tdb2" href="http://www.mysite.com/checkout_shipping.php">Checkout</a></span><script type="text/javascript">$("#tdb2").button({icons:{primary:"ui-icon-triangle-1-e"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><span class="tdbLink"><a id="tdb3" href="http://www.mysite.com/account.php">My Account</a></span><script type="text/javascript">$("#tdb3").button({icons:{primary:"ui-icon-person"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script> </div> <script type="text/javascript"> $("#headerShortcuts").buttonset(); </script> </div> <div id="bodyContent" class="grid_16 push_4"> <div class="grid_16 alpha ui-widget infoBoxContainer padded"> <div class="ui-widget-header infoBoxHeading"> <a href="http://www.mysite.com" class="headerNavigation">Home</a> » <a href="http://www.mysite.com/contact_us.php" class="headerNavigation">Contact Us</a></div> </div> <form name="contact_us" action="http://www.mysite.com/contact_us.php?action=send" method="post"> <table border="0" summary="" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" summary="" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading">Contact Us</td> </td> </tr> </table></td> </tr> <input type="hidden" name="phone" /> <tr> <td><table border="0" summary="" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td valign="top" width="40%"> <table> <tr> <td class="main" > <b>myshop<br /> mylocation<br /> mycountry<br /> myphone</b><br><br> <b>Office Hours:</b><br><table class="main"> <tr><td class="main">Monday to Thursday</td><td class="main">: 8h30 to 17h00</td></tr> <tr><td class="main">Friday</td><td class="main">: 8h30 to 16h00</td></tr> <tr><td class="main">Saturday</td><td class="main">: 8h30 to 16h00</td></tr> <tr><td class="main" colspan="2"><br /> Please use the form on the right to contact us with any comments or concerns.<br /><br /> Please ensure that you have checked our <a href=faq.php>FAQ section</a> first, as you may find the answers to your queries there.<br /><br /> We will reply as soon as we are able and will endeavor to reply within one day. </td></tr></table> </td> </tr> </table> </td><td valign="top" width="60%"><table border="0" summary="" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main">Full Name:</td> </tr> <tr> <td class="main"><input type="text" name="name" size="28" /></td> </tr> <tr> <td class="main">E-Mail Address:</td> </tr> <tr> <td class="main"><input type="text" name="email" size="28" /></td> </tr> <tr> <td class="main">Subject:</td> </tr> <tr> <td class="main"><input type="text" name="subject" size="28" /></td> </tr> <tr> <td class="main">Enquiry:</td> </tr> <tr> <td><textarea name="enquiry" cols="50" rows="15"></textarea></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><table border="0" summary="" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" summary="" width="100%" cellspacing="0" cellpadding="2"> <tr> <div class="buttonSet"> <span class="buttonAction"><span class="tdbLink"><button id="tdb4" type="submit">Continue</button></span><script type="text/javascript">$("#tdb4").button({icons:{primary:"ui-icon-triangle-1-e"}}).addClass("ui-priority-primary").parent().removeClass("tdbLink");</script></span> </div> </tr> </table></td> </tr> </table></td> </tr> </table></form></td> </div> <!-- bodyContent //--> <div id="columnLeft" class="grid_4 pull_16"> <div id="categoriesMenu"> <h3 onclick="location.href='http://www.mysite.com/index.php?cPath=1';"><a href="#">Abaya</a></h3> <div> <script type="text/javascript"> $(function() { $( "#categoriesMenu" ).accordion({ autoHeight: false, icons: { 'header': 'ui-icon-plus', 'headerSelected': 'ui-icon-minus' }, collapsible: true, active: false }); }); </script> </div> </div> <div class="ui-widget infoBoxContainer"> <div class="ui-widget-header infoBoxHeading">Quick Find</div> <div class="ui-widget-content infoBoxContents" style="text-align: center;"> <form name="quick_find" action="http://www.mysite.com/advanced_search_result.php" method="get"> <input type="text" name="keywords" size="10" maxlength="30" style="width: 75%" /> <input type="hidden" name="search_in_description" value="1" /><input type="image" src="includes/languages/english/images/buttons/button_quick_find.gif" alt="Quick Find" title=" Quick Find " /><br />Use keywords to find the product you are looking for.<br /><a href="http://www.mysite.com/advanced_search.php"><strong>Advanced Search</strong></a> </form> </div></div> <div class="ui-widget infoBoxContainer"> <div class="ui-widget-header infoBoxHeading"><a href="http://www.mysite.com/products_new.php">What's New?</a></div> <div class="ui-widget-content infoBoxContents" style="text-align: center;"><a href="http://www.mysite.com/product_info.php?products_id=333"><img src="images/products/Abaya/EN/EN-20sm.JPG" alt="EN-20" title=" EN-20 " width="100" height="80" /></a><br /><a href="http://www.mysite.com/product_info.php?products_id=333">EN-20</a><br />$45.00</div></div> <div class="ui-widget infoBoxContainer"> <div class="ui-widget-header infoBoxHeading">Information</div> <div class="ui-widget-content infoBoxContents"> <a href="http://www.mysite.com/shipping.php">Shipping & Returns</a><br /> <a href="http://www.mysite.com/conditions.php">Terms and Conditions</a><br /> <a href="http://www.mysite.com/contact_us.php">Contact Us</a><br /> <a href="http://www.mysite.com/faq.php">FAQ</a><br /> </div></div></div> <div id="columnRight" class="grid_4"> <div class="ui-widget infoBoxContainer"> <div class="ui-widget-header infoBoxHeading"><a href="http://www.mysite.com/shopping_cart.php">Shopping Cart</a></div> <div class="ui-widget-content infoBoxContents">0 items</div></div> <div class="ui-widget infoBoxContainer"> <div class="ui-widget-header infoBoxHeading"><a href="http://www.mysite.com/reviews.php">Reviews</a></div> <div class="ui-widget-content infoBoxContents">There are currently no product reviews</div></div></div> <div class="grid_24 footer"> <p align="center">Copyright © 2012 <a href="http://www.mysite.com/index.php">Mysite.com</a><br />Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a></p> </div> <script type="text/javascript"> $('.productListTable tr:nth-child(even)').addClass('alt'); </script> </div> <!-- bodyWrapper //--> </body> </html> Edited March 19, 2012 by oxwivi Quote Link to comment Share on other sites More sharing options...
Mort-lemur Posted March 19, 2012 Author Share Posted March 19, 2012 I think there is a conflict in the fact that your moved breadcrumb is trying to occupy the same space as the contact us pageheading ie these lines of code in contact_us.php <table border="0" summary="" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" summary="" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> </td> </tr> </table></td> </tr> As the contribution is table driven rather than by the usual grid system of 2.3.1 Play around with the above lines, maybe first remove them and see the impact on how the page displays, then maybe remove the first few lines etc. Quote Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members. Link to comment Share on other sites More sharing options...
oxwivi Posted March 19, 2012 Share Posted March 19, 2012 I replaced the bit of code you mentioned with the standard osC heading line: <h1><?php echo HEADING_TITLE; ?></h1> That did the trick. The whole experience with the Enhanced Contact Us has me wishing for someone kindred soul to upgrade it to 960 grids formathingy. I wish I knew enough to contribute... Quote Link to comment Share on other sites More sharing options...
♥14steve14 Posted March 20, 2012 Share Posted March 20, 2012 I have hopefully altered the standard 2.3.1 contact us page and added store details, opening hours and a message plus recaptcha the page is <?php /* $Id: contact_us.php,v 1.5 2010/02/02 Spooks Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2010 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CONTACT_US); // start modification for reCaptcha require_once('includes/classes/recaptchalib.php'); require_once('includes/recaptchakeys.php'); // end modification for reCaptcha $error = false; if (isset($_GET['action']) && ($_GET['action'] == 'send')) { $name = tep_db_prepare_input($_POST['name']); $email = tep_db_prepare_input($_POST['email']); $enquiry = tep_db_prepare_input($_POST['enquiry']); $subject = tep_db_prepare_input($_POST['subject']); $phone = tep_db_prepare_input($_POST['phone']); $date = 'Date Sent: ' . date("d M Y H:i:s"); $orders_id = tep_not_null($_POST['orders_id']) ? $_POST['orders_id'] : false; $xipaddress = $_SERVER["REMOTE_ADDR"]; $subject = $subject ? $subject : EMAIL_SUBJECT; // start modification for reCaptcha // the response from reCAPTCHA $resp = null; // was there a reCAPTCHA response? $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if (tep_validate_email($email) && ($resp->is_valid)) { $enquiry = MESSAGE_FROM . $name . "\n" . $date . "\n" . ($phone ? ENTRY_TELEPHONE_NUMBER . $phone . "\n" : '' ) . ($customer_id ? MAIL_CLIENT_ID . $customer_id . "\n" : '') . ($orders_id ? MAIL_ORDER_ID . $orders_id . "\n" : '') . "\n" . MAIL_IP . $xipaddress . '.' . "\n\n" . ENTRY_ENQUIRY . "\n" . $enquiry; tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, $subject, $enquiry, $name, $email); tep_redirect(tep_href_link(FILENAME_CONTACT_US, 'action=success')); } else { if (!$resp->is_valid) { $error = true; $messageStack->add('contact', ENTRY_SECURITY_CHECK_ERROR . " (reCAPTCHA output: " . $resp->error . ")"); } if (!tep_validate_email($email)) { $error = true; $messageStack->add('contact', ENTRY_EMAIL_ADDRESS_CHECK_ERROR); } } // } // end modification for reCaptcha //$enquiry = preg_replace('/\r/','\', \'',$enquiry); //$enquiry = preg_replace('/\(|\)/','\'',$enquiry); //$_POST['enquiry'] = $result; if (strlen($name) < ENTRY_LAST_NAME_MIN_LENGTH) { $error = true; $messageStack->add('contact', ENTRY_LAST_NAME_ERROR); } if (!$error) { $enquiry = MESSAGE_FROM . $name . "\n" . $date . "\n" . ($phone ? ENTRY_TELEPHONE_NUMBER . $phone . "\n" : '' ) . ($customer_id ? MAIL_CLIENT_ID . $customer_id . "\n" : '') . ($orders_id ? MAIL_ORDER_ID . $orders_id . "\n" : '') . "\n" . MAIL_IP . $xipaddress . '.' . "\n\n" . ENTRY_ENQUIRY . "\n" . $enquiry; tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, $subject, $enquiry, $name, $email); tep_redirect(tep_href_link(FILENAME_CONTACT_US, 'action=success')); } } $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CONTACT_US)); require(DIR_WS_INCLUDES . 'template_top.php'); ?> <h1><?php echo HEADING_TITLE; ?></h1> <?php if ($messageStack->size('contact') > 0) { echo $messageStack->output('contact'); } if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'success')) { ?> <div class="contentContainer"> <div class="contentText"> <?php echo TEXT_SUCCESS; ?> </div> <div style="float: right;"> <?php echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'triangle-1-e', tep_href_link(FILENAME_DEFAULT)); ?> </div> </div> <?php } else { ?> <?php echo tep_draw_form('contact_us', tep_href_link(FILENAME_CONTACT_US, 'action=send'), 'post', '', true); ?> <div class="contentContainer"> <div class="contentText"> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="40%"><?php echo nl2br(STORE_NAME_ADDRESS); ?><br><br> <?php echo (OPENING_HOURS); ?></td> <td width="60%"><?php echo TEXT_INFO; ?></td> </tr> <tr> <td class="fieldKey"><?php echo ENTRY_NAME; ?></td> <td class="fieldValue"><?php echo tep_draw_input_field('name'); ?></td> </tr> <tr> <td class="fieldKey"><?php echo ENTRY_EMAIL; ?></td> <td class="fieldValue"><?php echo tep_draw_input_field('email'); ?></td> </tr> <tr> <td class="fieldKey" valign="top"><?php echo ENTRY_ENQUIRY; ?></td> <td class="fieldValue"><?php echo tep_draw_textarea_field('enquiry', 'soft', 50, 15); ?></td> </tr> <?php // BOF: SLiCK reCaptcha if (RECAPTCHA_CONTACTUS == 'true') { ?> <tr> <td class="fieldKey" valign="top"><?php echo ENTRY_SECURITY_CHECK; ?></td> <td class="fieldValue"> <?php $languages_query = tep_db_query("select code from " . TABLE_LANGUAGES . " where directory = '" . (int)$language . "'"); $language_id = tep_db_fetch_array($languages_query); ?> <script type="text/javascript"> var RecaptchaOptions = { theme : '<?php echo RECAPTCHA_THEME ?>', tabindex : 3, lang : '<?php if (in_array($language_id['code'], array('en', 'es', 'de'))) { echo $language_id['code']; } else { echo 'en'; } ?>' }; </script> <?php // get the type of request (secure or not) $request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL'; if ($request_type == 'SSL') { echo recaptcha_get_html(RECAPTCHA_PUBLIC_KEY, null, ($request_type == 'SSL')); } else { echo recaptcha_get_html(RECAPTCHA_PUBLIC_KEY); } ?> </td></tr> <?php } // EOF: SLiCK reCaptcha ?> </table> </div> <div class="buttonSet"> <span class="buttonAction"><?php echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'triangle-1-e', null, 'primary'); ?></span> </div> </div> </form> <?php } require(DIR_WS_INCLUDES . 'template_bottom.php'); require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> I then added to the contact us language file define('TEXT_INFO', ' YOUR MESSAGE HERE '); define('OPENING_HOURS', ' <p><u><b>Opening hours</b></u></p> <table border="0" width="214"> <tr> <td width="76"><font size="1">Monday</font></td> <td><font size="1" color="#029CFE">09-00am - 05-30pm</font></td> </tr> <tr> <td width="76"><font size="1">Tuesday</font></td> <td><font size="1" color="#029CFE">09-00am - 07-30pm</font></td> </tr> <tr> <td width="76"><font size="1">Wednesday</font></td> <td><font size="1" color="#029CFE">09-00am - 05-30pm</font></td> </tr> <tr> <td width="76"><font size="1">Thursday</font></td> <td><font size="1" color="#029CFE">09-00am - 05-30pm</font></td> </tr> <tr> <td width="76"><font size="1">Friday</font></td> <td><font size="1" color="#029CFE">09-00am - 07-30pm</font></td> </tr> <tr> <td width="76"><font size="1">Saturday</font></td> <td><font size="1" color="#029CFE">09-00am - 01-00pm</font></td> </tr> <tr> <td width="76"><font size="1">Sunday</font></td> <td><font size="1" color="#029CFE">CLOSED</font></td> </tr> </table> Everything seems to work as it should. Quote REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
oxwivi Posted April 25, 2012 Share Posted April 25, 2012 Hi, does it have the same features as the current ECU ported from 2.2? I fixed the issues I had with the ported one, but still interested in a 'proper' 2.3 addon which works without issues out of the box. Quote Link to comment Share on other sites More sharing options...
kenkja Posted May 24, 2012 Share Posted May 24, 2012 Hi All, This seems to be just the add on I'm looking for, but, and you knew that was coming. As a relative newcomer to owning a website, I've always been really quite annoyed by reCaptcha becuase I never really understood what its purpose is, until reading the add on install.txt(s) So in the past I have, quite a number of times, just quitted a contact us because i had to enter a reCaptcha code, which honestly just seemed to be a pointless irritant, my guess is if I've felt that way then so have/will others. Is it possible to add an explanation of why the reCaptcha is necessary, say "We've added this function to purely stop automated spam e-mailers, if you go complete the reCaptcha section, we will know that you really did want to contact us and we will deal with your enquiry as soon as is possible" Ken Quote Os-commerce v2.3.3 Security Pro v11 Site Monitor IP Trap htaccess Protection Bad Behaviour Block Year Make Model Document Manager X Sell Star Product Modular Front Page Modular Header Tags Link to comment Share on other sites More sharing options...
Mort-lemur Posted May 24, 2012 Author Share Posted May 24, 2012 Hi, I added the re-captcha element as an option - you dont have to add that part. One of my sites was constantly being hit by automated spam and the recaptcha stopped that in its tracks. If you want to add an explanation open catalog/includes/languages/english/contact_us.php and change line 48 : define('ENTRY_SECURITY_CHECK', 'Security Check:'); To read: define('ENTRY_SECURITY_CHECK', 'Your Text Here'); Quote Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members. Link to comment Share on other sites More sharing options...
kenkja Posted May 29, 2012 Share Posted May 29, 2012 Hi Heather, sorry for the delay in replying. I got the fact that the re-captcha was optional, and did at first want to leave it out just because I was approaching it from a user (with lack of understanding) point of view, but having read further understood from the web owner point of view its defintely needed. Thanks for your note of how to achieve a balance between the two positions Ken Quote Os-commerce v2.3.3 Security Pro v11 Site Monitor IP Trap htaccess Protection Bad Behaviour Block Year Make Model Document Manager X Sell Star Product Modular Front Page Modular Header Tags Link to comment Share on other sites More sharing options...
oxwivi Posted June 22, 2012 Share Posted June 22, 2012 Hello, I've installed this addon for a while already, but I completely skipped testing. Recently, I realized (thanks to a registered user replying to welcome email) that it's not working. I used it myself, and did not recieve any email despite the success page. Quote Link to comment Share on other sites More sharing options...
oxwivi Posted June 22, 2012 Share Posted June 22, 2012 Update, regular contact_us.php is not working either. Better make a new thread about it. Quote Link to comment Share on other sites More sharing options...
shaka Posted September 6, 2012 Share Posted September 6, 2012 Every thing is Ok But when I press the Button Continue next page does not open. No confirmation is given to the client thaat his emaail has been deliverd aand neither any other page opens please look into Quote Link to comment Share on other sites More sharing options...
gallery4youth Posted September 6, 2012 Share Posted September 6, 2012 Everything is OK But when I press Continue no doubt email reaches the Admin but neither any communication is shown that email has been sent nor any other page open. Quote Link to comment Share on other sites More sharing options...
vourlismenos Posted October 7, 2012 Share Posted October 7, 2012 A small modification, so that people that are not logged in can fill in their telephone number: remove this line from contact_us.php echo tep_draw_hidden_field('phone',$phone); find this code: <tr> <td class="main"><?php echo ENTRY_EMAIL; ?></td> </tr> <tr> <td class="main"><?php echo tep_draw_input_field('email', $email, 'size="28"'); ?></td> </tr> and add under: <tr> <td class="main"><div class="crosspiece95"></div><?php echo ENTRY_TELEPHONE_NUMBER; ?></td> </tr> <tr> <td class="main"><?php echo (isset($account['customers_telephone']) ? $phone . tep_draw_hidden_field('phone',$phone) : tep_draw_input_field('phone', $phone, 'size="28"')); ?></td> </tr> Quote Link to comment Share on other sites More sharing options...
vourlismenos Posted October 7, 2012 Share Posted October 7, 2012 or if you want your customers to be able to edit their phone number (if already registered), add: <tr> <td class="fieldKey"><?php echo ENTRY_TELEPHONE_NUMBER; ?></td> </tr> <tr> <td><?php echo tep_draw_input_field('phone', $phone, 'size="28"'); ?></td> </tr> Quote Link to comment Share on other sites More sharing options...
ce7 Posted November 1, 2012 Share Posted November 1, 2012 Hi Heather, Thank you very much for your addons. It is great. I modified it to send a quotation email as well. there are some questions about the modified quote email. I had post but so far no one reply yet. I really need expert from forums that can help me as I am not familiar with PHP code at all. The past 2-3 months I learn osCommerce from zero knowledge to know finally make the website up. I can say I am very good at copy and paste the code from addons, but still far from writing code like you expert guys. The website I have is a rental website which doesn't show the price. Customer doesn't register. So I still keep the shopping cart, just doesn't show the price at all. And instead of buy me, I modified as QUOTE. Once customer put every equipment they like to get quote in the quote (shopping) cart, then they click a button (instead of checkout), they go to a quote email which I refer your Enhanced Contact Us add on. Here comes my questions: 1. How can I show the quote list (from shopping / quote cart) on the email? 2. How can I save the customer enter detail, such as name, mobile phone, address, description, other useful information...etc into database? can you please write me a simple database example code that I then can go further google online and self-learning? Many thanks in advance. Lyn Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.