Jump to content

14steve14

♥Ambassador
  • Content count

    5,617
  • Joined

  • Last visited

  • Days Won

    67

Everything posted by 14steve14

  1. 14steve14

    Europe Cookie Laws

    I also found this on their site Feedback and reporting cookie concerns We are inviting people to let us know about the sites they have concerns about by using our 'Report your cookie concerns' tool. This will help us to monitor organisations’ adherence to the rule relating to cookies, and identify sectors where further advice or enforcement activity may be required. We will update our website with details of any action we are taking.
  2. 14steve14

    Europe Cookie Laws

    The following has been taken from the ICO website. Implied consent is a valid form of consent and can be used in the context of compliance with the revised rules on cookies. If you are relying on implied consent you need to be satisfied that your users understand that their actions will result in cookies being set. Without this understanding you do not have their informed consent. You should not rely on the fact that users might have read a privacy policy that is perhaps hard to find or difficult to understand. If you think your site complies with just a privacy policy, then leave it as it is, as after all said and done you have had 12 months to make up your mind.
  3. 14steve14

    Original icons look horrible

    Remove or comment out the code that is calling the image.
  4. 14steve14

    Europe Cookie Laws

    Open up your store in a browser and look for the google code in the source code.
  5. I like the look of this addon but am having a few problems. Most have been answered, but the main one being, I use ie9 mainly and this does not seem to work. Is there a working work around for this. Its a shame the writter of the code seems to have disapeared after such a promising start.
  6. 14steve14

    Header Tags SEO

    I think Jack may mean default title.
  7. Click on the history tab to see the earlier version that Chris mentioned
  8. I am using this with 2.3.1. It installed and works fine. Great add on. I was wondering if it is possible to show the sub folders in the drop down list. At present it only shows the top level folders.
  9. 14steve14

    Councils on SEO

    Personally i use headertags_seo and ultimate seo urls. Both are maintained by the same person. He also has created a sitemap seo, all products seo and others which all work together..
  10. 14steve14

    Quantity Price Breaks

    If you are posting for paid work please post in the correct forum.
  11. 14steve14

    Help me pls Vietnamese for os 2.3.1

    Knowing what the error was would be a help.
  12. Dont paypal also use only the main address for payment protection. If you send to a different address you may not be covered.
  13. 14steve14

    Paypal not adding shipping cost

    Login to your paypal account. Click on the profile tab. Go to the My selling preferences tab and click it. At the bottom of the page there is a section called posting my items. Click on the Update text and at the bottom of this page find Click here to allow transaction-based postage values to override the profile postage settings listed above (if profile settings are enabled). Tick the box and click save. Hopefully that will work.
  14. The split function requires changing. Without seeing what they actually are it will hard to guess what to change. All i can add is that there is an addon to upgrade to php 5.3 which inludes updates for the zone shipping. I had to update one of my shipping add ons that seemed to be a copy of this module. The changed code is $country_zones = preg_split("/[,]/", $countries_table); and $zones_table = preg_split("/[:,]/" , $zones_cost); I hope this helps.
  15. There is very little difference in the zone prices, i une the dearer zone prices for the 2nd zone.
  16. 14steve14

    One Page Checkout

    Instead of stating the obvious, why not do something about it. Once you have coded it all, show it to the development team and see what they say.
  17. 14steve14

    [Contribution] Additional Images Module

    If anyone is using this add on with php5.3 i hade to make a few changes to the admin/includes/function/alterimage.php to get it to work. The first was to change function IsHexColor($HexColorString) { return eregi('^[0-9A-F]{6}$', $HexColorString); } to function IsHexColor($HexColorString) { return preg_match('#^[0-9A-F]{6}$#i', $HexColorString); } The second was to change function gd_version($fullstring=false) { static $cache_gd_version = array(); if (empty($cache_gd_version)) { $gd_info = gd_info(); if (eregi('bundled \((.+)\)$', $gd_info['GD Version'], $matches)) { $cache_gd_version[1] = $gd_info['GD Version']; // e.g. "bundled (2.0.15 compatible)" $cache_gd_version[0] = (float) $matches[1]; // e.g. "2.0" (not "bundled (2.0.15 compatible)") } else { $cache_gd_version[1] = $gd_info['GD Version']; // e.g. "1.6.2 or higher" $cache_gd_version[0] = (float) substr($gd_info['GD Version'], 0, 3); // e.g. "1.6" (not "1.6.2 or higher") } } return $cache_gd_version[intval($fullstring)]; } to static function gd_version($fullstring=false) { static $cache_gd_version = array(); if (empty($cache_gd_version)) { $gd_info = gd_info(); if (preg_match('#bundled \((.+)\)$#i', $gd_info['GD Version'], $matches)) { $cache_gd_version[1] = $gd_info['GD Version']; // e.g. "bundled (2.0.15 compatible)" $cache_gd_version[0] = (float) $matches[1]; // e.g. "2.0" (not "bundled (2.0.15 compatible)") } else { $cache_gd_version[1] = $gd_info['GD Version']; // e.g. "1.6.2 or higher" $cache_gd_version[0] = (float) substr($gd_info['GD Version'], 0, 3); // e.g. "1.6" (not "1.6.2 or higher") } } return $cache_gd_version[intval($fullstring)]; }
  18. 14steve14

    OsCommerce Download Feature

    One of the major reasons for download links not being available is that when adding the attribute filename the file type (.zip) is missed off the end. I would also check that in your admuin area downloads have been set as available, and also in your admin area localisation- order_status make sure that downloads are available on your final order status. To automate the download process and give your customers an imeadiate download i would add super download store.
  19. 14steve14

    Weight measurement issues

    Try entering the weight as 0.0003. You may need to lengthen the input data for weight in your database. I think is is only set for 3 figures after the decimal point.
  20. 14steve14

    Ship In Cart

    I had a similar problem ages ago with this contribution, but i cannot remember what the cure was. I do think i had to read through the support thread to find the answer. It has something to do with the added code and a closing </form> tag i do believe.
  21. 14steve14

    Paypal not adding shipping cost

    Make sure you have your paypal account configured correctly. I do believe that within your paypal profile there is an option relating to shipping costs.
  22. 14steve14

    Empty Box/Module - to add what you like?

    Search the add ons for generic infobox or something similar. Its there somewhere.
  23. 14steve14

    Header Tags SEO

    Open the saved copy of the downloaded contribution and the file is in these. Look in files for new shop.
  24. 14steve14

    Quantity Price Breaks

    Try removing <script src="includes/javascript/jquery-1.2.6.js" type="text/javascript"></script> <script src="includes/javascript/ui.core.js" type="text/javascript"></script> <script src="includes/javascript/ui.tabs.js" type="text/javascript"></script> The code is already called in your includes/template_top as it is now part of the jquery files in your ext/jquery/ui/jquery-ui-1.8.6.min.js. I think that was all i had to do.
  25. 14steve14

    Enhanced Contact Us for 2.3.1

    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.
×