Page 1 of 6 123 ... LastLast
Results 1 to 10 of 53
  1. #1
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Ban Customers (by email address).

    Greetings,

    some users from this related topic:

    http://www.zen-cart.com/forum/showthread.php?t=63484

    has asked for a MOD that could ban customers by email addresses. I have just finished with this contribution.

    Donations to the Zen Cart team would be greatly appreciated. You will find my paypal email address under the installation file of the package. That said, it has been a pleasure coding this MOD and if you have any questions / suggestions for either features that are already inside or features you'd like to have, please state them and, if they make sense, I will try to code this up as soon as possible.

    You may download it from my website.

    Regards.

    TheOracle.


    MODERATOR NOTE: This mod is apparently no longer available nor supported by its author. The reasons given on the author's website are only half the story. This discussion thread remains available for reference for those who have already downloaded and attempted to use the contribution.

  2. #2
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Ban Customers (by email address).

    I assume that everything is under control for this contribution ? If so, glad to hear it, since there doesn't seem to have much posts regarding any problematic issues.

  3. #3
    Join Date
    Feb 2007
    Posts
    224
    Plugin Contributions
    0

    Default Re: Ban Customers (by email address).

    TheOracle, Is there more details on how the "ban customers" works?

    I read the installation.txt which is the only document i could find with some details on this contribution but still not clear to me.

    To ban the customer , you have to have his email address, the customer has to be register in the database, he/she can browse but can not login after they get band, correct? if so, what is the difference between this contribution and just changing the Customers Authorization Status to

    ApprovedPending Approval - Must be Authorized to Browse


    Thank you in advance for clearing this for me

  4. #4
    Join Date
    May 2006
    Location
    Texas
    Posts
    565
    Plugin Contributions
    4

    Default Re: Ban Customers (by email address).

    Quote Originally Posted by TamyA View Post
    TheOracle, Is there more details on how the "ban customers" works?

    I read the installation.txt which is the only document i could find with some details on this contribution but still not clear to me.

    To ban the customer , you have to have his email address, the customer has to be register in the database, he/she can browse but can not login after they get band, correct? if so, what is the difference between this contribution and just changing the Customers Authorization Status to

    ApprovedPending Approval - Must be Authorized to Browse


    Thank you in advance for clearing this for me
    (Purely assumption from what it sounds like) - this allows you to keep you from having to authorize each and every customer.. you can have an open store where people can freely register and purchase at will. However if a customer abuses something on your site, etc, you can ban just that specific email address. In the standard ZC, just "disabling" the customer by making the green switch red doesn't do anything.. supposedly there may be future implementation for it but nothing right now. From what it sounds like, this brings that future implementation today

  5. #5
    Join Date
    Jun 2006
    Location
    U.K.
    Posts
    103
    Plugin Contributions
    0

    Default Re: Ban Customers (by email address).

    Hi TheOracle.

    I downloaded and installed the mod on 1.3.7. I have a few issues.

    Firstly, I am using MySQL 3.23.58 and the SQL patch hangs on 'ENGINE = MYISAM'. I removed that entry from both table definitions and it installed the two tables o.k. MyISAM is a default table type anyway and I expect this may not be a prob in later versions of MySQL.

    It looks very smart, although the tooltip intended for the 'edit status' button has a language definition missing I think, on mouseover it shows:

    ENTRY_CUSTOMERS_BANNED_STATUS_EDIT_ALT

    More of a problem, when I add a user or change a user's ban 'status' I get an error:

    Code:
    Warning: Invalid argument supplied for foreach() in c:\inetpub\wwwroot\zencart\includes\functions\functions_email.php on line 387
    
    Email Error: Could not instantiate mail function.
    I have PHP as mail transport method. My test site is set up on a PC running JANA as both SMTP and POP server for testing. Other notification emails from Zen Cart work O.K. so I'm not sure what that could be. What is it trying to do, send an email to the user?

    I followed the instructions to edit

    'includes/modules/my_template/pages/login/header_php.php'

    but unfortunately, I can still log in as the banned customer. Also, my homepage heading, log-off page heading and some others now reads 'Account Status'.

    To be fair, it is late and I need to double-check my overrides. Also, I am using UK date formats in the cart and admin so I don't know if that would affect anything.

  6. #6
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Ban Customers (by email address).

    Sorry for the late response. My internet connection was lost again yesterday night.

    In the standard ZC, just "disabling" the customer by making the green switch red doesn't do anything.. supposedly there may be future implementation for it but nothing right now. From what it sounds like, this brings that future implementation today.
    Sorry, I don't quite understand what you mean by that. The red and green switch works perfectly fine. When enabling (green) the banning feature, the customer gets notified. When the red button is checked, it means that the customer is not banned but, to make sure that other admins to not report this customer twice, the master admin(s) already are aware of their customer's situation. Which is why, reasons are an obligation to be stated when a regular admin wishes to report customers regarding issues they might of had noticed.

    irstly, I am using MySQL 3.23.58 and the SQL patch hangs on 'ENGINE = MYISAM'. I removed that entry from both table definitions and it installed the two tables o.k. MyISAM is a default table type anyway and I expect this may not be a prob in later versions of MySQL.
    Yes, that is correct. I will update my installation guide for this. I forgot to state that my contributions are tested under mySQL v4.1+ (and not under mySQL v3+ nor mySQL v5+). Regarding the myISAM engine, that is also correct. I do not have any modulations handling for InnoDB engines yet. This has already been planned to be implemented in one of the future releases.

    ENTRY_CUSTOMERS_BANNED_STATUS_EDIT_ALT
    ahHA ! 'three bugs' in one block. Very well, I will make the corrections immediately and notify on this topic when the updated version will be posted. Thanks for the catch.

    but unfortunately, I can still log in as the banned customer. Also, my homepage heading, log-off page heading and some others now reads 'Account Status'.
    Also, I am using UK date formats in the cart and admin so I don't know if that would affect anything.
    This is also an instruction I forgot to state since it was also late from my end. The reason why you can still log is because, even when using the zen_session_destroy() function, the customer's cookies must first be cleared out from the site (even cleared out entirely when the browser is closed period). The good news is, you can ajust your expiration session time to a shorter time in case there would be banned users involved. Right now, the unfortunite thing is that this has to be handled globally for everyone. However, I do plan, in one of the future releases, to reduce the expiration time for banned users.

    As for the UK date, as long as your server date corresponds well with your central date, I don't think there should be any problems. Besides, this would be up to your related web hosting party to assure this particular functionnality.

    Email Error: Could not instantiate mail function.
    Check your mail error logs to see what might be the cause precisely.

  7. #7
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Ban Customers (by email address).

    Update:

    For those who downloaded v1.0, v1.0.1 is now ready from my site as only a single file is required to be replaced, in this case, due of this bug:

    PHP Code:
    ENTRY_CUSTOMERS_BANNED_STATUS_EDIT_ALT 
    A changelog.txt file has been added for further instructions.

  8. #8
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Ban Customers (by email address).

    unfortunately, I can still log in as the banned customer.
    Update: Research complete. A patch will be applied for the next release.

  9. #9
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Ban Customers (by email address).

    Update:

    Good news. Some bug fixes has been applied to this MOD. You may now download it from my site without any problems. As for users who already installed it before, read the upgrade and changelog documentation inside the package. Nothing serious has been modified as it should only take a min or two to test this out.

  10. #10
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Ban Customers (by email address).

    Oracle, you may want to revise this line on your website

    These MODs may NOT be reselled.


    this is open source, they can do with it what they want
    Zen cart PCI compliant Hosting

 

 
Page 1 of 6 123 ... LastLast

Similar Threads

  1. Update Customers Email Address
    By ricangem in forum Managing Customers and Orders
    Replies: 1
    Last Post: 4 May 2011, 05:01 PM
  2. How Can I ban a IP address?
    By Bruce1952 in forum General Questions
    Replies: 4
    Last Post: 16 Jul 2009, 06:35 PM
  3. How can I ban an e-mail address?
    By Ralyn in forum Managing Customers and Orders
    Replies: 0
    Last Post: 11 May 2009, 06:15 PM
  4. how to ban a customers ip address?
    By DarkAngel in forum General Questions
    Replies: 4
    Last Post: 6 Nov 2008, 10:19 PM
  5. Email to Customers - CC/BCC address
    By ARRSE in forum General Questions
    Replies: 6
    Last Post: 24 Apr 2007, 09:52 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