Jump to content

Jack_mcs

Members
  • Content count

    29,520
  • Joined

  • Last visited

  • Days Won

    123

Reputation Activity

  1. Thanks
    Jack_mcs got a reaction from puggybelle in Hack attempt - is there a way to prevent this?   
    For the code I posted, use
    $keywords = preg_replace('/[^ \w-\'\"]/', '', $_GET['keywords']);  
  2. Like
    Jack_mcs got a reaction from douglaswalker in [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo   
    The uses of cpath in that file are for variables. The actual url parameter uses cPath. I didn't scour the whole file but it doesn't appear that there is a problem with that file.
  3. Like
    Jack_mcs got a reaction from JcMagpie in Support thread for featured products with Ribbon v2.3.4.1 CE   
    I installed this for someone with an older CE version and it stopped the list/grid view from working on the category listing pages. I changed the code in both header tags modules as below to fix it.  Even if it doesn't cause any problems, there's no reason to have the code work on any page other than the home page, at least at its current version, so making this change would be a good idea, in my opinion. 
    function execute() { global $oscTemplate, $category_depth; if (basename($_SERVER['SCRIPT_NAME']) == 'index.php' && (isset($category_depth) && $category_depth == 'top') && ! isset($_GET['manufacturers_id'])) { original code here } }  
  4. Like
    Jack_mcs got a reaction from JcMagpie in Support thread for featured products with Ribbon v2.3.4.1 CE   
    I installed this for someone with an older CE version and it stopped the list/grid view from working on the category listing pages. I changed the code in both header tags modules as below to fix it.  Even if it doesn't cause any problems, there's no reason to have the code work on any page other than the home page, at least at its current version, so making this change would be a good idea, in my opinion. 
    function execute() { global $oscTemplate, $category_depth; if (basename($_SERVER['SCRIPT_NAME']) == 'index.php' && (isset($category_depth) && $category_depth == 'top') && ! isset($_GET['manufacturers_id'])) { original code here } }  
  5. Thanks
    Jack_mcs got a reaction from valquiria23 in HoneyPot Captcha   
    A new version has been uploaded with these changes.
    Added an ignore IP setting so shop owners can create multiple accounts. Added the account_pwa.php file for those with the Purchase Without Account addon installed. Added code to the contact us page to check for violations of the Honey Pot form. Added an option to prevent emails containing certain words. Changed the notification code and option so emails can be sent for every account creation. For shops with a previous version installed that uses the module, be sure to uninstall the module before updating to avoid database problems.
  6. Thanks
    Jack_mcs got a reaction from valquiria23 in HoneyPot Captcha   
    A new version has been uploaded with these changes.
    Added an ignore IP setting so shop owners can create multiple accounts. Added the account_pwa.php file for those with the Purchase Without Account addon installed. Added code to the contact us page to check for violations of the Honey Pot form. Added an option to prevent emails containing certain words. Changed the notification code and option so emails can be sent for every account creation. For shops with a previous version installed that uses the module, be sure to uninstall the module before updating to avoid database problems.
  7. Like
    Jack_mcs got a reaction from Demitry in Header Tags SEO   
    @DemitryThanks for those. I will make a note for the next version.
  8. Like
    Jack_mcs reacted to kgtee in Product Quantity Box   
    Thanks. I  moved the codes to the file cm_pi_quantity.php and declare $cart as a global variable. It works now.
    In the template file quantity.php, I added this to the end of the button:
     
  9. Like
    Jack_mcs got a reaction from kgtee in Product Quantity Box   
    I don't know what "do not seem to work" means so I can only guess at the problem. You need to be sure you have added the definition you are using to the language file.  It will also make a difference where you added the code so maybe you have it in the wrong place.
  10. Thanks
    Jack_mcs got a reaction from mcbsolutions in HoneyPot Captcha   
    That string  is trying to access your database. If it was submitted via the contact us page there's no danger from it.  But if it was sent from the create account page, it might cause problems.
    Honeypot can't block the message because it is legitimate. There's not an option to block for specific text. You can use the account limit setting to prevent additional accounts so that will only allow one through.
    I have a new version that I am going to try and get uploaded soon. It may help with emails like this.
  11. Like
    Jack_mcs got a reaction from ce7 in Header Tags SEO   
    This addon can only work with php files and then only if they are part of the shop. If you have a non-php file,  you will need to add them manually to that file.
  12. Like
    Jack_mcs got a reaction from Dan Cole in PayPal App for osCommerce Online Merchant   
    @Dan ColeI figured you knew but thought I would mention it in case others didn't. From what I've seen, the  update script is well-behaved. If it can't update it doesn't cause any problems. However, I seen to recall that the first version had problems with the update. I can't say for sure and may be wrong. But if you decide to try it, be sure to backup the files first just to be safe.
  13. Like
    Jack_mcs got a reaction from Smoky Barnable in No Hooks in Bootstrap?   
    I haven't followed this thread so I'm not sure if it is the hooks that bother you or that the CE version is not the official version. If it is the hooks, then they will still be in the next official version since Harald is the one that initially added them and it is very unlikely, probably impossible, that he would remove them from the next version.
    If it is that the community version isn't the official one, you should understand that whenever an official version is released, it will take quite a while before it is useful. Based on previously released official versions, it would be a good six months before it would be useable as a live shop. So even if an official version was released today, if may not be useable as a live shop before the next Christmas season. So waiting for an official version would hurt your site far more than switching to the CE version and that should be the most important factor to consider, in my opinion.. Just something to think about.
  14. Like
    Jack_mcs got a reaction from Smoky Barnable in No Hooks in Bootstrap?   
    I haven't followed this thread so I'm not sure if it is the hooks that bother you or that the CE version is not the official version. If it is the hooks, then they will still be in the next official version since Harald is the one that initially added them and it is very unlikely, probably impossible, that he would remove them from the next version.
    If it is that the community version isn't the official one, you should understand that whenever an official version is released, it will take quite a while before it is useful. Based on previously released official versions, it would be a good six months before it would be useable as a live shop. So even if an official version was released today, if may not be useable as a live shop before the next Christmas season. So waiting for an official version would hurt your site far more than switching to the CE version and that should be the most important factor to consider, in my opinion.. Just something to think about.
  15. Like
    Jack_mcs reacted to René H4 in domain transfer   
    Jack, I recently learned that your company also hosts websites? Maybe this would be an option for @zpupster ?
  16. Like
    Jack_mcs got a reaction from Demitry in Header Tags SEO   
    Thank you. I appreciate you taking the time to post this. The unreleased version has most, if not all, fixed already, I dost haven't had the time to get an update posted but do plan one for this year. In the meantime, please do post any problems you find.
  17. Like
    Jack_mcs got a reaction from Demitry in Do I need the Header tags/SEO Urls contributions for Bootstrap 2.3.4?   
    Actually, having the keyword in the url still matters for SEO. Not nearly as much as it used to but it does play a part. It can be quite important, in fact, if a link is posted somewhere to some image on your site, like in an advertising campaign, because the keyword is then in the alt tag which is still a ranking factor. And it could be argued that having a human-readable url will increase traffic, which is also a ranking factor. For example, if I was reading through some forum post and it said go here - http...com/free-stuff or go here http...com/index.php?cpath=12, I would be more inclined to click on the link that described where I was going. So while rewriting the url's is mainly for the benefit of the visitors to the site, it does have an affect on SEO and shouldn't be ignored.
  18. Like
    Jack_mcs got a reaction from Antonio Garcia in Article Manager v1.0   
    To those that interested, there is a planned update, probably within the next few weeks.
  19. Like
    Jack_mcs got a reaction from Heatherbell in MATC BS   
    Good job.  
  20. Like
    Jack_mcs got a reaction from freakystreak in Upgrading to the latest version   
    It seems like every other question posted nowadays is about how to upgrade an older version of oscommerce and the op usually references the official version. This post is meant to provide a quick reference for how to convert an older shop to the current, recommended, one.
     
    First, the version that should be used is commonly called the Bootstrap, BS or Responsive version. It can be located here. One should not use the official version. The official version can be installed via the hosts control panel so it is easy to think that is the one to use - it is not.
     
    Since the BS version is not directly compatible with other versions, the following steps will be needed:
    Install the BS version into a new location Convert the database. See this thread for help with that. Install whatever addons the site needs. You need to be sure the addon will work with the BS version. This thread mentions specific ones but there are many others that will work. If in doubt, ask in the support thread for the addon in question. If you intend to use paypal, then install the Paypal App. At this point you should have a working shop. Test it thoroughly, especially the payment and shipping modules, before going live with it.
     
    When you are ready to go live,
    Mark your current shop as down for maintenance ( a simple index.html file is fine for this purpose ). Make a backup of the current shops database and files. Convert the database to the BS version. Replace all of the files with the new shops files. Edit the configure files so they work as the live shop. Remove the blocking page. If everything has gone correctly, the conversion should be complete.
     
  21. Thanks
    Jack_mcs got a reaction from Dnj1964 in Add to Cart going to empty cart after SSL install   
    Your ,htaccess file says to use ssl for the whole shop but the above entry in the configure file says not to. You need to change the above urlto use https.
  22. Like
    Jack_mcs got a reaction from Antonio Garcia in Article Manager v1.0   
    To those that interested, there is a planned update, probably within the next few weeks.
  23. Like
    Jack_mcs got a reaction from Heatherbell in Add to Cart not working   
    If the button is showing, which it sounds like it is, then it is probably being overlayed by some other div. Try adding z-index:100; to the class for the button.
  24. Thanks
    Jack_mcs got a reaction from Heatherbell in MATC BS   
    @HeatherbellNo need to apologize.   What you provided was enough for me to see the problem. To fix it, find this in the includes/modules/matc.php file
    var modal = document.getElementById('matc-modal'); and add this above it
    var isModal = '<?php echo (MATC_SHOW_POPUP == 'True' ? 1 : 0); ?>'; if (isModal == 1) { Then a little lower in the file, find
    </script> and add this above it
    } I tested the above under 7.1 and it worked without error. There is a known problem with using the popup and not the text area option. That has been fixed in the next version.  This doesn't have anything to do with this problem but I thought I would mention it in case you found that next.
    Regarding Article Manager, it has not been updated in almost three years so it won't work for newer php and CE versions. A new version is close to being released but it still might be a month or more before I can get to it.
  25. Like
    Jack_mcs got a reaction from Antonio Garcia in Article Manager v1.0   
    To those that interested, there is a planned update, probably within the next few weeks.
×