Jump to content

Johnson

Members
  • Content count

    5,103
  • Joined

  • Last visited

Everything posted by Johnson

  1. Johnson

    adding extra fields checkout_shipping

    Extra field for what? Matti
  2. Johnson

    Error on line 407

    Most likely something mising before the end of the file, eg. a curly } bracket Matti
  3. Johnson

    QBI Help

    Yes, that is the correct file Yes, copy and paste the code - its placemet is not too critical, so long as its amongst the other language defines in that file Yes, file paths sometimes vary depending on the installation. No, we once were all expert at...... nothing :D Matti
  4. Johnson

    Help on:

    I believe you are looking for this :D Matti
  5. Johnson

    authorize.net won't display errors

    Make sure that the declined URL is checkout_payment.php - this is the code that outputs the error in that file: <?php if (isset($HTTP_GET_VARS['payment_error']) && is_object(${$HTTP_GET_VARS['payment_error']}) && ($error = ${$HTTP_GET_VARS['payment_error']}->get_error())) { ?> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo tep_output_string_protected($error['title']); ?></b></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBoxNotice"> <tr class="infoBoxNoticeContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" width="100%" valign="top"><?php echo tep_output_string_protected($error['error']); ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } ?> Matti
  6. If you have already added contributions, then yes. If however you have a vanilla install of osCommerce then replacement of the files is a simpler option (I am not familiar with the contribution in question). If you have already installed contributions, it may be simpler to first compare any files you must modify for the new contribution with standard osCommerce files - if they are the same (standard) then you can overwrite. Those that are non-standard must be updated using the compare method. Make sure that the contribution is designed for your version of osCommerce, and be aware that you may break your installation - its always good to backup first :D Matti
  7. Johnson

    Parse error

    Its a typo on or above line 29 in catalog/admin/includes/boxes/tools.php - post part of that file. Matti
  8. Johnson

    Solution to hide prices?

    This is to the end of catalog/includes/classes/currencies.php: function display_price($products_price, $products_tax, $quantity = 1) { if (!tep_session_is_registered('customer_id')) { return "Login For Price"; } else { return $this->format(tep_add_tax($products_price, $products_tax) * $quantity); } } } ?> Matti
  9. Johnson

    [Contribution]Paypal IPN - Devosc

    There is no longer a 300kb size limit - they simply must be approved - we are automatically notified of an upload exceeding 300kb Matti
  10. Johnson

    CCV with Authorize.net

    You are missing the following code from checkout_payment.php: <?php if (isset($HTTP_GET_VARS['payment_error']) && is_object(${$HTTP_GET_VARS['payment_error']}) && ($error = ${$HTTP_GET_VARS['payment_error']}->get_error())) { ?> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo tep_output_string_protected($error['title']); ?></b></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBoxNotice"> <tr class="infoBoxNoticeContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" width="100%" valign="top"><?php echo tep_output_string_protected($error['error']); ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } ?> Take a look at my post here - this will help you track the exact error :D Matti
  11. Johnson

    [Contribution]Paypal IPN - Devosc

    There is an SQL file included in the package - this must be run on your database - please backup first. Matti
  12. Johnson

    Have you seen this form_check_js.php error?

    Oops... my mistake :blush: It appears that the pollbooth contribution requires a copy in admin/includes :D Matti
  13. Johnson

    Have you seen this form_check_js.php error?

    You are missing the file in question - catalog/includes/form_check.js.php :D Matti
  14. Johnson

    [Contribution]Paypal IPN - Devosc

    Yes, it appears to be for some reason - sorry I cannot tell you why at this point - check any mods you have made that touch languages - I have the module running on a live server and while it has a few non-critical issues this problem does not exist. Please post back here when you find a solution. Matti
  15. Johnson

    sending a bill

    There are several bank transfer payment modules in the Contributions Section :D Matti
  16. Johnson

    [Contribution]Paypal IPN - Devosc

    Yes, you are correct - my mistake :blush: Use the file in the MS2-2.2OverWriteAndRun/includes/modules/payment directory. A new package has been uploaded to the contributions download section. Thanks! Matti
  17. Johnson

    Deposit voucher

    The Bank Transfer payment module should be ok for this - you may need to just play with the language file :D Matti
  18. Johnson

    How does Bank Transfer Work?

    It simply posts the details of the account to make the payment to - then they can use their own online banking to make a payment. Matti
  19. Its being looked into - use this for now :D Matti
  20. Johnson

    Increasing the space between products

    This simplest way is to add a couple of <br> tags after your image - something like: case 'PRODUCT_LIST_IMAGE': $lc_align = 'center'; if (isset($HTTP_GET_VARS['manufacturers_id'])) { $lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><br>'; } else { $lc_text = ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a> <br><br>'; } break; Matti
  21. Johnson

    Need Help!

    This is the best one I have found: HV Menu - ten minute install :) Matti
  22. Take a look at the splitPageResults class and how it is used. Matti
  23. You should use a clause like: ? ?if (tep_db_num_rows($subcategories_query) < 6) { ? ?do stuff; ? ?} else { ? ?do something else; ? ?} Matti
  24. Johnson

    Zone Rate

    Around line 137 of catalog/includes/modules/shipping/zones.php change: $zones_table = split("[:,]" , $zones_cost); $size = sizeof($zones_table); for ($i=0; $i<$size; $i+=2) { if ($shipping_weight <= $zones_table[$i]) { $shipping = $zones_table[$i+1]; $shipping_method = MODULE_SHIPPING_ZONES_TEXT_WAY . ' ' . $dest_country . ' : ' . $shipping_weight . ' ' . MODULE_SHIPPING_ZONES_TEXT_UNITS; break; } } to: $zones_table = split("[:,]" , $zones_cost); $size = sizeof($zones_table); for ($i=0; $i<$size; $i+=2) { if ($shipping_weight <= $zones_table[$i]) { $shipping = $zones_table[$i+1]; $shipping_method = MODULE_SHIPPING_ZONES_TEXT_WAY . ' ' . $dest_country; break; } } Matti
  25. Johnson

    Information box problem

    There could be a number of reasons - hard to say without seeing your box code. It is possible that your file permissions do not allow an overwrite (even though it may appear that the file is uploading) - try renaming the file that is on your server before uploading the new. Matti
×