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

Additional Customers Fields

Locked

Views: 88,141

Results 181 to 200 of 491
This thread is locked. New replies are disabled.
11 Jun 2007, 8:09 PM
#181
theoracle avatar

theoracle

Suspended

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

Additional Customers Fields

I've seen also in this thread that should be there an option to do a drop down menu for the fields but i cannot see this option.

I specifically posted an update for version 2.0 about this today. The drop-down option has been added into the latest release as it is identified from my changelog documentation + my sample template files. Upgrading to the latest version release would be the solution.

Additionally, your last report is very vague.

Please state your:

  • PHP Version.
  • mySQL Version.
  • Zen-Cart Version.

When you say it's 'buggy', when exacly does this problem occurs (action names, which operations etc ...)

11 Jun 2007, 9:00 PM
#182
rbepple avatar

rbepple

New Zenner

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

Re: Additional Customers Fields

Great Mod! I downloaded the new version and it works like a charm. Only question. I copied your files and added a customer field titled customer_age and it works great, I just change the title to Sales Representative: and the content to and couple of names. On the user-side the pulldown menu comes up twice in both the account register and the account edit, but in the admin side it only shows up once like I want it to. Any help?

11 Jun 2007, 9:02 PM
#184
emilio avatar

emilio

New Zenner

Join Date:
May 2005
Location:
san francisco - California
Posts:
49
Plugin Contributions:
0

Re: Additional Customers Fields

Hi Oracle
Didn't expect a so quick reply!
well...you're right i need to give some more details so:

PHP Version 4.3.10
MySQL 4.1.9-max
latest zen release 1.3.7

11 Jun 2007, 9:11 PM
#185
theoracle avatar

theoracle

Suspended

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

Re: Additional Customers Fields

just change the title to Sales Representative: and the content to and couple of names. On the user-side the pulldown menu comes up twice in both the account register and the account edit, but in the admin side it only shows up once like I want it to.

I have a feeling I have forgot something. :unsure:

Would it be possible to post your extra_definitions both files readings (under PHP bbcode please - not straight posted on the forum) as well as your template files between the // Additional customers fields and // End of additional customers fields - statement (same for the PHP bbcode) ? I will take a look at them (better hope it's NOT a capitalized chars as issued before on this topic though).

Thanks.

11 Jun 2007, 9:12 PM
#186
theoracle avatar

theoracle

Suspended

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

Re: Additional Customers Fields

well...you're right i need to give some more details so:

PHP Version 4.3.10
MySQL 4.1.9-max
latest zen release 1.3.7

And this part ?

When you say it's 'buggy', when exacly does this problem occurs (action names, which operations etc ...)

11 Jun 2007, 9:13 PM
#187
emilio avatar

emilio

New Zenner

Join Date:
May 2005
Location:
san francisco - California
Posts:
49
Plugin Contributions:
0

Re: Additional Customers Fields

sorry some more

looking at the code into dreamweaver there are some errors due to unclosed tags i guess thet dw marks in yellow and here's the list:

line 141

<body onload="init();">

line 158

<table border="0" width="100%" cellpadding="0" cellspacing="0"> <tr> <td width="100%">

line 767 <tr>
<td width="100%">

line 845 </td>
</tr>

line 861 </td>
</tr>


the bug looks into the admin when for example you try to insert an empty field

11 Jun 2007, 9:15 PM
#188
theoracle avatar

theoracle

Suspended

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

Re: Additional Customers Fields

These marks are fine. Still waiting for your exact specs on when & where this error happends precisely.

11 Jun 2007, 9:18 PM
#189
emilio avatar

emilio

New Zenner

Join Date:
May 2005
Location:
san francisco - California
Posts:
49
Plugin Contributions:
0

Re: Additional Customers Fields

i just edited the post and marked a situation when the mistake occurs

..should be nice a messenger service

11 Jun 2007, 9:21 PM
#190
theoracle avatar

theoracle

Suspended

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

Re: Additional Customers Fields

i just edited the post and marked a situation when the mistake occurs

..should be nice a messenger service

The text you added above does not justify on where precisely this action occurs. Again, please specify on where exacly (actions, buttons you clicked etc ...) the headers server text error appears.

Thanks.

11 Jun 2007, 9:26 PM
#191
emilio avatar

emilio

New Zenner

Join Date:
May 2005
Location:
san francisco - California
Posts:
49
Plugin Contributions:
0

