Jump to content

Jack_mcs

Members
  • Content count

    30,471
  • Joined

  • Last visited

  • Days Won

    145

Everything posted by Jack_mcs

  1. Jack_mcs

    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).
  2. Jack_mcs

    HoneyPot Captcha

    In includes/hooks/shop/siteWide/honeypot_display.php. delete this line: return $str;
  3. Jack_mcs

    Easy Populate V 3.0

    This is a new version of Easy Populate. The basic code is still the same and previous catalog files are compatible with this version, as long as they don't reference outdated addons. This is mainly a cleaned-up version meant for Frozen and Phoenix shops. The changes in it are below. Changed code to be php 7.3 compatible. Corrected the system stats code in the right column. Moved the settings to the database and added the code to change them via the gui. Removed code for older shops. Removed code for outdated addons, like MoPics. Removed references to definitions.
  4. Jack_mcs

    View Counter

    I haven't tried it in that version yet so I can't offer any suggestions. The next version will work for it but I don't know when that will be.
  5. Jack_mcs

    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. :)
  6. Jack_mcs

    Images

    @micheleangle Images have a dimensional size (100x100) and physical size (4 MB). For the dimensions, they should be the size you want to display when the click to enlarge is used. Usually a height of 500 or 600 works best so the user doesn't have to scroll. Then for the display sizes, like on the product page,, you would adjust the sizes to what looks best for your site - there's no one good size for all sites. You should install the image thumbnail addon. It will usually improve the appearance of the images but more importantly, it will create thrumbnails so the physical size is not an issue, though you should still try to reduce that by optimizing the images when possible.
  7. That's correct. You should use the one named "Phoenix Edition V1.0.7.13".
  8. @H2comicsThe first thing you should do is delete what you have and install the community version. To get it, go here and scroll down to that section. Then upload and extract it as you describe and then run the install script. Post here if you get stuck at that point.
  9. Jack_mcs

    Getting security issue on my site.

    That is a old and non-supported version. If this is a new installation you should start over and install the Phoenix version. If it is an existing installation, the items you mention, like Social Security Number, are not standard in the shop. That would mean you have altered the code, which is fine, but it makes it difficult for anyone here to help, at least without more details.
  10. Jack_mcs

    Easy Populate V 3.0

    I verified this isn't working when updating. It does work for new products. It is a mistake in the code but I don't have a fix at this point. I will get to it as soon as I can. Thank you for reporting it.
  11. 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
  12. Jack_mcs

    Header Tags SEO

    I apologize for the problems this caused. Managing more than one version of oscommerce has always been bothersome but now with multiple versions of Phoenix included, it gets a little harder. For the View Result box entry disappearing and the details going away when the default tags are set, they are working find for me here so I may have made some change that fixes them. Maybe on a very large site.
  13. Jack_mcs

    View Counter

    If the IP is in a range (CIDR) of IP's, VC will show the IP as blocked but you won't see it in the list. Use the "IP in CIDR" box to check that. Although, if the IP is in a CIDR, it should still be blocked so I don't know why it wasn't. You can use the Rebuild htacces or Rebuild Banned list tool to sync the .htaccess file and the banned list, though that should not be necessary as far as blocking is concerned.
  14. Jack_mcs

    Header Tags SEO

    I think you are trying to outsmart the code. There's no need to be making database changes, assuming you have a working installation. Also, it would surprise me if the url check in the test page worked since I haven't done anything with that code for years. Regarding the permissions on the includes/header_tags.php file, they are set to enable writing because when a page is added in admin's Page Control, the file gets edited. For some servers just having the permissions set to 644 will work. In any case, if they do not match those of the images directory and you don't want to change those of the file to match those settings, then turning the option off is the only choice. For the keywords, be sure the setting for them is enabled, and not set to True. There was a mistake in an earlier version of the database file and if you didn't update it, that setting will be incorrect. For the View Result on Page Control, you said the cpath was set in the box for it but if you look at the image you uploaded, it isn't. For the keyword check, I see that it is failing because the code is still using definitions. I will fix that in the next version. Regarding the error on the test page, as mentioned, I haven't changed that code in some time. I will fix it in the next version if I have time.
  15. Jack_mcs

    Header Tags SEO

    Hi Geoffrey, The code checks the permissions on the includes/header_tags.php file and compares them to those of the images directory. So first compare the two and change the former if different. There is also an option in the settings to ignore the difference. You probably know that it is not a good idea to use permissions of 777 so I suggest changing that, if possible. The default tags are set with the same button that sets the meta tags. You have to enter cPath=13 in the View Result box.
  16. Jack_mcs

    Advice on a directory move

    I think you will run into fewer problems by moving the files to the root. That shouldn't be the case if the move is done properly. Be sure to add redirect code to the roots .htaccess file that issues a 301 for any url that has the sub-directory in it. Also be sure to update your sitemap files so they have the correct url's. Basically, change anything that mentions the old url, like entries in the shops settings and the robots file.
  17. Jack_mcs

    Quantity drop down box on product page

    There are addons for this. Here is an old one but it probably won't work in your version as is. You will need to search the addons for one that will if it doesn't.
  18. Jack_mcs

    Header Tags SEO

    It is in this file: includes/modules/header_tags_seo/header_tags_opengraph.php
  19. Jack_mcs

    View Counter

    Please let me know what they are so I can try to duplicate the problem.
  20. Jack_mcs

    View Counter

    Then I don't know what it might be. It is working fine here and in the shops I have it installed in.
  21. Jack_mcs

    View Counter

    If VC is loading after Who's Online, Who's Online will report the connection since it is made before VC blocks it. You can use the rebuild .htaccess file in Tools to stop that. Though it ill increase the size of that file which will slow the site down if it gets too large.
  22. Jack_mcs

    View Counter

    That part is invalid. It is generated by the code that was added. Please check to make sure there is a space between the '' in that code.
  23. Jack_mcs

    View Counter

    The problem is that is something missing or extra before the line that is failing, I can't tell for sure from your image but is there an apostrophe before the $ on the failing line )17)? If so, then that is the problem. If not, then try typing in the new line manually and deleting the other that was added. It may be picking up a hidden character in the copy/paste. I don't know what the problem might be with the IP's. If an IP is in the banned list it should be blocked. I plan on releasing an update soon with a number of fixes so maybe it will fix the problem.
  24. Jack_mcs

    Easy Populate V 3.0

    It turns out there is a missing file in the last released version. Please upload the attached to the includes/languages/english/ directory. I apologize to everyone for the mistake. easypopulate.php
×