Jump to content
Latest News: (loading..)

Jack_mcs

Members
  • Content count

    29,248
  • Joined

  • Last visited

  • Days Won

    112

Everything posted by Jack_mcs

  1. Jack_mcs

    Where is OSCOM_Hooks defined?

    In includes/application_top.php and admin/includes/application_top.php.
  2. In addition to the last reply, it is an order status that is set in admin->Localization->Orders Status. You can change it to whatever you like. You can also add others and then set one to be use in payment modules settings.
  3. Jack_mcs

    FAQ's BS

    Those are leftover from the original addon that I missed. Here's how to fix them: Line 52 should be: $query_lang = "WHERE language = '" . (int)$_GET['faq_lang'] . "'"; Line 43 and 44 should be: if ($edit['v_order']) { $no = $edit['v_order']; Line 54 should be: if ($edit['visible']) { Line 32 should be: echo $val[v_order] . ', '; Basically, any [name] should be ['name'] (add apostrophes). Those checks probably include isset commands but I don't have a test shop set up to test them at the moment. Please try the above changes and let me know how it goes.
  4. Jack_mcs

    FAQ's BS

    This addon provides a FAQ page for any shop that is able to install addons via the modules content section. All of the FAQ's are handled in the admin. This version is compatible with any oscommerce shop that uses modules to load infoboxes in admin (about since V 2.3.1). This addon is based on the FAQ System addon but has many improvements and security fixes. Installation only requires one file change.
  5. Jack_mcs

    Product Quantity Box

    That would be the way one would want it to work. But when the add to cart on the product listing page is clicked. it handles all of the selected items as a whole, not one at a time. So if none of them have attributes, then the whole list is passed to the shopping cart. But if one has attributes, the list is dropped and the code redirects to that one product. This is how oscommerce has worked from the beginning.
  6. This addon adds a quantity box to the product page. It is only compatible with the latest Community Version that uses Action files for handling the buy now button.
  7. Jack_mcs

    Product Quantity Box

    Glad it worked. Thanks for letting me know. I'll add it to the next version. Yes, it can be added to the product listing page but that is only useful if the products don't have attributes or if only one item is being ordered. For example, if you have 10 products showing on the page and you set the quantity for each and then click add to cart, if one of the products has an attribute then the code redirects to that page and all of the selections are lost. It will work fine if attributes don't exist for any of them. Since, I think, most sites use attributes that code change wouldn't be very useful. But maybe adding it as an option in the settings to let the shop owner decide would be a good way to do it.
  8. Jack_mcs

    Product Quantity Box

    It is most likely due to some other item on the page being overlaying the button(s). Please try this (not texted). At the top of the includes/modules/content/product_info/templates/quantity.php file, add the following: <style> div.cm-pi-quantity-box {z-index:100;} </style>
  9. Jack_mcs

    Jssor Slider

    @milerwanThank you for posting the fix. I'll include it in the next version.
  10. Jack_mcs

    Jssor Slider

    This addon will display banners in the header or the home page, depending upon which module is installed. The banners rotate using selected methods in the module. There are 29 transitions included but those can easily be changed , added to or deleted as desired. No file changes are needed. This addon is based on the code supplied by dinopacha.
  11. Jack_mcs

    Jssor Slider

    I don't know the answer to that and would have to spend time figuring it out, which means it probably won't be done anytime soon. I suggest asking on stackoverflow or checking the examples at jssor.
  12. Jack_mcs

    osCommerce V2.3.4.1 Japanese

    Languages are added via language addons. If one of those does offer a good translation, you should upload yours.
  13. Jack_mcs

    Jssor Slider

    As mentioned in my post about the text, it was added as an afterthought and doesn't have any way to control it per image. I plan on adding that in the next version but please feel free to post your code here. Maybe it will help others and, more importantly, save me from having to do it.
  14. Jack_mcs

    Jssor Slider

    It is because the needed images are in the wrong location. To fix it, move the images that are in the images/jssor/jssor/ directory to images/jssor/
  15. Jack_mcs

    SEO Boxes Question

    OK, I see what you mean now. Yes, you would have to delete those from the categories file. The categories file included in the BS section of the last uploaded version of Header Tags SEO has those removed. So you can use a compare program, like WinMerge, to locate and delete them. There are also boxes for the products in that file that you may want to remove and some in the manufacturers.php file as well.
  16. Jack_mcs

    SEO Boxes Question

    If you mean the entries showing in admin, yes, they can be deleted. You just need to be sure to delete both files associated with the module. The main modules are in includes/modules/header_tags/ and there is a corresponding file in the languages directory. If you mean to remove boxes from the shop side, just disable them in admin as mentioned by Zahid.
  17. 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
  18. Jack_mcs

    Header Tags SEO

    No idea but I doubt it will be this year. No, I don't have it in a format ready to be used else I would upload it. The way you mentioned moving the code is the right idea but new modules and hooks are being used instead of editing the core ones. I have several versions of those, depending upon the shops version and that's part of the reason for the delay.
  19. Jack_mcs

    Header Tags SEO

    There is a new version but it has not been released (just due to time constraints). I'm not sure what you mean by "can i delete it". If you are referring to this addon, you can remove it but you will lose whatever titles and tags you have setup. If you mean the changes to those pages. you can skip those but will lose some of the options this addon adds to those pages.
  20. The catalog directory doesn't exist in your shop so this is wrong. I suggest making the following changes: define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', ''); define('DIR_FS_DOCUMENT_ROOT', '/home/bigmus5/public_html/shop'); Also, as Zahid mentioned, it is a mistake to have your admin named admin. And if you visit the shop itself you will see it doesn't display properly so there are problems there too.
  21. When you say "re-install", do you mean you had a working shop and replaced its file from a backup, installed a new version or something else? The problem you are seeing is usually due to the admins configure file. But if you just reloaded files from backup, there wouldn't be any reason for the configure file to be bad. Although, if you did a re-install on a new server, then the paths would probably be different and that would cause it. But regardless what change you made, the best thing to do is to post your admins configure file here, minus the database details, so someone can take a look.
  22. That warning is usually due to extra spaces in a file but it can also be due to text being printed by the code. If this only happened when the site was busy, then my guess is that the server was failing with too many connections and that message was being displayed, or something like that. If it is always happening, then it is probably something in the code. In that case, I suggest clearing the error log file and clicking around your site, periodically checking the error log to see if a failure occurred. You can also try changing the error_reporting line in includes/application_top.php to the following: error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_DEPRECATED); ini_set('display_errors','0');
  23. Jack_mcs

    Frozen: tep_draw_button problem

    @ce7Try this. In includes/functions/html_output.php, fine $types = array('submit', 'button', 'reset'); if ( !isset($params['type']) ) { $params['type'] = 'submit'; } and change it to if ( !isset($params['type']) ) { $params = array('type' => ''); $params['type'] = 'submit'; }
  24. Jack_mcs

    Rewrite Rules htaccess combining 2 redirects

    Then you probably needs to add the check for https back in. That thread indicates otherwise but I've never tested it so apparently that is not the case.
  25. Jack_mcs

    Rewrite Rules htaccess combining 2 redirects

    The cpanel and comodo commands are placed there when the site uses the AutoSSL. This thread explains it a little. As for the rules, I don't think you need the RewriteCond %{HTTPS} !on at all since cpanel will force ssl when the AutoSSL is used. But be sure to test it if you remove it. If you leave it in, it should go at the bottom since the others will switch to https when used. The RewriteCond %{HTTP_USER_AGENT} !facebookexternalhit/[0-9] line is checking every connection and redirecting to https and www if it isn't a facebok bot so that should be below the index.php check but above the www and ssl checks.
×