Jump to content

Jack_mcs

Members
  • Content count

    30,324
  • Joined

  • Last visited

  • Days Won

    140

Reputation Activity

  1. Thanks
    Jack_mcs reacted to kgtee in Jssor Slider   
    I added the record for new slides and this solves the expiry problem. I edited catalog/admin.banner_manager.php:
     
    I also added the one line in the template tpl_cm_i_jssor.php:
    Now, my display counts are ticking. 😂
  2. Thanks
    Jack_mcs reacted to valquiria23 in Instant Discount   
    It seems very interesting addon. congratulations @Jack_mcs!!
  3. Like
    Jack_mcs got a reaction from valquiria23 in Instant Discount   
    Instant Discount is meant to grab impulse buyers. When a visitor arrives at your site by clicking on a product link in a search engine listing, a dialog will appear saying that he will get a discount if the item is purchased within a certain amount of time. The discount amount, how long the offer is good for and various other things are controlled by settings in admin.
    This addon is written for the CE version. It may work in BS 4 since little is displayed outside of the addon files. It also may work with the official 2.3.4 version. It won't hurt anything in any shop since it can be completely turned off or used in text mode.
  4. Like
    Jack_mcs got a reaction from valquiria23 in Instant Discount   
    Instant Discount is meant to grab impulse buyers. When a visitor arrives at your site by clicking on a product link in a search engine listing, a dialog will appear saying that he will get a discount if the item is purchased within a certain amount of time. The discount amount, how long the offer is good for and various other things are controlled by settings in admin.
    This addon is written for the CE version. It may work in BS 4 since little is displayed outside of the addon files. It also may work with the official 2.3.4 version. It won't hurt anything in any shop since it can be completely turned off or used in text mode.
  5. Thanks
    Jack_mcs got a reaction from alex121121 in Auto Update Currencies   
    The code compares the current hour to what you have in the setting. If you have it set to 10 and you never login to your admin before 10, the script will never run. Also, it only runs when you are on the index,php page of admin. So sometime before 10 go to ...com/admin/index.php and it should run.
    You can run it manually by going to ...com/admin/auto_update_currencies.php If that works, then it is a time or page issue as described. If it doesn't, then it is probably due to the links for currencies. Try updating the currencies manually in the currencies section of admin to see if the code will do it.
  6. Like
    Jack_mcs got a reaction from altoid in [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo   
    I doubt one of the latest versions of this addon will work for you. Try installing 2.2d-13 or earlier. You'll lose improvements and security fixes but that's the trade-off when running such an old shop.
  7. Like
    Jack_mcs got a reaction from alex121121 in Auto Update Currencies   
    Step 3 is only for when cron won't work. If you use step 3, you have to apply the database change mentioned
  8. Thanks
    Jack_mcs got a reaction from alex121121 in Auto Update Currencies   
    If you did that and it didn't fail, the setting has to be in your database. I've seen some templates that sort the configuration settings into different sections so that there is more than one configuration section in admin. Short of something like that, I can't even guess at what went wrong. You can search the database for AUTO_UPDATE_CURRENCY_BEFORE, which that sql change adds. It has to be there somewhere if there were not any failures.
  9. Like
    Jack_mcs got a reaction from valquiria23 in View Counter   
    This is the support thread for View Counter. View Counter provides a way to monitor and control what's going on in your shop. If you are familiar with the Who's Online addon, then this can be thought of as Who's Online on steroids. Most shop owners are not aware of the number of search bots, crawlers and skimmers that visit their shops on a daily basis. Some are useful but most are not. All they do is use the accounts bandwidth and slow the server down. This program provides a way to see and control them. Some of its functions are:
     
    - View who's on the shop, including visitors and search bots.
    - View a history of the IP's that have visited and how often.
    - View the pages in the shop that have been visited and how many times each was visited.
    - View the pages in the shop that have not been visited.
    - Look up the DNS data for anyone on the shop.
    - Ban by an IP, range of IP's or a domain name.
    - Kick someone off the site and display a warning message.
    - Send someone a message that is currently on your site.
    - Trap IP's that do not follow the robots file directive.
    - Ban IP's that change the url's to cause damage (hackers).
    - Much more and growing.
     
    View Counter is compatible with all versions of oscommerce.
     
    I would like to extend my special thanks to Steve, aka Altoid, for the assistance he provided in testing this addon. His ability to notice things I missed, along with his valuable suggestions for improvements, resulted in a much better program than I initially had written. Thanks Steve. :)
  10. Thanks
    Jack_mcs got a reaction from valquiria23 in Google XML Sitemap SEO   
    Yes, I think it would be helpful. It was requested for the google base feeder too. I added it to that addon and will to this one eventually but it will be quite a while before I can get to it.
  11. Like
    Jack_mcs got a reaction from valquiria23 in Google XML Sitemap SEO   
    Hi Valquiria . :) The sitemapimages.xml only contains the main image for the product. The main image is stored in the products table but any additional images are stored in the products_images table and the code in this addon doesn't access that table. It would be possible but would not be a simple code change.
  12. Like
    Jack_mcs got a reaction from valquiria23 in Sitemap SEO   
    @valquiria23I'm sorry but I don't understand your question. This addon doesn't have anything to do with images. Maybe you meant to ask in the google sitemap thread? If you meant this one, please explain in more detail.
  13. Like
    Jack_mcs got a reaction from Dnj1964 in Article Manager v1.0   
    @Dnj1964You don't mention the version of your shop (please always do that) but I will assume Frozen since that is the only version that setting will work with. I just tried it here and it works as expected so I don't have an answer as to why it would fail. But here's a quick fix. Find this line in admin/articles.php
    $hts_status = (ENABLE_HEADER_TAGS_SEO != 'true' ? 'disabled="disabled" ' : ''); and add this below it
    if (false) .
  14. Like
    Jack_mcs got a reaction from Demitry in Database Optimizer   
    Yes, it should be changed.
  15. Like
    Jack_mcs got a reaction from raiwa in Article Manager v1.0   
    A new version has been uploaded with these changes:
    Compatible with php 7.2. Compatible with BS4. (see note below) Header Tags SEO no longer required. (see note below) Added code to automatically add the title and tags for an article to Page Control in Header Tags SEO (if HTS is installed). Added the date posted on the blog comments page. Added a link to the customers account on the blog comments page, if it exists. Added multi-select option to the Cross Sell page in admin. Added a module to display articles on the home page. Added a module to display articles on the product page. Added the article ID to the article listing page in admin. Added reply to blog in admin. Added IP tracking for blog articles. Added option to require approval for blog posts. Changed the articles infobox to use ssl, if set, to fix a non-secure warning. Changed the articles infobox to only display the articles section if articles exist for those sections. Changed the format of the article listing pages on the shop side. Changed the default setting for an article to non-blog. Changed all of the article listing to use the sort order setting. Fixed code to handle the filter database definition correctly. Reported by member @vmn. Fixed code for the listing description text to prevent problems when html is used. Reported by member @vmn. Fixed Cross Sell code to the blog page. Fixed Cross Sell code to display the images. Fixed article listing page to only show blog or non-blog articles. Fixed code in the articles box to correctly show upcoming articles. Fixed the layout problem in authors section of admin. Fixed coding mistakes on the topics page that caused incorrect links. Fixed coding mistakes on the articles page that caused incorrect links. Fixed coding mistakes in the articles infobox for upcoming article that caused incorrect links. Made many changes on the blog comment page in admin fixes and improvements. Replaced date code with jquery's datepicker. Reported by member @vmn. Replaced all uses of NONSSL with $request_type. Replaced the topics code in the articles infobox with standard oscommerce code. Removed preview from articles creation page. Removed preview code in admin blog comments. Removed unnecessary database code from the articles box. Removed extra files in the new directory for the CE version. Removed redundant functions used by the articles infobox. Removed all filename and table definitions so it now works in CE shops. Rewrote the new articles page to remove html codes. Rewrote the upcoming module to remove html codes. Notes:
    1 - The changes in this update are only for the CE versions. The code for the CE version will probably work in 2.3.4 shops, though I haven't tested it, but not any version before that. There were far too many changes in this version to get them to work with the older versions. It can be done but will take a bit of time.
    2 - I included the code for BS4 versions. This was not thoroughly tested but I don't think there are any problems in that version.
    3 - The requirement to have Header Tags SEO installed has been removed. This was not thoroughly tested but I don't think there are any problems caused by it. You have to turn the option for Header Tags SEO off in the settings. Please note that if you don't have Header Tags SEO installed, you will not be able to set the title and meta tags from admin. You will need to figure out how to do that manually. Also, the Ultimate SEO url rewriter won't change the url's as expected.
    My sincere thanks to @FrediHis help in troubleshooting this saved weeks on the release date. It was invaluable since he pointed out things I probably would not have seen.
  16. Like
    Jack_mcs got a reaction from raiwa in Article Manager v1.0   
    A new version has been uploaded with these changes:
    Compatible with php 7.2. Compatible with BS4. (see note below) Header Tags SEO no longer required. (see note below) Added code to automatically add the title and tags for an article to Page Control in Header Tags SEO (if HTS is installed). Added the date posted on the blog comments page. Added a link to the customers account on the blog comments page, if it exists. Added multi-select option to the Cross Sell page in admin. Added a module to display articles on the home page. Added a module to display articles on the product page. Added the article ID to the article listing page in admin. Added reply to blog in admin. Added IP tracking for blog articles. Added option to require approval for blog posts. Changed the articles infobox to use ssl, if set, to fix a non-secure warning. Changed the articles infobox to only display the articles section if articles exist for those sections. Changed the format of the article listing pages on the shop side. Changed the default setting for an article to non-blog. Changed all of the article listing to use the sort order setting. Fixed code to handle the filter database definition correctly. Reported by member @vmn. Fixed code for the listing description text to prevent problems when html is used. Reported by member @vmn. Fixed Cross Sell code to the blog page. Fixed Cross Sell code to display the images. Fixed article listing page to only show blog or non-blog articles. Fixed code in the articles box to correctly show upcoming articles. Fixed the layout problem in authors section of admin. Fixed coding mistakes on the topics page that caused incorrect links. Fixed coding mistakes on the articles page that caused incorrect links. Fixed coding mistakes in the articles infobox for upcoming article that caused incorrect links. Made many changes on the blog comment page in admin fixes and improvements. Replaced date code with jquery's datepicker. Reported by member @vmn. Replaced all uses of NONSSL with $request_type. Replaced the topics code in the articles infobox with standard oscommerce code. Removed preview from articles creation page. Removed preview code in admin blog comments. Removed unnecessary database code from the articles box. Removed extra files in the new directory for the CE version. Removed redundant functions used by the articles infobox. Removed all filename and table definitions so it now works in CE shops. Rewrote the new articles page to remove html codes. Rewrote the upcoming module to remove html codes. Notes:
    1 - The changes in this update are only for the CE versions. The code for the CE version will probably work in 2.3.4 shops, though I haven't tested it, but not any version before that. There were far too many changes in this version to get them to work with the older versions. It can be done but will take a bit of time.
    2 - I included the code for BS4 versions. This was not thoroughly tested but I don't think there are any problems in that version.
    3 - The requirement to have Header Tags SEO installed has been removed. This was not thoroughly tested but I don't think there are any problems caused by it. You have to turn the option for Header Tags SEO off in the settings. Please note that if you don't have Header Tags SEO installed, you will not be able to set the title and meta tags from admin. You will need to figure out how to do that manually. Also, the Ultimate SEO url rewriter won't change the url's as expected.
    My sincere thanks to @FrediHis help in troubleshooting this saved weeks on the release date. It was invaluable since he pointed out things I probably would not have seen.
  17. Thanks
    Jack_mcs got a reaction from valquiria23 in Grouped Reviews   
    This addon changes the reviews page to list the reviews grouped by manufacturers. This will only work with versions 2.3.4 and above. A screenshot is included.
  18. Like
    Jack_mcs got a reaction from raiwa in Article Manager v1.0   
    A new version has been uploaded with these changes:
    Compatible with php 7.2. Compatible with BS4. (see note below) Header Tags SEO no longer required. (see note below) Added code to automatically add the title and tags for an article to Page Control in Header Tags SEO (if HTS is installed). Added the date posted on the blog comments page. Added a link to the customers account on the blog comments page, if it exists. Added multi-select option to the Cross Sell page in admin. Added a module to display articles on the home page. Added a module to display articles on the product page. Added the article ID to the article listing page in admin. Added reply to blog in admin. Added IP tracking for blog articles. Added option to require approval for blog posts. Changed the articles infobox to use ssl, if set, to fix a non-secure warning. Changed the articles infobox to only display the articles section if articles exist for those sections. Changed the format of the article listing pages on the shop side. Changed the default setting for an article to non-blog. Changed all of the article listing to use the sort order setting. Fixed code to handle the filter database definition correctly. Reported by member @vmn. Fixed code for the listing description text to prevent problems when html is used. Reported by member @vmn. Fixed Cross Sell code to the blog page. Fixed Cross Sell code to display the images. Fixed article listing page to only show blog or non-blog articles. Fixed code in the articles box to correctly show upcoming articles. Fixed the layout problem in authors section of admin. Fixed coding mistakes on the topics page that caused incorrect links. Fixed coding mistakes on the articles page that caused incorrect links. Fixed coding mistakes in the articles infobox for upcoming article that caused incorrect links. Made many changes on the blog comment page in admin fixes and improvements. Replaced date code with jquery's datepicker. Reported by member @vmn. Replaced all uses of NONSSL with $request_type. Replaced the topics code in the articles infobox with standard oscommerce code. Removed preview from articles creation page. Removed preview code in admin blog comments. Removed unnecessary database code from the articles box. Removed extra files in the new directory for the CE version. Removed redundant functions used by the articles infobox. Removed all filename and table definitions so it now works in CE shops. Rewrote the new articles page to remove html codes. Rewrote the upcoming module to remove html codes. Notes:
    1 - The changes in this update are only for the CE versions. The code for the CE version will probably work in 2.3.4 shops, though I haven't tested it, but not any version before that. There were far too many changes in this version to get them to work with the older versions. It can be done but will take a bit of time.
    2 - I included the code for BS4 versions. This was not thoroughly tested but I don't think there are any problems in that version.
    3 - The requirement to have Header Tags SEO installed has been removed. This was not thoroughly tested but I don't think there are any problems caused by it. You have to turn the option for Header Tags SEO off in the settings. Please note that if you don't have Header Tags SEO installed, you will not be able to set the title and meta tags from admin. You will need to figure out how to do that manually. Also, the Ultimate SEO url rewriter won't change the url's as expected.
    My sincere thanks to @FrediHis help in troubleshooting this saved weeks on the release date. It was invaluable since he pointed out things I probably would not have seen.
  19. Like
    Jack_mcs got a reaction from douglaswalker in Google XML Sitemap SEO   
    In answer to your questions, there's no way to remove the index.php from the url short of editing the code for that special case.
    But the sitemap won't override the canonical - it's the other way around. So it doesn't matter that there is a link to index.php in the sitemap file. There will also be a link to it, maybe many, in the shop. It's a non-issue.
  20. 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.
  21. 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.
  22. 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.
  23. Like
    Jack_mcs got a reaction from Demitry in Header Tags SEO   
    @DemitryThanks for those. I will make a note for the next version.
  24. 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:
     
  25. 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.
×