Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by Jack_mcs

  1. If your shop offers more than one currency, you need this contribution. With excahnge rates changing daily, at times, it is important to keep them up-to-date. Many, if not most, shop owners are not aware that this needs to be done. This contribution can be ran as a cron job or semi-automatically and will handle the updates for you. The existing Update Currencies contribution uses an external site that has changed their policy which means the updates may not always work. It also uses code that will prevent cron jobs from working on all servers. This contribution uses changed code and the same sites that oscommerce has always used so those problems should not occur. Jack
  2. Jack_mcs

    Header Tags SEO

    Are you saying you get the same warning that you initially posted? If so, I don't see how that is possible. The warning is saying the index is being referenced but doesn't exist. While my code change says to only reference if it does exist. What is being done for you to see the warning? I would like to try to duplicate it here. For the other warnings, and more, they have been fixed but in the latest version I have here but are too numerous to post. I will try to get a new version uploaded in the next few weeks.
  3. Jack_mcs

    Header Tags SEO

    This is the support thread for the new Header Tags SEO contribution. It is based on the Header Tags Controller but is not compatible. Why the new name? There are a couple of reasons for this. First, so much has changed in the code that it is mostly a different package and maintaining it would be difficult if it were considered just an update. But beyond that, a lot of people mistakenly confuse the Header Tags Controller as just a meta tags handler. It is that but has gone beyond that basic function for some time now. So to compare it to the other meta tags contributions is just wrong. And I should say here that if all you are looking for is a way to handle the meta tags of your shop, you should not install this contribution since it is definitely overkill. But when you consider that the keywords meta tag is rarely used by google at all nowadays, I can't imagine why someone would want to install a package that relied on that tag so much. And that is the real reason for the new name. This contribution is the only one of its kind to tie together so many Search Engine Optimization (SEO) tricks, that the new namejust made sense. What's the difference? The following are the major changes (or the ones I could remember) in this new contribution: -> The code is 100% langage compliant. -> Removed the english/header_tags.php file in favor of database entries. -> Fixed a bug introduced in a previous version. A spelling mistake would make Page Control fail in some cases. I only mention this here because it was a nasty little bug I could never locate. So anyone having that problem should consider upgrading. -> Added control options to admin->Configuration. -> Added additional meta tag options. It is doubtful these will be used that much but a number of requests were received for this option so it was added. -> Added an option to view the title and meta tags on the actual web page from admin. -> Added Social Bookmark code. -> Added code to apply mouseover text to the sites logo - unique for each page. -> Added code to have the breadcrumb use the header tags titles. -> Added an exclude list in admin/includes/functions/header_tags.php that prevents header tags code from being added to certain files (like checkout pages). This is because those pages don't need tags and excluding them will simplify matters. -> Added option to Page Control and Fill Tags so that the keywords can be dynamically generated from the pages on the site. Currently, the code only supports single keywords but I plan on changing that. There is an option in admin to only pick keywords that fall within the keyword density settings. -> Added an automatic page add feature. You still have to edit the actual file in the root but that's all. -> Added easy install instruction for STS shops. There is just one change to make and the two contribution work together. -> Added code to have the new features work with BTS based shops. There may be a few cases where an option doesn't work due to how BTS handles the files, but they should be minimal and not anything to cause a great stir. -> Changed how title, description and keywords are built. This should provide more flexibility for those that want that option. Each item has a sort order and is displayed in the string of text based on that sort order. So, for example, the title of a page can contain some entered text, the default title and the category and manufacturers names (if applicable), in any order. -> Added an Un-Install file to completely remove Header Tags from the database. This should make testing and troubleshooting easier. -> Added code to use curl instead of standard php file calls. The code will try curl first and then switch to a file command if it is not present. -> Tested in MS2, RC2, STS and BTS shops. Special thanks to the following for their suggestions: bkellum java roasters surfalot A lot of time went into creating this contribuiton. I hope it proves useful. Jack
  4. Jack_mcs

    Header Tags SEO

    The warning occurs because the visitors browser doesn't have the language set for his computer. The OG API says if the locale is missing, it will include one so I think this will fix this. Replace the following $loc = explode(',',$_SERVER["HTTP_ACCEPT_LANGUAGE"]); $ogArray = array(); $ogArray['site_name'] = STORE_NAME; $ogArray['locale'] = str_replace('-', '_', $loc[0]); with this $ogArray = array(); $ogArray['site_name'] = STORE_NAME; if (isset($_SERVER["HTTP_ACCEPT_LANGUAGE"])) { $loc = explode(',',$_SERVER["HTTP_ACCEPT_LANGUAGE"]); $ogArray['locale'] = str_replace('-', '_', $loc[0]); }
  5. Jack_mcs

    Auto Update Currencies

    That's correct. The addon doesn't change the core function so if that code no longer works, it is due to something else. This thread may help. You could try upgrading this addon to v 1.3 since, as I recall, it contains the fix for the currency.
  6. Jack_mcs

    Auto Update Currencies

    Does the currency update work if you click the update button in admin->Localization->Currencies?
  7. Jack_mcs

    Auto Update Currencies

    @PortmanThis is the support thread for the Auto Update Currencies addon. If you are not using a version of it, then please post in the general forum. If you are, please let me know which version of the addon you are using.
  8. In addition to what Malcolm said, you need to work on the SEO. The web page title for your home page is "Bibbtool". That means the most important keyword you are going after is a word no one will be searching for. Take a look at your competitors and see what they use. Yours might be different if your focus is on a specific product line. You can use the keywords tool in your adwords account (it's free) to find keywords relative to your site. On your category and manufacturer pages, you need to use the description options available through Header Tags SEO. The search engines base the majority of their ranking on text but those pages don't have any relevant text. You need to provide text (a short paragraph is usually enough if worded well) to give the search engines help in knowing what the pages are about. If you don't provide the text, they will do it for you. Take a look at your listings for table saws. It starts with "Products 1 - 20 of 27 - New Customer. I am a new customer.". Doesn't do much for getting good ranking and attracting visitors.
  9. I don't have a frozen shop setup with this addon installed but I tested it in Phoenix and there isn't such a warning. As I recall, frozen wasn't setup to run with 7.3, though I may be mistaken, so you may need to lower the php version.
  10. Jack_mcs

    Blocking China Bots on Mobile

    The blocks in the roots .htaccess file should apply to the sub-directories but there are cases where it does not. If you don't have an .htaccess file in the mobile directory, create one. Then copy all f the deny's to that file. Instead of continually fighting this, you may want to install view counter addon and enable the country blocking option.
  11. Jack_mcs

    Article Manager v1.0

    A new version has been uploaded with the following changes. Added a navbar modules to display links to articles. Pro version only. Added a product module to display links to articles based on the cross sell settings. Pro version only. Changed a large number of files to make them compatible with Phoenix and above. Changed article count in admin to show full details (status and blog count). Changed class construction in the articles manager footer module to be compatible with php 7. Found by @artfulweb. Changed code in admin so that the Header Tags SEO code works for multiple language. Found by @artfulweb. Fixed failure on shop side when Header Tags SEO is not installed. Found by Dnj1964. Removed the config page from the Article Manager section for Phoenix versions. Removed the article meta tag description from the database and files. Removed the caching code. Notes: This is meant as a Phoenix version. The previous versions will still work but have not been updated. For Phoenix, installation just requires the database script to be ran and then the files to be uploaded. If you want the links to appear elsewhere in the site, see the instructions in the files for doing that.
  12. Jack_mcs

    Header Tags SEO

    A new version has been uploaded with these changes: Added a check to the currently viewing hook to check for Article Managers setting. Added a check to the social icons hook to check for Article Managers setting. Changed code to prevent php warnings in later versions of Phoenix. Fixed admin hook to work for multiple language sites. Moved the css file to ext/css/. Replaced one of the changes to categories.php with a hook. Rewrote the tagcloud module to display better and to be responsive. Please note: This upgrade only affects Phoenix shops. It will run on the latest version:
  13. This is a version of Recover Cart Sales that only works on Phoenix. Recover Cart Sales is a very simple tool which looks at shopping carts left on your site that were abandoned by customers/visitors. The only carts it works with are those where the person visiting your site actually put something in their shopping cart, either already had or created a customer account on the system, and didn't complete the purchase of the cart contents. You can then send an email to those visitors to try and convince them to complete the order. I've found that people like being asked and will, in some cases, complete the order due to that. This version is mostly the same as previous versions. It fixes a large number of security holes and adds an option to send a coupon code in the email (a coupon addon is required for this). I've tested it manually and didn't see any problems but I haven't tested the cron code so that may need some changes. Please post here any problems found with this version.
  14. Jack_mcs

    Recover Cart Sales for Phoenix

    As the name of the addon states, this is for a Phoenix shop.It may work in a Frozen shop but you will need to copy that function from the shop side to the admin's general.php file. Copy the whole thing from the line I mentioned to the closing }. If it still doesn't work, there are older versions of the addon that will work in your shop.
  15. Jack_mcs

    need .htacess for seo url rewrite

    Just install one of the url rewriter addons: Ultimate SEO or SEO 5.
  16. Jack_mcs

    Recover Cart Sales for Phoenix

    That error is saying it can't find a function. But that function is part of all oscommerce shops, at least through Phoenix What is your shops version? Take a look in admin/includes/functions/general.php and see if this line exists: function tep_get_products_special_price($product_id) {
  17. Jack_mcs

    2.3.4 to

    The pc program you are using should work with Phoenix if it is coded correctly since the fields in the database will be the same. If not, then that might be a problem for you since it is a program on your computer. The mini-template system is not compatible with Phoenix. I will send you a PM about the database.
  18. Jack_mcs

    How does Options work in the Product Page

    The colors, in this case, are handled by product attributes in admin->Catalog. Set an option, e.g. Colours, Options for each color you want and then create the attribute for the product. For additional images, the exact procedure varies with your version of oscommerce but there should be a way to add it in the product edit page, unless your shop is very old.
  19. Jack_mcs

    Article Manager v1.0

    It was ready for release but I found a few problems at the last minute. By the time I got those fixed another version of Phoenix had been released. So I just need to setup a new show and install it to make sure everything is OK. I hope to get a version uploaded in the next few weeks.
  20. Jack_mcs

    Header Tags SEO

    The released version was uploaded prior to so there will be differences in the files. For example, DIR_WS_CATALOG_IMAGES doesn't exist in When I said I have a working version here and that the differences would not cause your problem, I had only checked the actual HTS files, not the core files in the shop that get changed. As you have found, there are changes there that won't work. I do apologize for the oversight in my check. I will get an updated version uploaded, hopefully in the next few weeks.
  21. Jack_mcs

    Header Tags SEO

    For the currently viewing problem, in includes/hooks/shop/siteWide/header_tags_seo_currently_viewing.php file, find this line: global $category_depth, $header_tags_array, $product_info; and add this after it: include_once('includes/languages/' . $_SESSION['language'] . '/header_tags_seo.php'); Regarding the test page, it may not return valid results in Phoenix. I made some changes to it but it may need more work. But the missing sort order message means you have a checkbox checked in Page Control but you didn't enter a number in the sort order box beside it.
  22. Jack_mcs

    Header Tags SEO

    Yes, it should. I installed it in a shop a few weeks ago and it is working fine. The version I use has some differences from the released version but only things like warning fixes and display changes. None that would prevent a 500 error, at least none that I can think of. You can check your sites error_log file when that error occurs to see the reason, or ask your host to look at it. The 500 error can be caused by many things so troubleshooting it can be difficult without knowing the cause of the failure.
  23. Jack_mcs

    Phoenix template options

    Templates for Phoenix are accomplished by changing the colors, the position of the modules and, usually, the installation of addons. You can check my sites Showcase page for examples of what can be done that way. But there aren't too many sites selling them like they used to since so many of the changes needed can be made via the admin.
  24. Jack_mcs

    PayPal transactions broken...?

    It might be that the credentials for Paypal are your partners and no longer active so you should check that. Also, what module is being used for the credit card option and does it work?
  25. Jack_mcs

    Where to buy templates for Phoenix?

    For the most part, templates have a different meaning nowadays as compared to five or so years ago. The following is all that is needed to get a unique look, though some steps may not be simple, depending on your experience level. Install whatever addons you need to change appearances. Image sliders are popular in many templates but there are many other addons that will add unique features to the site. Change the layout of the modules to give it a unique look. Like only one column for infoboxes, or none at all. Change the colors of the shop to your liking. This can mostly be done via css files. The trick is in finding which class to change. With Phoenix, you can make all of the above changes fairly easily and, maybe, without any code changes. This is why you don't see template shops selling templates. It just isn't worth their time to make css changes and provide some images, in my opinion. You may need to make code changes in some situations, like not showing the breadcrumb or infoboxes on the home page but show them on other pages. But you can pretty much change the complete appearance of a shop with the above three steps.