Zen Cart Logo
Forums / All Other Contributions/Addons / Additional Customers Fields

Additional Customers Fields

Locked

Views: 88,139

Results 321 to 340 of 491
This thread is locked. New replies are disabled.
22 Jun 2007, 02:48
#321
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Additional Customers Fields

As for this post:

http://www.zen-cart.com/forum/showpost.php?p=392744&postcount=305

  • Test completed. Confirmed bugs:

  • Duplicated fields can be found when increment mount of customers registers to a store (adds a loop + 1 for each new registration once each successful accounts has been created) due to a conflict between my foreach and while loop statements.

// Solution:

A full new complete function module is currently being re-written in order to avoid this problem in the future. Before sending another update, additional testings must be done so that the new hart would work for everyone (at least - for mySQL v4.x users for now).

22 Jun 2007, 03:43
#322
blitz49 avatar

blitz49

New Zenner

Join Date:
Apr 2005
Posts:
99
Plugin Contributions:
0

Re: Additional Customers Fields

Wondering does anyone have problems where the fieldset word "Contact Us" in contact us page and fieldset word "Forgotten password" on forgotten password page disppear with this MOD. Take a look at the pictures, cause when i remove the mod it reappears.

22 Jun 2007, 12:04
#323
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: Additional Customers Fields

This MOD has not been tested with the forgotten password MOD. Does one of my files involves one of that MOD's file ?

22 Jun 2007, 15:20
#324
rbepple avatar

rbepple

New Zenner

Join Date:
Jun 2007
Posts:
71
Plugin Contributions:
0

Re: Additional Customers Fields

Thank you for your hard work and time to getting all the kinks out of this MOD! I will check back later to see when you post an update on this MOD. I still get blank content in my customer edit and admin side of the field. What files do you need to see?

22 Jun 2007, 16:10
#325
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: Additional Customers Fields

I still get blank content in my customer edit and admin side of the field.

The next update will apply for the store-front and NOT for the admin. I'm currently working on getting rid of the duplicated fields which is a priority right now.

22 Jun 2007, 17:37
#326
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: Additional Customers Fields

Update:

The registration account form has not been fixed with this MOD. Each registered customers will NOT increment additional fields / block fields in the form. My function has been completely re-written as you should NOT encounter this problem ever again.

The registration form - now from previous:

  • Removed the validations for emplacement fields + their activation / deactivation status from the templates. All is being handled from the new function now.

  • Fixed functionality of activation / deactivation of each additional customers fields from the admin. It should now work as expected.

However, it is NOT uploaded on my website yet, since I have decided to re-structure some of the following details. Here's my little roadmap - please take your time to read this part in order to avoid any questionable post in the future (and before the next update is being released).

Roadmap:

  • Rebuild of the create account page (store-front - NOT the admin with the add account from admin MOD).

  • Rebuild of the account edit page for handling current filled fields.

  • Universal drop-down field values quality (no more unique INT as restrictions - other fields structure will be involved (hopefully) - and YES - take note of the 'hopefully' - this means it is NOT official but I will try !).

  • Rebuild of the admin's customer's core page for loading the additional customers fields.

  • Languages definitions arrays will remain unchanged due to it's perfect functionality.

  • Revision of the installation text file.

  • New templates example.

  • Modified modules example (for more comparaison in the future).

  • New build version release.

End of roadmap.

If you have any questions regarding these new events, you may state them as I will try to reply as soon as possible (due to the busyness of coding these new features).

22 Jun 2007, 19:09
#327
blitz49 avatar

blitz49

New Zenner

Join Date:
Apr 2005
Posts:
99
Plugin Contributions:
0

Re: Additional Customers Fields

TheOracle:

This MOD has not been tested with the forgotten password MOD. Does one of my files involves one of that MOD's file ?

I'm not talking about forgotten password MOD, I'm talking about the forgotten password and contact us page. Wondering if anyone has the words disappear on them after installing Additional Cutomers Fields like the pictures I uploaded.

