Jump to content

Jack_mcs

Members
  • Content count

    29,941
  • Joined

  • Last visited

  • Days Won

    134

Everything posted by Jack_mcs

  1. Jack_mcs

    Add More Fields

    This addon allows you to easily add, and manage, fields to the products and products_description tables in the database. If you have a compatible version of Easy Populate installed, it will allow you to manage the custom fields in it too. Once installed, you don't have to edit any of your files to use the new fields, though that is possible.
  2. This is a new version of the Quantity Price Breaks addon. It is only for Frozen and Phoenix shops. If you have an older version, you will need to use a different, older, version of this addon. The purpose of this addon is to allow the price of a product to be controlled by how many items are purchased. So a quantity of 1 may cost $100, a quantity of 2, $60 and so on. It also provides for limiting the minimum number to ordered. Due to how the code works, there are a number of file changes needed. I've reduced them a great deal compared to previous versions of this addon but there's no way, currently, to get around some of the changes. So be sure to create a backup before installing.
  3. Jack_mcs

    CCV Osc

    This is an updated cc module for oscommerce. It will work in any version of oscommerce. It adds options to split the cc number for added security, to control which cc images are displayed and limits the card being used. It has been tested with php 7.3
  4. Jack_mcs

    Subcategories showing up on Main Categories page

    That's very strange. I've never seen a situation where sub-categories are mixed in with the categories. There's nothing in the stock code that would allow that, at least that I can think of. Your version of shop doesn't have the module I mentioned so, unless your shops code has been altered, all of the index pages (home, nested and products) are controlled by the index.php file and maybe the stylesheet.css file. So I suggest replace your index file with a stock one to see if the problem goes away. If it does, then you can compare that file with yours to find the problem. If it doesn't try doing the same with the stylesheet file.
  5. Jack_mcs

    Subcategories showing up on Main Categories page

    You don't mention the version of your shop so that could cause wrong answers and delays. Depending on which page you mean, if it is the nested page you can disable the Sub Category List module. As for listing twice, that is usually due to missing images.
  6. Jack_mcs

    shirt color

    This addon may do what you want. There was a similar one named "attributes as colors" or something like that but I don't have a link for it. Searching the addons may turn up more.
  7. Jack_mcs

    Add More Fields

    I think this will display it as a textarea tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_textarea_field($field['field_name'], 'soft', 30, 5,$field['field_value']); The html shouldn't be removed. I don't recall using any code that would do that but maybe I did. So I don't have an answer for this part. I don't have a shop set up with this addon installed so I can't test it.
  8. I don't think that is how it was meant. One of the biggest failings of the addons is that there is no way to know which is the one that should be used. Not to speak for @valquiria23but I think she is just saying it is her opinion with the addons she has tested. She isn't saying the ones she mentions are better than the others. In the case of Phoenix, the problem is worse because many addons simply won't work with it until they are converted. So having a page that states which do work is a great idea, in my opinion. As for which version of Phoenix, it is not always a simple upgrade from one version to the next since some addons have to change the core code. And newer versions of Phoenix may break addons that have been coded for an earlier version. The only way to provide this information correctly would be for each addon developer to upgrade the version of Phoenix he is using, then upgrade and test his addons with it and then package and upload the changes. That just isn't possible in the real world, as least for me.
  9. As far as this addon is concerned, yes, that is how it should work. As far as the basic shops code, I think it is normal. I can't recall ever seeing code where the manufacturer id was added to the url of a product, though I may be wrong.
  10. This one may be the one you are using so it may contain fixes that you need. Keep in mind. In the newer oscommerce versions, some definitions no longer exist. So, for example, the code you posted uses DIR_WS_MODULES. That has to be changed to includes/modules/. I don't recall if those changes have been made in the addon I mentioned but I do know that version works since I have installed it into shops, though I don't recall if I had to make those conversions first.
  11. Why not use the fedex addon instead of trying to convert this one?
  12. Jack_mcs

    Header Tags SEO

    Yes, it should. It was test in 1.0.4.4 and nothing was changed in the later versions of Phoenix that would cause problems.
  13. 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
  14. No, it won't work for Phoenix. I don't know if an update is planned but, if not, then Phone Orders might work for you.
  15. Jack_mcs

    Contact Form Abuse

    It might be spammers trying to send out emails. Just because they all seem to be from Russia doesn't mean they are from the same person. If you have no intention of selling to someone from Russia, then the best approach is to block the whole country. Short of that, it depends on the message. If it just contains text, no email addresses or url's, then it is not possible to block them based on the message. If it does, I suggest you install the Honey Pot addon and set the automatic blocking option.
  16. 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.
  17. You're right. I didn't go through the code previously but have done so now. There seems to be a mistake in the logic of that code since it always adds the model. The code is in includes/application_top.php. You can comment out this line. Although if you are going to do that, I suggest deleting the whole section of code that deals with the model to save a few database calls. $breadcrumb->add($model['products_model'], tep_href_link('product_info.php', 'products_id=' . (int)$_GET['products_id']));
  18. 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
  19. Showing the model in the breadcrumb is controlled by the modules->Header Tags->Product Title module. Just turn the setting off there to remove it.
  20. Jack_mcs

    Google XML Sitemap SEO

    Did you make the database changes with the google_xml_sitemap_seo_install.php file? If so, it has a delete button. Did you not see that? I would think that button is more obvious than text in the install file. If the button is ignored then the text would be too, most likely. Yes, the language is important. But I don't have multi-language sites so unless such a problem is mentioned, it won't be fixed because I won't be aware of it..
  21. One problem is that $this->injectAppTop doesn't exist. You need to create a variable like below. But I'm not sure you need to return the change. The code is adding to the breadcrumb so returning that text would cause text to appear on the page. If you are just testing, that is fine but not if it is a live shop. function listen_injectAppTop() { public $mystr = null; $crumb_query = tep_db_query("select products_name from " . 'products_description' . " where products_id = '" . (int)$_GET['products_id'] . "' and language_id = '" . $languages_id . "'"); if (tep_db_num_rows($crumb_query)) { $crumb = tep_db_fetch_array($crumb_query); $breadcrumb->add($crumb ['products_name'], tep_href_link('product_info.php', 'products_id=' . (int)$_GET['products_id'])); } $this->mystr .= 'breadcruns fixed' . PHP_EOL; return $this->mystr;
  22. I checked but don't see a way to do it. Maybe it requires a moderator with full right?
  23. Jack_mcs

    Google XML Sitemap SEO

    @Philo20051 - Yes, that file should be deleted. You should have seen a button to delete it when you ran the file. 2 - Unfortunately, it does not create multiple language map files. There's a way to do it manually but it requires editing files. If that was a one-time thing then it would be Ok for a temp solution. But this addon should be ran frequently so that is not a good solution. I've added this to things to do for the next version but it will not be completed anytime soon.
  24. Great idea. This should help users searching for an addon. I don't know if it is possible or not but a vote option with all of the posted addons would be nice. Then people that use them can vote on them as to whether they work well or not. Just a thought. .
  25. A new version has been uploaded with these changes: Changed code to fix a 7.3 compatibility problem. Changed code to fix the character conversion option. Split into a Phoenix and non-Phoenix versions. The former accomplished by files supplied by @raiwa.
×