Jump to content
Latest News: (loading..)


  • Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by Jack_mcs

  1. Google XML Sitemap SEO

    Download the database file that wHiTeHaT provided above. I haven't had a chance to test it but I looked at the changes and they appear to be correct.
  2. This isn't a new contribution and I don't claim the code in it. This is an update to the excellent work Chemo did on the Google XML Sitemap Feed located here: http://addons.oscommerce.com/info/3233 - version 1.3. It was added as a new contribution do prevent the corruption that exists in so many contributions lately. This version includes the following changes: - Manufacturers site map - Specials site map - Human readable output The feeds automatically adjust to match the urls if Ultimate SEO is installed, thus preventing some blocked url's by the search engines. If you have version 1.3 of the above contribution installed, you can just upload all of the files to update to this version. Be sure to run the sitemap afterwards though. Jack
  3. Put an item on special and then go to that page. If the order of the prices are correct, you're all set. If not, you need to make the change.
  4. OK. I see what you are saying. However, the argument swapping is not working for some sites. It obviously works for some since someone posted that previously but I've had two sites where it failed. Don't know why. To be honest, I didn't look at the language file so I didn't know argument swapping was being used. It seems unnecessary for a dedicated definition like this but it is what it is.
  5. I'm not sure we are talking about the same thing or maybe I just don't understand your reply. Given this command sprintf(MODULE_CONTENT_PI_PRICE_DISPLAY_SPECIAL, $VAR_1, $VAR_2) are you saying the order of the two variables don't matter?
  6. valquiria23 In the footer template file, you can change <ul class="nav nav-pills nav-stacked"> to <ul class="list-unstyled"> You have to change it in each file so it isn't as convenient as styling the existing class but it provides proper spacing in responsive mode.
  7. How can that be? It is a sprint call and the variables are used in the order given. It would make the function useless if the order didn't matter. Please explain what I am missing.
  8. Are you sure you made the change that I mentioned? What you are seeing on the site is the specials price and then the product price. If you look at the code I said to change, the order is specials and product, which is what is showing. My change was to make it product and specials. Regardless, the idea is to have the regular price first and struck out and then the specials price. So if your original code had it that way, switch back to that.
  9. [Contribution] Option Types v2

    This line doesn't make any sense to me include(FILENAME_PRODUCT_INFO2 . 'product_info2.php'); Presumably, FILENAME_PRODUCT_INFO2 is defined as 'product_info2.php' so that statement says to load the file product_info2.phpproduct_info2.php. You may have meant define(FILENAME_PRODUCT_INFO2 . 'product_info2.php'); And nothing is done with the $manufacturers_query variable. You need to fetch the results of that call. Something like the following may be what you need: $manufacturers_query = tep_db_query("select manufacturers_id, manufacturers_name from " . TABLE_MANUFACTURERS . " order by manufacturers_name"); while ($manufacturers = tep_db_fetch_array($manufacturers_query)) { if ($manufacturers['manufacturers_name'] == 'CUSTOM') { $goto = 'product_info2.php'; $parameters = array('action', 'cPath', 'products_id', 'pid'); break; } }
  10. I'm glad to hear you got it going. I think you will find oscommerce is a better package than opencart, were you to upgrade to the latest version but good luck with the move.
  11. motion2082 The deprecated message can be ignored but should be hidden. But the reset have to do with the language not being found and that is due to the php version you are switching to being different than the one the previous server used. To fix it, in both includes/application_top.php files, change this line if (!tep_session_is_registered('language') || isset($HTTP_GET_VARS['language'])) { to this if (!tep_session_is_registered('language') || isset($_GET['language']) || empty($language)) {
  12. Google XML Sitemap SEO

    It has to be done by editing the database directly. That is usually done using the phpmyadmin program which most hosts have installed. You need to - Select your database in phpmyadmin. - Make a backup of your database (export tab). - Select the configuration_group table. - Find the Google XML line and note its ID. Then delete it from that table. - Select the configuration table. - In the sql tab, enter this command after changing the XX to the above ID you noted: delete from configuration where configuration_group_id = XX That should do it.
  13. Installing Mistake

    First it sounds like you are using the wrong version. Be sure this is the one you are using. If not, start over. As far as the login, I'm not sure I understand the problem but if it is do to with setting the admin login, if you empty the administrators table in the database, you will be able to set the password when you visit the admin.
  14. Google XML Sitemap SEO

    Yes. The new sql script will create new configuration entries so you would end up with duplicates.
  15. MATC BS

    This addon is a replacement for the previous MATC module. It is fully compatible with all community edition versions of oscommerce but it does require raiwa's modular checkout pages addon to be installed.. Once installed, it will place a check box on the create account, checkout payment or checkout confirmation pages, depending upon the settings in the module. The check box prevents the customer from proceeding unless they check that box. If the check box is to appear on the create account page, a few file edits are requited. Otherwise, it all works with the installation of modules.
  16. MATC BS

    Thank you for testing it. You are correct. The code doesn't work correctly when a non-javascript error occurs. Please try this change to see if it fixes it. Find <div class="buttonSet matc-button-wrapper"> <?php echo '<div class="text-right">' . tep_draw_button(IMAGE_BUTTON_CONTINUE, 'fa fa-user', null, 'primary', 'id="TheSubmitButton"', 'btn-success'); ?></div> </div> and place this below it <?php if ($error) { echo '<script type="text/javascript">$(function() { $(".matc-button-wrapper").show(); }); </script>'; } ?>
  17. Header Tags SEO

    All of the notices you see are due to your php version running in strict mode. That is not something I recommend for a live shop. You can try replacing the error_reporting call near the top of includes/application_top.php with the following but if it doesn't work, you would need to ask your host to disable in php if you can't do that in your control panel: error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_DEPRECATED); All instances of FILENAME_ were removed in version 3.3.5. If you are still seeing them, it is either because you are not using that version or that you didn't replace the includes/header_tags.php file. $category_seo_title_string is not part of this addon and is removed in the included file. You don't have to remove it but it doesn't serve any purpose when this addon is installed. The next version, which has not been released, uses modules and hooks for the BS shop. But I never upload new versions of most of my addons for at least six months from when they are ready since the changes are provided to my clients first. So, eventually, the next version will be released but the current one still works fine, just the installation isn't as easy as it could be.
  18. 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
  19. MATC BS

    I just tried creating an account here but made a mistake on the form, like not entering the city, and when the page reloaded the checkbox was checked and the button was present. In your situation, does it matter which browser you are using? What php version are you using?
  20. HoneyPot Captcha

    This isn't a question that should be asked in a support thread. You may want to open a new one. But I'll reply to it just this once. If you renamed the file create_account.BAK.php, it is still usable. If it was renamed create_account.php.BAK, it wouldn't be. But there is also the possibility the Purchase Without Account addon is installed and it may use its own create account file. Or the hacker has gained access to the database, or admin if create orders is installed, and did it that way. There are probably other possibilities but without knowing more about the site, I can't say.
  21. HoneyPot Captcha

    This addon prevents multiple emails from being sent through the forms on the site by adding a hidden challenge. Sending emails through the forms is a favorite thing to do by spammers. This has traditionally been handled by Googles Recaptcha code but that causes too much of a challenge in many cases and can easily frustrate your customers. This code doesn't present a challenge for the customer at all. The checking is done without the customer even knowing it. The code will work in any version of oscommerce but the instructions are just for the Community Edition and just for the contact us page (due to time constraints).
  22. UPS Choice will work in all versions of oscommerce. It can't run if php 7 is being used but I don't think there are any other problems. I installed it into a shop run an older version of Edge and php 5.6 and it works fine.
  23. Canadians too! Where is the sanity?
  24. Osc 2.3.4 SSL Enable

    No, the databases aren't directly compatible. There are a few threads on it here. If you haven't made changes to the database via addons, then you can do the following: - Install a new database using the one included in CE package. If you have already done the installation, this is not necessary. - Empty all of the tables in the new database - Remove the data but leave the structure. - Make a copy of the original database and then delete the configuration and configuration_group tables from it. - Dump the copy of the database (data only). - Import the data backup you just made into the new shop database.
  25. Osc 2.3.4 SSL Enable

    It is the latest version available through the control panel of hosts. That is because the site that provides those can only show the official version. So what you have is, most likely, the latest official version. But it is not currently support so the unofficial version is the one everyone uses. So, yes, you should wipe what you have and start over. There are too many differences between the two versions to try and upgrade what you have.