Re: Additional Customers Fields

into:
admin -> main menu -> create additional customer fields

if i leave the field empty (as i saw accidentally) then click on "go to next step button"
it gives the error i said befor

11 Jun 2007, 9:35 PM
#192
theoracle avatar

theoracle

Suspended

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

Re: Additional Customers Fields

if i leave the field empty (as i saw accidentally) then click on "go to next step button"

Ahhh ! now this is what I call precision. :wink2:

Confirmed bug - isn't just great to be a victim of the zen_redirect module ? :smartalec:

Not my bug by the way - it's from the Zen Team (as mentioned before already). However, here's a special fix for you since this might not be the case for everyone so I cannot update my package for this particular reason:

In admin/additional_customers.php file,

find:

if (is_array($error) && zen_not_null($error)) {
          foreach ($error as $key => $val) {
              $val = zen_output_string_protected($val);
              $messageStack->add_session($val, 'error');
zen_redirect(zen_href_link(FILENAME_ADDITIONAL_CUSTOMERS_FIELDS, '', 'NONSSL'));              
          } // End of foreach statement.
      } // End of if statement.      
  } // End of action statement.

replace with:

if (is_array($error) && zen_not_null($error)) {
          foreach ($error as $key => $val) {
              $val = zen_output_string_protected($val);
              $messageStack->add_session($val, 'error');              
          } // End of foreach statement.
          zen_redirect(zen_href_link(FILENAME_ADDITIONAL_CUSTOMERS_FIELDS, '', 'NONSSL'));                            
      } // End of if statement.      
  } // End of action statement.

This should not cause you anymore trouble. :wink2:

11 Jun 2007, 9:38 PM
#193
theoracle avatar

theoracle

Suspended

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

Re: Additional Customers Fields

Post edited above. Make sure to replace my latest edited modifications.

11 Jun 2007, 10:52 PM
#194
emilio avatar

emilio

New Zenner

Join Date:
May 2005
Location:
san francisco - California
Posts:
49
Plugin Contributions:
0

Re: Additional Customers Fields

still giving the error but if the problem is restricted to this no problem. :P
i just liked to know if the new version you posted is working because of what i said that the field doesn't show in the login box except for the title of the box(additonal customer fields..)

11 Jun 2007, 11:03 PM
#195
theoracle avatar

theoracle

Suspended

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

Re: Additional Customers Fields

still giving the error

Very well. Use mine. Not a very big fan of zen_redirect module myself:

if (is_array($error) && zen_not_null($error)) {
          foreach ($error as $key => $val) {
              $val = zen_output_string_protected($val);
              $messageStack->add_session($val, 'error');
         echo '<script>window.location=\'' . zen_href_link(FILENAME_ADDITIONAL_CUSTOMERS_FIELDS, '', 'NONSSL'). '\'</script>';
          } // End of foreach statement.
      } // End of if statement.      
  } // End of action statement.

This should do the trick. :wink2:

i just liked to know if the new version you posted is working because of what i said that the field doesn't show in the login box except for the title of the box(additonal customer fields..)

Again, please read the upgrade and changelog documentation text regarding all affected changes for this MOD.

12 Jun 2007, 2:44 AM
#196
theoracle avatar

theoracle

Suspended

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

Re: Additional Customers Fields

Update:

A new update has just been released from my site. As usual, for those who needs to upgrade, simply follow the upgrade and changelog documentation text.

Note: The update does NOT involve the latest redirect modifications above this thread (due to differences between web servers on how redirections between browsers and servers are being configured).

12 Jun 2007, 8:57 PM
#197
rbepple avatar

rbepple

New Zenner

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

Re: Additional Customers Fields

I've the teh mod working almost perfectly the only issues I have is on the customer side of the site my two additional fields shows up twice and on the admin side only once (like it should be). Secondly, I was wondering if there is any way to make my new fields show up on the invoice. Any help would be appreciated!

12 Jun 2007, 9:27 PM
#199
rbepple avatar

rbepple

New Zenner

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

Re: Additional Customers Fields

I don't know where and how to use PHP bbcode

12 Jun 2007, 9:30 PM
#200
theoracle avatar

theoracle

Suspended

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

Re: Additional Customers Fields

Begin with:
[ php ]

End with:

[ /php ]

(without spaces between those tags).

Like this:

your codes here ...

:wink2: