chrometweaks.org

With my iPage hosting account, should I choose Linux or Windows?

Click Here To View All Answers...


My first question is With my iPage hosting account, should I choose Linux or Windows? Thanks in advance for any answer or 2. 2nd question I got is.. Was looking for this in admin/includes/application_top.php.

Help! does this look familar to anyone?.

Define('ACCOUNT_GENDER', 'false');.

Define('ACCOUNT_DOB', 'false');.

Define('ACCOUNT_COMPANY', 'true');.

Define('ACCOUNT_SUBURB', 'false');.

Define('ACCOUNT_STATE', 'true');..

Comments (78)

That's a good question. I'm not sure what is the right answer. I'll do some investigation and get back to you if I find an good answer. You should email the people at iPage as they probably could help you..

Comment #1

Thanks Alan, so they do not exist. Okay, well in this case where I am installing a mod to add an ACCT number. And it asks me to add:.

******In catalog/application_top.php*********.

Around line 141 find this:.

// Control what fields of the customer table are used.

Define('ACCOUNT_GENDER', 'false');.

Define('ACCOUNT_DOB', 'false');.

Define('ACCOUNT_COMPANY', 'true');.

Define('ACCOUNT_SUBURB', 'false');.

Define('ACCOUNT_STATE', 'true');.

ADD this line:.

Define('ACCOUNT_ACCT', 'true');.

Got the mod working okay from the admin side without it. But the customer edit part isn't working yet. Just wondering if you knew any more about this one...

Comment #2

It doesn't matter where you add it. Add it anywhere. Be brave. Pick a spot and run with it...

Comment #3

You can add that line into application_top.php and it will work.

Matti..

Comment #4

Thanks! Tried adding it, but it doesn't show in the Customer Details yet...

Comment #5

Then you haven't installed it correctly. Reread the instructions. It's also possible that this mod is too old and won't work with your version of OSC...

Comment #6

You are probably right since it dates back to 2003..

Http://www.oscommerce.com/community/contri...+account+number.

It is actually working and the account number, which I am using for as a Resale Tax ID, works to the point where it can be added or editted in the admin. After carefully working it into the create_account.php. It's not showing up..

<?php.

   if (ACCOUNT_ACCT == 'true') {.

?>.

     <tr>.

       <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td>.

     </tr>.

     <tr>.

       <td class="formAreaTitle"><?php echo CATEGORY_ACCT; ?></td>.

     </tr>.

     <tr>.

       <td class="formArea"><table border="0" cellspacing="2" cellpadding="2">.

         <tr>.

           <td class="main"><?php echo ENTRY_ACCT; ?></td>.

           <td class="main"><?php echo tep_draw_input_field('acct')'&nbsp;'(tep_not_null(ENTRY_ACCT_TEXT) ? '<span class="inputRequirement">'ENTRY_ACCT_TEXT'</span>': ''); ?></td>.

         </tr>.

       </table></td>.

     </tr>.

<?php.

   }.

?>.

Very close. maybe someone can help me over the hump on this 7 hour adventure into OSC...

Comment #7

Was looking for this in admin/includes/application_top.php.

Help! does this look familar to anyone?.

Define('ACCOUNT_GENDER', 'false');.

Define('ACCOUNT_DOB', 'false');.

Define('ACCOUNT_COMPANY', 'true');.

Define('ACCOUNT_SUBURB', 'false');.

Define('ACCOUNT_STATE', 'true');..

Comment #8

I think those are from an older version than MS2. Those fields can be turned on and off in admin in MS2..

Comment #9


This question was taken from a support group/message board and re-posted here so others can learn from it.