Jump to content

gpraceman

Members
  • Content count

    72
  • Joined

  • Last visited

1 Follower

About gpraceman

  • Birthday 11/05/1964

Profile Information

  1. gpraceman

    FAQDesk version 1.0 --- Released

    I'm not sure that this is your problem, but on the inner query, you do not need the order by clause.
  2. The USPS contribution that I mention is at http://www.oscommerce.com/community/contributions,487 The latest version of this, for MS2, has two configuration keys, one for domestic shipping options and the other for international. In the admin, when you setup the other shipping options you can select which shipping options you wish to offer. Hopefully, it wouldn't be too hard to replicate this functionality with the FedEx contrib. tep_db_query("insert into " . TABLE_CONFIGURATION . " ( configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Domestic Shipping Methods', 'MODULE_SHIPPING_USPS_TYPES', 'Express, Priority, First Class, Parcel', 'Select the domestic services to be offered:', '6', '14', 'tep_cfg_select_multioption(array('Express', 'Priority', 'First Class', 'Parcel'), ', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Int'l Shipping Methods', 'MODULE_SHIPPING_USPS_TYPES_INTL', 'GXG Document, GXG Non-Document, Express, Priority Lg, Priority Sm, Priority Var, Airmail Letter, Airmail Parcel, Surface Letter, Surface Post', 'Select the international services to be offered:', '6', '15', 'tep_cfg_select_multioption(array('GXG Document', 'GXG Non-Document', 'Express', 'Priority Lg', 'Priority Sm', 'Priority Var', 'Airmail Letter', 'Airmail Parcel', 'Surface Letter', 'Surface Post'), ', now())");
  3. I have a suggestion. For the different domestic and international methods of shipment it may be better to make these selectable in the admin. The new version of the USPS shipping mod has done this and may be good to model after. In the admin, whenever the other FedEx shipping options are setup, there can be a multiselect box that allows the user to pick their own shipping options.
  4. Just use a file comparison tool like Beyond Compare to see the file differences. Both Chandra and Linda were good about commenting their changes, so just be on the lookout for them.
  5. I got Chandra's contribution working with the 5/18 snapshot and Linda's SEC 1.0b contribution without too much problem. If you are looking for just adding text box attributes, then you shouldn't have too much problem integrating the two. There are some queries that Linda has modified that you would need to add Chandra's changes to, so you need to watch for those. If you are wanting check boxes and radio button attributes, you are in for a lot more work, since several have tried but I'm not sure if anyone has succeeded and if they have, they haven't graced the community with an updated contrib.
  6. gpraceman

    ECHO INC PAYMENT MOD

    As far as I can tell, you have what's required to run the ECHO 1.7 mod, since it appears that OpenSSL is installed. I only threw a few enhancement into the mod, I wasn't the original author, and I'm not that hip on SSL. You might want to contact the original mod author or try the OpenSSL website, at http://www.openssl.org/support/
  7. First, make sure that you have the Country of Origin and Postal Code setup in the Admin Configuration under Shipping/Packaging. Which version of osCommerce are you running? If you are running a version after MS1, then you may need to update the contrib to include the changes that I posted earlier in this thread. At some point they redid the Country of Origin to be a table ID of the country instead of the two letter abbreviation. They also change the name of the configuration keys for these two pieces of configuration data.
  8. I think they are listed in the order that the shipping options are listed in the array. You might just need to reorder the array within the ups.php file.
  9. Wendy, I'm running Linda's SEC 1.0b with 5/18 snapshot like you. I had to make these changes to get it to work. In function _getQuote() // BOF: RAL modified to make compatible with this snapshot //$data .= '9,"' . STORE_ORIGIN_ZIP . '"'; // Origin postal code $data .= '9,"' . SHIPPING_ORIGIN_ZIP . '"'; // Origin postal code $countries_array = tep_get_countries(SHIPPING_ORIGIN_COUNTRY, true); $countries_code = $countries_array['countries_iso_code_2']; //$data .= '117,"' . STORE_ORIGIN_COUNTRY . '"'; // Origin country $data .= '117,"' . $countries_code . '"'; // Origin country // EOF: RAL modified to make compatible with this snapshot In function _getMeter() // BOF: RAL modified to make compatible with this snapshot //$data .= '4013,"' . STORE_ORIGIN_ZIP . '"'; // Subscriber Postal Code $data .= '4013,"' . SHIPPING_ORIGIN_ZIP . '"'; // Subscriber Postal Code $countries_array = tep_get_countries(SHIPPING_ORIGIN_COUNTRY, true); $countries_code = $countries_array['countries_iso_code_2']; //$data .= '4014,"' . STORE_ORIGIN_COUNTRY . '"'; // Subscriber Country Code $data .= '4014,"' . $countries_code . '"'; // Subscriber Country Code // EOF: RAL modified to make compatible with this snapshot I also got annoyed about having to put NONE in after every time it failed, so I changed this code in function _getQuote() //if (MODULE_SHIPPING_FEDEX1_METER == "NONE") { if (MODULE_SHIPPING_FEDEX1_METER == "NONE" || !tep_not_null(MODULE_SHIPPING_FEDEX1_METER)) { $this->_getMeter(); } I'm not sure about your first error. I made these fixes and got up and running.
  10. gpraceman

    FAQDesk version 1.0 --- Released

    Mine works fine with the orignial code. When I look at the splitPageResults function function splitPageResults(&$current_page_number, $max_rows_per_page, &$sql_query, &$query_num_rows) { it looks like your solution would put the parameters in the wrong order. Is your splitPageResults function defined differently? Which snapshot are you using? I'm using 5/18/03.
  11. gpraceman

    ECHO INC PAYMENT MOD

    If you wish to change the wording that is shown on the credit card (especially the statement on which credit cards you accept) or eCheck forms, they can be edited in these files: catalog/includes/languages/english/modules/payment/echo_cc.php catalog/includes/languages/english/modules/payment/echo_echeck.php
  12. gpraceman

    FAQDesk version 1.0 --- Released

    This is what I did to get it working. Find this code in faqdesk_index.php (it will appear twice) if (($categories['categories_image'] = 'NULL') or ($categories['categories_image'] = '')) { echo tep_draw_separator('pixel_trans.gif', '1', '1'); } else { echo tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); } And replace it with this // BOF: Modified to fix image display problem //if (($category['categories_image'] = 'NULL') or ($category['categories_image'] = '')) { if (!tep_not_null($category['categories_image'])) { // EOF: Modified to fix image display problem echo tep_draw_separator('pixel_trans.gif', '1', '1'); } else { echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); } I did some other monkeying with that page, but I think this is all you need for the image display issue.
  13. The only sticky part I ran into was in product_info.php. There is a new IF statement that you need to make sure that the closing brace is in the correct place. I put it in the wrong place and was getting an extra select box showing up on top of all the other options. The only other thing is that some queries that Linda had changed in SEC 1b, you will need to change for this mod.
  14. Hello pilot1. I was able to get this contrib installed with SEC 1b without too much problem. Fortunately, Chandra was good about commenting changes. I am not bothering with the check boxes and radio buttons for now, since I just need the text boxes. Now to do some testing to see if it all works throughout the order process.
  15. gpraceman

    FAQDesk version 1.0 --- Released

    Below these lines in faqdesk_index.php // IF this area is included problems occur when trying to view unpopulated catagories // OR!!! is this not a but??? // Well which the @!#p$@ is it? Regular products shows the catagory while the below won't @!#@&@ There are a couple of select count(*) queries. Make sure you have an asterik between the (). Though, by the comments above there may be a known bug in there to be wary of.
×