Jump to content

Jack_mcs

Members
  • Content count

    29,774
  • Joined

  • Last visited

  • Days Won

    129

Reputation Activity

  1. Like
    Jack_mcs got a reaction from Chadduck in HoneyPot Captcha   
    I'll rewrite the code in the next version. For now, if it causes problems then don't use it for that page.
  2. Like
    Jack_mcs got a reaction from Chadduck in HoneyPot Captcha   
    The intention of the honeypot_verify_contact_us.php was meant to be a catch-all for all of the pages except create account. But I didn't revisit that code in this version since I was concentrating on the create account changes. Looking at it now, I can see some changes are needed but I think it will work.
    I checked the file you mentioned but don't see the code you mentioned. In general, any page that submits a form will have a line like this
    if ($error == false) { There may be multiple lines like that. The verify line of Honeypot should go right above the one before the code that accepts the input .
    Include the verify contact us file should work but any failures will report it is the contact us page where they occurred. That is not a problem with the code  but can be confusing.
    For all such form pages, be sure to put the display line right above the submit button code and to check the page in the Honeypot settings.
    Please give it a try and let me know if it doesn't work.
  3. Like
    Jack_mcs got a reaction from Chadduck in HoneyPot Captcha   
    No needed at all. I would rather have the suggests than not have them.
  4. Like
    Jack_mcs got a reaction from valquiria23 in HoneyPot Captcha   
    You're welcome.
  5. Like
    Jack_mcs got a reaction from valquiria23 in HoneyPot Captcha   
    A new version has been uploaded with these changes:
    Added an option to record known bad IP's from an external site and to check those at run-time. Added an option to display a math captcha. Added an option to block accounts that have numbers in the name. Added an option to block accounts that have letters in the phone and fax fields. Added an option to log details for create account attempts. Added check for an account field containing html. Added optional code change to fix a known problem with oscommerce handling textareas in configuration. Corrected a logic error that would prevent the bad words filter from working for create account. Corrected a mistake in the database commands for older shops. Moved display text to a language file. Some Notes:
    This is not a direct replacement as previous versions were. Please follow the included instructions. Basically, you will need to remove any previous changes before applying these.
    The new IP List option creates a list of known bad IP's provided by myip.ms. But they only supply a limited number on their site to prevent large files from being downloaded. So there is a cron script in the package that will check their site and add any new IP's they find to be bad. I run the script daily but you may wish to run it more often or less. But if you go beyond five days or so, you may miss some of the additions so I don't recommend that.
    I added the match captcha at the request of one of my clients. Personally, I don't care for any challenge being presented to the visitor. To get rid of that was one of the main reasons for creating this addon. But it is there for those that want it.
    I saw on these forums that Honey Pot wasn't always catching fake accounts. I spoke with one person about this privately and the reason was, for him at least, that he did not have the "Create Account Check" option enabled. That setting is the on/off switch for all of the account checks. It should always be on if you want to use any of the account checking options.
    If you find that Honey Pot didn't block a fake account, please take a screenshot of that account in the customers section in admin and post it here along with what settings you are using for the Honey Pot module and I will take a look.
     
  6. Like
    Jack_mcs got a reaction from valquiria23 in HoneyPot Captcha   
    A new version has been uploaded with these changes:
    Added an option to record known bad IP's from an external site and to check those at run-time. Added an option to display a math captcha. Added an option to block accounts that have numbers in the name. Added an option to block accounts that have letters in the phone and fax fields. Added an option to log details for create account attempts. Added check for an account field containing html. Added optional code change to fix a known problem with oscommerce handling textareas in configuration. Corrected a logic error that would prevent the bad words filter from working for create account. Corrected a mistake in the database commands for older shops. Moved display text to a language file. Some Notes:
    This is not a direct replacement as previous versions were. Please follow the included instructions. Basically, you will need to remove any previous changes before applying these.
    The new IP List option creates a list of known bad IP's provided by myip.ms. But they only supply a limited number on their site to prevent large files from being downloaded. So there is a cron script in the package that will check their site and add any new IP's they find to be bad. I run the script daily but you may wish to run it more often or less. But if you go beyond five days or so, you may miss some of the additions so I don't recommend that.
    I added the match captcha at the request of one of my clients. Personally, I don't care for any challenge being presented to the visitor. To get rid of that was one of the main reasons for creating this addon. But it is there for those that want it.
    I saw on these forums that Honey Pot wasn't always catching fake accounts. I spoke with one person about this privately and the reason was, for him at least, that he did not have the "Create Account Check" option enabled. That setting is the on/off switch for all of the account checks. It should always be on if you want to use any of the account checking options.
    If you find that Honey Pot didn't block a fake account, please take a screenshot of that account in the customers section in admin and post it here along with what settings you are using for the Honey Pot module and I will take a look.
     
  7. Like
    Jack_mcs got a reaction from valquiria23 in Continue Shopping   
    This addon adds a continue shopping button to the shopping cart page. It is compatible with Frozen, Phoenix and all V2.3.4 shops that can use modules.
     
  8. Like
    Jack_mcs reacted to 14steve14 in Phoenix Better product page layout support topic   
    Before anyone starts I am fully aware of the PI modules available to some supporters, but some may not be supporters and may want a different layout to their product_info.php pages. For ease the PI modules should be obtained by becoming a supporter of Phoenix by paying either monthly or annually.
    I spent a while trying to change the look of my product pages in Phoenix but could not get the effect that I had in Edge. This is down to a change in BS4 compared to the older BS3. In BS3 it was easy to place modules next to each other in the product info pages just by using the sort order and content widths, but that functionality was removed with BS4.
    What this mod does is to replace the content block of code found in product_info.php from one to four blocks. One full width across the top, two in the centre side by side and one full width across the bottom of the page. Different widths of the centre two blocks can be altered in the product_info.php page code. It does change the code in the core product_info.php page and there is a need to create some new folders in the product info modules and languages folders. Once done any new module created for the standard product info page can be used with no changes. To fill the full width of the two centre blocks you should use a content width of 12.
    New blocks can easily be added to create greater page variation by adding similar blocks to those now found in the product_info.php file, and creating the new folders needed. Existing new blocks can also be moved around the page by changing product_info.php.
    Totally stand alone with one core code change to product_info.php.
    Has been tested on Phoenix 1.0.2.5 only but may work on other versions. Will not work on pre Phoenix code.
    Some of the modules in the images may not be available to non supporters.
    Available at https://apps.oscommerce.com/wilqp&better-product-info-page-layout-phoenix
     
     
     


  9. Like
    Jack_mcs got a reaction from mhsuffolk in SiteMonitor   
    That is a php compatibility issue. The change below will fix it but there are problem others. This addon is scheduled for an update but I don't when that will be.
    In admin/sitemonitor_configure_setup.php, find two instances of the following and remove them.
    width="<?php echo BOX_WIDTH; ?>"  
  10. Like
    Jack_mcs got a reaction from puggybelle in Can I limit the number of words entered in account creation?   
    OK, thanks. But just to be clear in case someone is reading this, the current, released, version of Honey Pot doesn't have the check for the number of words in a name. The unreleased version does and I hope to get it uploaded this weekend.
  11. Like
    Jack_mcs got a reaction from puggybelle in Can I limit the number of words entered in account creation?   
    OK, thanks. But just to be clear in case someone is reading this, the current, released, version of Honey Pot doesn't have the check for the number of words in a name. The unreleased version does and I hope to get it uploaded this weekend.
  12. Like
    Jack_mcs got a reaction from puggybelle in Can I limit the number of words entered in account creation?   
    The latest version of Honey Pot has an option for this, as well as several other new options. I will try to get it uploaded this weekend.
  13. Thanks
    Jack_mcs got a reaction from Zzyzx1234 in Google XML Sitemap SEO   
    Try this, after adjusting the locations to fit your server:
    cd /home/***/public_html/googlesitemap/; /usr/local/bin/php -c /home/***/public_html/php.ini -q /home/***/public_html/googlesitemap/index.php If that doesn't work, ask your host to let you know what the cron error is. Or change the email address in cron to a working one, assuming it isn't already set that way, and see what the email says.
  14. Like
    Jack_mcs got a reaction from peterpil19 in Show a default image if image not found   
    The better solution is to install the image thumbnailer addon. It does what you want but also, usually, improves the appearance and reduces the size of the images.
  15. Like
    Jack_mcs got a reaction from valquiria23 in Suggestions for additions to core code   
    There is already a core module for index_products. An addon could be created for index_nested but it seems to me that it should be part of core since the one already exists. It is not a big job either way. I think the level setting is more important since it removes the need for shop owners to edit files.
  16. Thanks
    Jack_mcs reacted to valquiria23 in Suggestions for additions to core code   
    Nice suggestions Juck, It would be great to incorporate it as an addon or have two types of modules in the core and that the user selects the one he likes the most, don't you think?
  17. Like
    Jack_mcs got a reaction from valquiria23 in Suggestions for additions to core code   
    The following aren't bug - just suggestions for making the shop more user-friendly.
    I suggest making the number of categories returned by category_tree to a setting. It is currently set to 1 and requires a code change to change it, which some sites will want to do. There are two places: modules/content/index_nested/cm_in_category_listing.php and modules/boxes/bm_categories.php.
    Also, the cm_in_category_listing.php will never be used if a category has products. This has been a long-standing problem for many sites and there are several addons for changing the code. So I think that module should be duplicated into the index_products group.
     
  18. Like
    Jack_mcs got a reaction from valquiria23 in Sitemap SEO   
    I don't know but probably not, at least completely. For any older addon that displays something on a page of the shop, a change is needed to properly work with BS4, though sometimes the page will load fine without it. But this addon would change too many core files so I wouldn't recommend using it until that has been changed. I don't know when that will be.
  19. Thanks
    Jack_mcs got a reaction from mhsuffolk in [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo   
    At line 1883 in the includes/classes/seo,class.php filem change
    continue; to
    continue 2;  
  20. Like
    Jack_mcs got a reaction from PiLLaO in Sitemap SEO   
    There was meant to be a file in admin/includes/languages/English/modules/boxes/ named sitemap_seo.php with those lines. Having the file there prevents the need to change an existing file. The way you added it will work too.
  21. Like
    Jack_mcs got a reaction from PiLLaO in Sitemap SEO   
    That file is no longer used so the boxes section won't work as in previous shops. That will be fixed in a future version, though I don't know when that will be. For this one, change this line
    $file = DIR_FS_CATALOG . $end . 'includes/filenames.php'; to
    return '';  
  22. Thanks
    Jack_mcs reacted to kgtee in Jssor Slider   
    I have been trying to figure out how to get the banner click count working. I just found the solution.
    In the template file tpl_cm_i_jssor.php:
    Now, the URL click counts are ticking too. 😄😂😊
  23. Like
    Jack_mcs got a reaction from valquiria23 in HoneyPot Captcha   
    A change was mentioned in Fake Accounts thread to check TOR IP's, which are often used by spammers and hackers. The code to make this change is below. I will add it to the next release once I have time to add a setting and package it. To use it now, open the includes/functions/honeypot.php file and find this line:
    $db_table = 'honeypot_track'; and add this above it:
    if (CheckTOR()) { return true; } Then at the end of the file, add this
    function CheckTOR() { $ips = file("https://check.torproject.org/cgi-bin/TorBulkExitList.py?ip=1.1.1.1"); $found = false; foreach ($ips as $ip) { if (strpos($ip, $_SERVER['REMOTE_ADDR']) !== FALSE) { $found = true; break; } } return $found; }  
  24. Like
    Jack_mcs got a reaction from fiodh in Fake accounts   
    @OzaHoney Pot will stop the majority of them.
  25. Like
    Jack_mcs got a reaction from pete2007 in Using PHP 7.1 with Osc 2.3.4 is it safe?   
    It's not a question of whether it is safe or not. The higher versions of php usually fix security holes in previous ones and shouldn't introduce any in the shop that weren't already there. The real question is if it works or not. You should thoroughly test all parts of the shop to make sure they work correctly, especially when it involves addons. If they do, then you can stay on 7.2.
×