Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


Jack_mcs last won the day on April 3

Jack_mcs had the most liked content!

Profile Information

Recent Profile Visitors

240,432 profile views
  1. The very older versions of oscommerce, the only way to tell which version it is is to look in the files. But from your description, it sounds like one of the first. The php version is very old. As you can see on this page, support for it was stopped 12 years ago. I'm truly surprised your site is not being regularly hacked. But if it is working for you and you are not having problem and your host continues to offer that version of php, then it will continue to work as it is. Although any Paypal modules installed will not work due to changes at Paypal. There is an addon called the Paypal App that is used for Paypal and it can work in some older versions of oscommerce so if you don't want to upgrade oscommerce and you want to use Paypal, that would have to be installed. The only way to delete customers in bulk is either through the database, which is difficult, or with use of an addon. My Database Optimizer addon will do it but I don't know which version to recommend. The early versions didn't have the option to remove customers and the later versions probably won't work in your shop. There may be some other addon that does this that is compatible with your shop but I am not aware of any,
  2. Jack_mcs

    Contact Form Abuse

    Install View Counter. It has a country blocking option.
  3. Jack_mcs


    @valquiria23No, SiteMonitor won't help in a situation like you describe. I suggest you install View Counter for that. It is like Who's Online but with much more control. It won't stop the connections unless they violate the traps it has. But you can see it happening and ban the IP from admin. The pro version has an option that reports excessive hits so you can easily see it happening and be emailed when it happens. You can also see the hits in the non-pro version but you have to check for them manually. I hope this helps.
  4. Jack_mcs

    spam in contact us

    Depending upon your version of oscommerce, installing the Honey Pot addon should stop that.
  5. If your shop is the same version as originally installed, then it is one of the first versions of oscommerce. I know payment modules were available in the early versions but I don't recall which ones. You can check the admin->Modules->Payment section to see. Though if they have not been updated, some, if any, will work. Especially the Paypal modules since Paypal has changed things since the original modules were released. There are updated modules you may be able to use but if your shop is a very early version, they may not work in it. You've gotten your moneys worth with your current shop. But it is filled with security issues and other problems so you are better advised to update it to the latest version.
  6. @neonmusicIt's not clear to me what you are asking for. All oscommerce versions have payment modules. If your shop has been working for that long, surely you must have one installed? Please explain the question in more detail.
  7. Jack_mcs

    How to set the Redirect URL and passing the paramertes

    @gane13579 That doesn't appear to be an oscommerce shop. If it is, which version is it and what addon are you using that shows the redirect box? If it isn't, then you need to post on the site that is for your shops version.
  8. Jack_mcs

    Information Pages SEO addon

    There's no way to do that since the message is part of a page and can be displayed anywhere. For example, if you set it to display in a header module so that the message is displayed on every page, what page would open when View is clicked in admin? If you (anyone) can think of a way to this, or how it could be improved, please let me know and I will take a look.
  9. Jack_mcs

    Change index page

    The addon I mentioned is not compatible with your version of oscommerce. But there are older versions of Featured Products that are. For almost all addons, there will be a support thread where you can ask questions about it. It is better to ask such questions there because that is where the people that use it will be more likely to see your question.
  10. This shows the code in this addon is working. I'm assuming you tried clicking around the shop prior to the installation but if you didn't, go to admin->Configuration->SEO URLs and turn it off. Then try loading the page to make sure it works. If you know the page loads without this addon enabled, then my guess is that you need to enable the mod_rewrite in your xampp setup.
  11. Jack_mcs

    HoneyPot Captcha

    I don't see why the code for Spain is failing. I will have to test it. Setting it to blank means to allow any code through. Unfortunately, I don't have the time to work on this anymore at the moment. If it isn't helping you to have the post code check enabled, I suggest turning that option off until it is fixed.
  12. Jack_mcs

    Change index page

    I'm not sure what you mean by "correct blog" but I think what you are looking for is the Featured Products addon.
  13. Jack_mcs

    HoneyPot Captcha

    Please replace the CheckPostalCode function with the one below and try again: function CheckPostalCode($postcode, $country) { if (MODULE_HEADER_TAGS_HONEYPOT_VERIFY_POSTAL_CODE != 'Ignore') { if (MODULE_HEADER_TAGS_HONEYPOT_VERIFY_POSTAL_CODE == 'Blank' || MODULE_HEADER_TAGS_HONEYPOT_VERIFY_POSTAL_CODE == 'Both') { if (empty($postcode)) return false; //post code is blank and the options say to allow this } if (MODULE_HEADER_TAGS_HONEYPOT_VERIFY_POSTAL_CODE == 'Numbers' || MODULE_HEADER_TAGS_HONEYPOT_VERIFY_POSTAL_CODE == 'Both') { $has_numbers = false; for ($i = 0; $i < strlen($postcode); ++$i) { if (ctype_digit($postcode[$i])) { $has_numbers = true; } } if (! $has_numbers) return true; } if (MODULE_HEADER_TAGS_HONEYPOT_VERIFY_POSTAL_CODE == 'Numbers') { if (empty($postcode)) return true; //post code doesn't contain a number so fail $ZIPREG=array( "US"=>"^\d{5}([\-]?\d{4})?$", "GB"=>"^(GIR|[A-Z]\d[A-Z\d]??|[A-Z]{2}\d[A-Z\d]??)[ ]??(\d[A-Z]{2})$", "DE"=>"\b((?:0[1-46-9]\d{3})|(?:[1-357-9]\d{4})|(?:[4][0-24-9]\d{3})|(?:[6][013-9]\d{3}))\b", "CA"=>"^([ABCEGHJKLMNPRSTVXY]\d[ABCEGHJKLMNPRSTVWXYZ])\ {0,1}(\d[ABCEGHJKLMNPRSTVWXYZ]\d)$", "FR"=>"^(F-)?((2[A|B])|[0-9]{2})[0-9]{3}$", "IT"=>"^(V-|I-)?[0-9]{5}$", "AU"=>"^(0[289][0-9]{2})|([1345689][0-9]{3})|(2[0-8][0-9]{2})|(290[0-9])|(291[0-4])|(7[0-4][0-9]{2})|(7[8-9][0-9]{2})$", "NL"=>"^[1-9][0-9]{3}\s?([a-zA-Z]{2})?$", "ES"=>"^([1-9]{2}|[0-9][1-9]|[1-9][0-9])[0-9]{3}$", "DK"=>"^([D-d][K-k])?( |-)?[1-9]{1}[0-9]{3}$", "SE"=>"^(s-|S-){0,1}[0-9]{3}\s?[0-9]{2}$", "BE"=>"^[1-9]{1}[0-9]{3}$" ); $db_query = tep_db_query("select countries_iso_code_2 from countries where countries_id = '" . tep_db_input($country) . "'"); if (tep_db_num_rows($db_query)) { $db = tep_db_fetch_array($db_query); if (!preg_match("/".$ZIPREG[$db['countries_iso_code_2']]."/i",$postcode)) { return true; } } } } return false; }
  14. Jack_mcs

    HoneyPot Captcha

    Set the setting to numbers and enter in a postal code that is all letters. The account should not be created.