22 Jun 2007, 19:23
#328
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: Additional Customers Fields

I'm not talking about forgotten password MOD, I'm talking about the forgotten password and contact us page. Wondering if anyone has the words disappear on them after installing Additional Cutomers Fields like the pictures I uploaded.

Again, does it affect one of the distributed filenames from my package ?

22 Jun 2007, 20:19
#329
creative avatar

creative

New Zenner

Join Date:
Jul 2005
Posts:
85
Plugin Contributions:
0

Re: Additional Customers Fields

The Oracle,

Thanks for your continued work and support on this MOD. I've finally caught up with everyone and have the duplicating additional fields showing up in the customer/storefront registration form that's been mentioned in previous posts. I'll be anxiously awaiting the update.

22 Jun 2007, 20:24
#330
creative avatar

creative

New Zenner

Join Date:
Jul 2005
Posts:
85
Plugin Contributions:
0

Re: Additional Customers Fields

Blitz49:

I'm not talking about forgotten password MOD, I'm talking about the forgotten password and contact us page. Wondering if anyone has the words disappear on them after installing Additional Cutomers Fields like the pictures I uploaded.

Yes, this is happening for me as well. I didn't notice until I checked after reading your post.

I also have my h1 headings missing from the product info, shipping & returns, site map, privacy notice and conditions of use pages. None of these are MODs or add-ons, but the pages provided in the basic install of Zen Cart. However, all my categories have retained their h1 headings. Hmmm...wonky.

22 Jun 2007, 20:47
#331
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: Additional Customers Fields

The Oracle,

Thanks for your continued work and support on this MOD. I've finally caught up with everyone and have the duplicating additional fields showing up in the customer/storefront registration form that's been mentioned in previous posts. I'll be anxiously awaiting the update.

Well, I'm sure you'll get better by knowing that I have fully patched the store-front store interface regarding the create account and account edit page. :wink2:

Hopefully I haven't forgot anything. Now up to rebuild the admin interface regarding the admin's customer's core page . . .

Yes, this is happening for me as well. I didn't notice until I checked after reading your post.

I also have my h1 headings missing from the product info, shipping & returns, site map, privacy notice and conditions of use pages. None of these are MODs or add-ons, but the pages provided in the basic install of Zen Cart. However, all my categories have retained their h1 headings. Hmmm...wonky.

Hopefully the new fix will correct these problems (especially for the fact I can't reproduce these problems - except for the simple duplicate fields issues on my registration form page).

Sit tight - more news are coming . . .

22 Jun 2007, 22:45
#332
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: Additional Customers Fields

*** Very important update: ***

It is done ! 99.9% of bugfixes has been applied on this MOD. You may now re-download the package from my site. For those who needs to upgrade, make SURE to follow the upgrade and changelog documentation.

For those who encountered problems with the moderators_level field, make sure to apply a full SQL update on that field (from either your phpmyadmin or your Install SQL patches page) by changing the value 0 to read: 1 (make a backup of your TABLE_CUSTOMERS table first).

From there, you should always be able to see the True and False readings from your admin customers core page from now on.

0.1% of the modifications has failed: INT must remain numeric since core fields and additional fields does not contain the same type of field value for pull-down menus. This wasn't thought before so, to maintain things, it will have to remain numeric for the values (again, this applies for the pull-down menu as this part of note has also just been added into the admin's extra_definitions folder - additional_customers_fields.php file where the uncommented instructions is presented).

My apologize for the past encountered bugs, hopefully - things will get better with this new release.

Good luck ! :smile:

23 Jun 2007, 01:28
#333
blitz49 avatar

blitz49

New Zenner

Join Date:
Apr 2005
Posts:
99
Plugin Contributions:
0

Re: Additional Customers Fields

TheOracle,

Thank you for all your work. Now the duplicate fields are fixed.

As for the following error:

