Page 19 of 20 FirstFirst ... 917181920 LastLast
Results 181 to 190 of 198
  1. #181
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,697
    Plugin Contributions
    123

    Default Re: Ceon Back In Stock Notifications 3.0.0 - mysql_affected_rows

    Updates:
    - PHP 7 style constructors
    - Fixed pagination on List all products with subscriptions page
    - Added product ID to List all products with subscriptions, List all subscriptions pages
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  2. #182
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,589
    Plugin Contributions
    30

    Default Re: Ceon Back In Stock Notifications 3.0.0 - mysql_affected_rows

    Over the years I have made a lot of modifications to this (multilanguage and attribute-handling to name the only things I can remember offhand), that I never got round to adding into the plugin. I hope to do it at some point, so there is now a GitHub repository for this:

    https://github.com/torvista/Zen_Cart..._Notifications

    The url should be added to the entry for this in the Plugins.

    At the moment there are no changes from the Plugin v12 version.

    Please report any new issues in GitHub.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  3. #183
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,697
    Plugin Contributions
    123

    Default Re: Ceon Back In Stock Notifications 3.0.0 - mysql_affected_rows

    Thanks for doing this. The Github link in Plugins has been set to your repo.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #184
    Join Date
    Apr 2008
    Location
    Qld, Australia
    Posts
    257
    Plugin Contributions
    6

    Default Ceon Back In Stock Notifications 3.0.0 - product_info_display duplicate message

    Using zc157c

    On the product_info_display page I am seeing two messages for the notification reminder. These messages are defined as
    BACK_IN_STOCK_NOTIFICATION_TEXT_PRODUCT_LISTING_FORM_LINK (Line 26) and
    BACK_IN_STOCK_NOTIFICATION_TEXT_FORM_LINK (Line 36) in the file
    includes\languages\english\extra_definitions\back_in_stock_notifications.php

    Code:
    Line 26 To be notified when this product is back in stock please click here.
    Line 36 To be notified when this product is back in stock please click here.
    With the Back In Stock Notifications settings: Enable/Disable Back In Stock Notification = 1 + Back in Stock requires login= 1
    the outcome is correct and only the value of BACK_IN_STOCK_NOTIFICATION_TEXT_FORM_LINK from line 34 is displayed.

    With the Back In Stock Notifications settings: Enable/Disable Back In Stock Notification = 1 + Back in Stock requires login= 0 the outcome is as listed above.

    I have been through the files multiple times and cannot work out were the second value, possibly a concatenation, i s coming from.

    Environment: zc157c, vanilla

  5. #185
    Join Date
    Apr 2008
    Location
    Qld, Australia
    Posts
    257
    Plugin Contributions
    6

    Default Re: Ceon Back In Stock Notifications 3.0.0 - product_info_display duplicate message

    My solution is to change the Back In Stock code block number 1 which is required in tpl_product_info_display.php after
    Code:
     echo $display_qty;
          echo $display_button;
    from
    Code:
    // BEGIN CEON BACK IN STOCK NOTIFICATIONS 1 of 2
    if (!is_null($product_back_in_stock_notification_form_link)) {
      echo '<p>' . $product_back_in_stock_notification_form_link . '</p>';
    }
    // END CEON BACK IN STOCK NOTIFICATIONS 1 of 2
    to
    Code:
    // BEGIN CEON BACK IN STOCK NOTIFICATIONS 1 of 2
        if ((BACK_IN_STOCK_REQUIRES_LOGIN == '1') AND (!is_null($product_back_in_stock_notification_form_link)) ) {
            echo '<p>'. $product_back_in_stock_notification_form_link . '</p>'; 
        }
    // END CEON BACK IN STOCK NOTIFICATIONS 1 of 2
    This plug-in generates a lot of returning purchases.

  6. #186
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,589
    Plugin Contributions
    30

    Default Re: Ceon Back In Stock Notifications 3.0.0 - product_info_display duplicate message

    The double output is indeed a bug
    https://github.com/torvista/Zen_Cart...tions/issues/5

    to be fixed shortly.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  7. #187
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,589
    Plugin Contributions
    30

    Default Re: Ceon Back In Stock Notifications 3.0.0 - product_info_display duplicate message

    On GitHub I've made some changes, including a bug fix for the above.
    These should, as always, be tested on a development site by those who are interested...

    Some files are removed in the current download, as are no longer necessary for Zen Cart 1.5.7.
    Users of other versions should not try this out before upgrading as no support will be given for obsolete versions of Zen Cart.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  8. #188
    Join Date
    Aug 2004
    Posts
    762
    Plugin Contributions
    0

    Default Re: Ceon Back In Stock Notifications 3.0.0 - product_info_display duplicate message

    Any update or progress on adding a CAPTCHA or something to prevent anonymous users from abusing the form?

    What is happening is that anonymous people are entering a real email address in the TO field, but they're formatting in a way to send their spam links as part of the name.

    See this screenshot example:
    https://i.postimg.cc/c15tMdZj/screenshot-132.png

    So what is happening is that the module is still sending these notification emails from our authorized domain and IP.......but it has the abusive spam link in the person's name being sent to another email address.

    We were getting BOMBARDED with a ton of this happening and temporarily had to remove the module. But we love it and want it back, so is there anyway to either 1) prevent the form from sending without a CAPTCHA or B) prevent it from sending spam links in the name field?

    NOTE: We do have a simple captcha script that we use, but I didn't know how to add it to the existing module since the form appears to be created in the CeonXHTMLHiTemplate and I didn't want to mess with that and break it!
    - Jeff

  9. #189
    Join Date
    Aug 2004
    Posts
    762
    Plugin Contributions
    0

    Default Re: Ceon Back In Stock Notifications 3.0.0 - product_info_display duplicate message

    To add to my post above, maybe a solution could be to insure that there are no links (www. or http strings) in the Name field before submitting. That is how these scammers seem to be getting around it.

    Of course, that wouldn't prevent someone from still using the form to just spam Out Of Stock emails to people, but it would prevent them from distributing malicious links in the Name field which show up in the body of the recipients message.
    - Jeff

  10. #190
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,589
    Plugin Contributions
    30

    Default Ceon Back In Stock Notifications

    maybe a solution could be to insure that there are no links (www. or http strings) in the Name field before submitting
    I think that would be the first step.

    Post the issue on the Github

    https://github.com/torvista/Zen_Cart...cations/issues

    and if you could add a screenshot image of a list of example bad urls to filter, that would help.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

 

 
Page 19 of 20 FirstFirst ... 917181920 LastLast

Similar Threads

  1. Replies: 146
    Last Post: 13 Dec 2020, 09:52 AM
  2. Back In Stock Notifications
    By conor in forum All Other Contributions/Addons
    Replies: 509
    Last Post: 11 May 2016, 03:02 PM
  3. Replies: 4
    Last Post: 14 Feb 2013, 09:33 PM
  4. v139h Back In Stock Notifications only notify customers ONE time?
    By SRQHoyas in forum General Questions
    Replies: 0
    Last Post: 9 Jun 2012, 01:58 PM
  5. Problems with Back In Stock Notifications addon
    By dhanesh in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 21 Aug 2008, 02:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR