Results 1 to 10 of 263

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,247
    Plugin Contributions
    58

    Default Re: Add Customers from admin addon

    Not ALL people are having issues with bulk email welcomes not being sent... only some.

    For example I have 4 installations of this on my own sites and works perfectly, can even state in CSV some yes send and some no.

    The gender issue is commented for those experiencing errors in the install.txt as follows.
    No further reported bugs except some users will need to comment out
    the gender related code in add_customers_backend.php (line 377)
    This also is only a problem for some... matter of fact, months back we determined this was likely related to PHP as a CGI.

    Ok, so my point is if you are going to rewrite the module... you need to think of all. Also, if you choose to rewrite it, you test it and release it properly including updating the version and bug fix log. This module has been Downloaded: 12861 times and another 500 or so from our store... with only these few issues reported here, most of which have been corrected for all users. Some will need PHP 5 as noted in the install log.
    Add Customers page for Zen-Cart 1.3.5+
    Modified from the Edit Customers page in the Zen-Cart Admin
    by Aerodynamic_hippo 01/17/2007

    Version 1.01 modified from Aerodynamic_hippo's 1.0 version by Rick Riehle on 2007-09-30. In v1.01 the new customer's password is automatically generated by the system using the zen_create_random_value function, rather than being generated and assigned by the admin. This is considered better security practice, because, at least in theory, no one but the customer knows the password. Note, however, that there is a hole in this logic: whoever receives a copy of the new account email notice will know the password. If you would rather be able to manually specify the password, use the 1.0 version. V1.01 is working in my test instance of Zen Cart v1.3.7; however, I recommend you test this before putting it into production, and include a review of the email that is sent to new customers. Many thanks to Aerodynamic_hippo for v1.0 of this useful mod. -- Rick Riehle 2007-09-30

    1. Upload all files to your store directory, the new menu item will be in the Customers menu.

    This is the first modification I've made to Zen-Cart in module format, so please offer constructive criticism of my organization if it sucks :)

    Please route questions through the Zen-Cart forums.

    -------------------------------------------
    Version 1.03
    Modified to allow bulk CSV uploading through the Zen Cart admin interface PRO-Webs.net 2008.
    -------------------------------------------
    Version 1.04 2/18/2009
    Minor bug fix changed partially absolute paths to full admin directory relative paths
    as reported in support thread. Fixed open php reported and additional language file
    line break. Uploaded fresh to a test store and created cuatomer w/o error,
    email welcome and password were sent.

    1 Bug remaining... #1 address is not imported to the proper field and company
    name is not correctly imported.

    If you fix this before we do, please contribute to the modules development
    here http://www.zen-cart.com/index.php?ma...roducts_id=454
    -------------------------------------------
    Version 1.05 2/28/2009
    Bug fix provided via support thread davewest repairing the misplaced
    customer fields on manual additions.

    No further reported bugs except some users will need to comment out
    the gender related code in add_customers_backend.php (line 377)

    Some will need to select Select Part (Insert valid lines) when uploading bulk.

    PHP 5 is required to use the Bulk Uploading Functions.

    -------------------------------------
    So, if 50 people grab it here and install it and have issues related to your fixes... I will get 50 emails

    If you are going to repackage it... please follow the Zen Cart submission guidelines and repackage it correctly and submit it here http://www.zen-cart.com/index.php?ma...index&cPath=40

    ~Melanie
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  2. #2
    Join Date
    Mar 2007
    Location
    AZ
    Posts
    1,911
    Plugin Contributions
    2

    Default Re: Add Customers from admin addon

    bunyip,

    I just loaded your corrected files and I'm cured!

    Thanks for taking the time to work out the issues with this module.

    I will test the changes on a different server, different host (also having problems with the original files) and let you know how that goes.

    Tina

  3. #3
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Add Customers from admin addon

    I have updated the version and bugfix log with my changes, and submitted a complete package to the downloads section.

    The updated version is now compatible with php4 and no longer requires php5 to use the bulk upload function. The error reported in earlier posts with regard to the function strripos was a result of trying to run it on php4, as that function was only introduced with php5. I've replaced that with the strrpos function, as it's only looking for the . before the file extension, and so a case-insensitive search isn't required.

    The country IDs for US and UK are no longer hard-coded into the module - they are taken from the database.

    The customer's password is now replaced with 'xxxxx' in the admin copy of the emails.

    The store default setting for customer's email format is now used instead of a hard-coded 'HTML'.

    The gender checking at line 377 that 'some users will need to comment out' according to the install.txt file has been fixed and should now function correctly for everyone.

    I've tested the module on with Zen Cart 1.2.7/PHP 4.3/MySQL 4.0.24 and Zen Cart 1.3.8a/PHP 5.21/MySQL 5.0.27 without any problems.
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  4. #4
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,247
    Plugin Contributions
    58

    Default Re: Add Customers from admin addon

    Quote Originally Posted by bunyip View Post
    I have updated the version and bugfix log with my changes, and submitted a complete package to the downloads section.

    The updated version is now compatible with php4 and no longer requires php5 to use the bulk upload function. The error reported in earlier posts with regard to the function strripos was a result of trying to run it on php4, as that function was only introduced with php5. I've replaced that with the strrpos function, as it's only looking for the . before the file extension, and so a case-insensitive search isn't required.

    The country IDs for US and UK are no longer hard-coded into the module - they are taken from the database.

    The customer's password is now replaced with 'xxxxx' in the admin copy of the emails.

    The store default setting for customer's email format is now used instead of a hard-coded 'HTML'.

    The gender checking at line 377 that 'some users will need to comment out' according to the install.txt file has been fixed and should now function correctly for everyone.

    I've tested the module on with Zen Cart 1.2.7/PHP 4.3/MySQL 4.0.24 and Zen Cart 1.3.8a/PHP 5.21/MySQL 5.0.27 without any problems.
    Excellent... now thats what open source is all about
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  5. #5
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Add Customers from admin addon

    The updated package is now available from the downloads section
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  6. #6
    Join Date
    Dec 2008
    Location
    California
    Posts
    102
    Plugin Contributions
    0

    Default Re: Add Customers from admin addon

    Hello

    I downloaded and installed Add Customer from Admin today (may 10) so I assume I downloaded the latest version.

    I am not wanting to bulk upload, I want to add customers one at a time.

    Two things are happening
    1. No emails are being sent even though I am checking the box to send the Welcome Email. I have tried 4 different, real email addresses and they are not getting a welcome (nor is the junk mail folder)

    2. After adding a customer I get a Success message as well as a message that states

    Invalid argument supplied for foreach() in /home/sondras/public_html/store/son627d/add_customers.php on line 71

    I am on Zen 1.3.8

    Any help would be appreciated

  7. #7
    Join Date
    Dec 2008
    Location
    California
    Posts
    102
    Plugin Contributions
    0

    Default Re: Add Customers from admin addon

    This is the followup to the above message.

    I downloaded the previous version of the mod and loaded it to my storefront..

    Now I am receiving the welcome emails but was getting the error on Line 377 of the :add_Customer_backend.php. I commented out lines 376 through 381

    No errors and the welcome email!!

    I am monitoring this thread so when you get the latest download fixed I would love to load it and use it but the problem does seem to be something in it.

    Thanks

  8. #8
    Join Date
    Dec 2007
    Location
    San Diego
    Posts
    2
    Plugin Contributions
    0

    Default Re: Add Customers from admin addon

    I have installed everything and it works, with the exception of the csv upload. I get the following message "There were errors * Could not move file", any ideas. Please help

  9. #9
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Add Customers from admin addon

    Quote Originally Posted by epickz View Post
    I have installed everything and it works, with the exception of the csv upload. I get the following message "There were errors * Could not move file", any ideas. Please help
    It's possible that your server is configured to not allow or include the server variable $_SERVER['DOCUMENT_ROOT']

    try replacing this line of code at line 26 of admin/add_customers_backend.php:
    PHP Code:
    $path $_SERVER['DOCUMENT_ROOT'] . '/' $files['name']; 
    with this:
    PHP Code:
    $path DIR_FS_ADMIN '/backups/' $files['name']; 
    Neville
    An assumption is what you arrive at when you get tired of thinking...

 

 

Similar Threads

  1. how do i install the add customers through admin addon
    By Matt Smith in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 12 Oct 2009, 11:46 AM
  2. Add customers from Admin addon error
    By 21zerogo in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 30 Jul 2009, 02:12 AM
  3. How do I set default country when using Add Customers via Admin addon?
    By Andy_GS in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 21 Apr 2009, 09:40 AM
  4. Adding customers from admin side, without an addon?
    By dcb37ga in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Dec 2008, 05:22 AM
  5. Add customer from Admin addon
    By wireyourworld in forum Managing Customers and Orders
    Replies: 3
    Last Post: 4 Apr 2008, 05:45 PM

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