Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2006
    Location
    Jacksonville Fl
    Posts
    73
    Plugin Contributions
    0

    Default Question - What would impact be if only current users could create accounts?

    We have a site used by franchise holders and only franchise holders are allowed to set up new accounts for their users. The site requires the user to login before they can do anything.

    We set up a new field on the customers table to differentiate between franchise holders and users at login; this gives the franchise holders a create_account link but I am concerned that the create_account process will destroy their session.

    What areas of the create_account.php or any other file should be changed to prevent impacts to the current user's session?

    Thank you in advance for your assistance.

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

    Default Re: Question - What would impact be if only current users could create accounts?

    In order to accomplish this, you'd need to create a second create account page with a new users table. Then, you'd need to add the new user row ID into the $_SESSION constant variable and make these validations from your override template's new create account page.

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

    Default Re: Question - What would impact be if only current users could create accounts?

    Jax, instead of doing it this way, why not provide each franchise holder with a special "create account" password that they would give to their users? You could then add logic to compare this value (and perhaps the name of the franchise holder if you prompted for this too) to the expected values and only permit account creation if they matched.

    I would think the franchise holders would not be crazy about the extra paperwork of having to create accounts on behalf of their users, and this approach would solve that problem.

    Good luck,
    Scott
    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. #4
    Join Date
    Mar 2006
    Location
    Jacksonville Fl
    Posts
    73
    Plugin Contributions
    0

    Default Re: Question - What would impact be if only current users could create accounts?

    Thanks so much for your suggestions!

 

 

Similar Threads

  1. What are your current stats for IE6 users?
    By DREAM_UK in forum General Questions
    Replies: 6
    Last Post: 26 Sep 2010, 06:01 AM
  2. What could possibly cause the English create account page not loading (Chinese OK)?
    By haostaff in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 12 Apr 2010, 06:49 PM
  3. Ship only to UK Addresses But Allow Accounts Worldwide - how could I do this?
    By bendlikewillow in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 27 Aug 2008, 04:19 PM
  4. How to disable registration and only admin create accounts
    By Anguz in forum Basic Configuration
    Replies: 8
    Last Post: 27 Jul 2008, 05:22 AM

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