1054 Unknown column 'c.customers_default_address_id' in 'on clause'
in:
[select c.customers_id, c.customers_gender, c.customers_firstname, c.customers_lastname, c.customers_dob, c.customers_email_address, a.entry_company, a.entry_street_address, a.entry_suburb, a.entry_postcode, a.entry_city, a.entry_state, a.entry_zone_id, a.entry_country_id, c.customers_telephone, c.customers_fax, c.customers_newsletter, c.customers_default_address_id, c.customers_email_format, c.customers_group_pricing, c.customers_authorization, c.customers_referral, ac.field_name, ac.field_status from customers c, customers_additional ac left join address_book a on c.customers_default_address_id = a.address_book_id where a.customers_id = c.customers_id and c.customers_id = '9']
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields. 

This is how I fixed the error, and now I able to edit customers information. Hope this works for the rest of you. I changed the following code in file customers.php under additional_customers_fields\admin.

From original code:

from " . TABLE_CUSTOMERS . " c, " . TABLE_ADDITIONAL_CUSTOMERS . " ac 
left join " . TABLE_ADDRESS_BOOK . " a
on c.customers_default_address_id = a.address_book_id
where a.customers_id = c.customers_id
and c.customers_id = '" . (int)$customers_id . "'");

To (needed c inner join):

from " . TABLE_CUSTOMERS . " c inner join " . TABLE_ADDITIONAL_CUSTOMERS . " ac 
left join " . TABLE_ADDRESS_BOOK . " a
on c.customers_default_address_id = a.address_book_id
where a.customers_id = c.customers_id
and c.customers_id = '" . (int)$customers_id . "'");

So happy now, works with MYSQL 5

23 Jun 2007, 01:40
#334
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: Additional Customers Fields

By applying the modifications above, the additional customers table will only be selected when the address book table will be amended. No where else under that action.

23 Jun 2007, 01:45
#335
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: Additional Customers Fields

Just checked my emails and wanted to thank you for your generous donation. :smile:

23 Jun 2007, 01:58
#336
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: Additional Customers Fields

I think I found the cause for your trouble. I never noticed this was there but, on the same file,

replace:

from " . TABLE_CUSTOMERS . " c, " . TABLE_ADDITIONAL_CUSTOMERS . " ac

with:

from (" . TABLE_CUSTOMERS . " c, " . TABLE_ADDITIONAL_CUSTOMERS . " ac)

This is for mySQL v5.x. It should work ... (of course these instructions are based from my package - not from your modifications above - to make sure you follow as is. :wink2:)

23 Jun 2007, 04:17
#337
blitz49 avatar

blitz49

New Zenner

Join Date:
Apr 2005
Posts:
99
Plugin Contributions:
0

Re: Additional Customers Fields

TheOracle:

This is for mySQL v5.x. It should work ... (of course these instructions are based from my package - not from your modifications above - to make sure you follow as is. :wink2:)

Works like a charm. So far so good.

23 Jun 2007, 11:53
#338
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: Additional Customers Fields

Outstanding. Thanks for confirming that this patch fixed the issues with mySQL v5.x. Package updated on my site. :smile:

23 Jun 2007, 20:00
#339
beilana avatar

beilana

New Zenner

Join Date:
Apr 2006
Location:
Phoenix, AZ
Posts:
84
Plugin Contributions:
0

Re: Additional Customers Fields

Oracle,

I just received a message from paypal:
On May 23, 2007, you sent a payment to [email protected] for $XX.XX USD.
The funds have been returned to your account.
This payment was returned for the following reason(s):
[email protected] did not sign up for a PayPal account or did not complete the registration process.

Please contact [email protected] to arrange an alternate payment method.
If you have any further questions, please log in to your PayPal account and go to the History subtab. Locate this transaction and click the word "Cancelled" in the Details column.

Sincerely,
PayPal

Please leave me a message when, if an how to resubmit.
Thanks

23 Jun 2007, 20:28
#340
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: Additional Customers Fields

How rude from my ISP. :blink:

Did you used the email from my installation text file ?