Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

mhsuffolk

Members
  • Content count

    480
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by mhsuffolk

  1. mhsuffolk

    PayPal drop down menu buttons added to osCommerce site?

    I think you have missed the point, OSC does this for you In your admin go to Catalog >> Products Attributes There are some examples there already, modify or add to them and then apply whichever you want to your products
  2. Log into your PayPal account Click Profile Click Website Payment Preferences Set Auto Return to "On" Enter https://www.yoursite.com/checkout_process.php in the Return URL Box Ensure your success page complies with PayPals requirements This forces a return to your store, the customer has no other option providing they actually pay! Martin
  3. mhsuffolk

    [Contribution] PayOffline (Pro)

    Hi Tom I have Payoffline working and I have had my first real customer, and been paid! But I can not get the callbacks to have any effect in my admin area In test mode I get a 200 response OK message in the payoffline test area In the payoffline live screen the callback errors counter is at zero, I did a test purchase in the live system and let it expire so if the callbacks were failing the counter should be at 4 or 5 In addition the barcodes do not appear in the email, they appear everywhere else they should I am using RS2 My website is www.mhvideos.co.uk Your help would be much appreciated Martin
  4. mhsuffolk

    Site Search Plus

    Thank you for your swift answer, I will have a go next week Martin
  5. mhsuffolk

    Site Search Plus

    Hi Jack I have Info Pages Unlimited installed Will Site search Plus search these pages or is there a modification available The Extra Info pages are stored in the database Martin
  6. mhsuffolk

    Urgent Help Needed - Paypal Web Standard Payment

    If you are using the PayPal Website Payments Standard module then in the IPN Notification section on both the PayPal Sandbox business account and your live account you need the URL "http://www.yourdomain.com/ext/modules/payment/paypal/standard_ipn.php." That is where your IPN is, you should get callbacks to your admin and the order updated providing the customer returns to your site
  7. mhsuffolk

    Oscthumb nearly works but not quite

    Thank you again, I think I have over egged the pudding by trying to install in effect 3 contributions at once and I note your comment regarding lightbox I am going to restore my site from my backups and start again just with oscthumb, thank you for your time and interest Martin
  8. Hi, I have installed other contributions successfully on Rc2a. I am trying to install Multiple Image AutoThumbs - MIA and I think the OSCThumb section is causing my problem I am getting this error on the first page Fatal error: Call to undefined function tep_image() in W:\www\oscommerce\includes\languages\english\index.php on line 28 Here is the code in html_output.php that I think defines the function, I have amended the file according to the instructions //// // The HTML image wrapper function function tep_image_original($src, $alt = '', $width = '', $height = '', $parameters = '') { if ( (empty($src) || ($src == DIR_WS_IMAGES)) && (IMAGE_REQUIRED == 'false') ) { return false; } // START oscThumb // If you want to call the original function, you can call tep_image_original or call this one with $original=true. function tep_image($src, $alt = '', $width = '', $height = '', $params = '', $original = false, $thumbnail_type = 0) { global $oscthumb; Can anybody help please as I am at a total loss to understand why this will not work Martin
  9. mhsuffolk

    Oscthumb nearly works but not quite

    These lines exist in application_top // define general functions used application-wide require(DIR_WS_FUNCTIONS . 'general.php'); require(DIR_WS_FUNCTIONS . 'html_output.php'); If I comment out the new lines in html_output and change tep_image_original back to tep_image then the site will start with the original image system i.e. oscthumb not working Martin
  10. mhsuffolk

    Oscthumb nearly works but not quite

    Thank you Sam for your prompt reply, I did not include the whole string as I wanted to keep the post short and thought the problem was at the beginning, here is the complete section // The HTML image wrapper function function tep_image_original($src, $alt = '', $width = '', $height = '', $parameters = '') { if ( (empty($src) || ($src == DIR_WS_IMAGES)) && (IMAGE_REQUIRED == 'false') ) { return false; } // START oscThumb // If you want to call the original function, you can call tep_image_original or call this one with $original=true. function tep_image($src, $alt = '', $width = '', $height = '', $params = '', $original = false, $thumbnail_type = 0) { global $oscthumb; // We are asked to return the result of the original function if ($original || $oscthumb->enabled==false) { return tep_image_original ($src, $alt, $width, $height, $params); } $oscthumb->set_type ($src, $width, $height, $thumbnail_type); // Detect the type of image we are currently processing if ($oscthumb->set_size ($src, $width, $height)==false) return false; // Choose the displayed width and height of the image, and if display something $image = $oscthumb->process($src); // Returns the beginning of the image tag, like <img src="oscthumb.php?src=... or <img src="images/logo.gif" // Add remaining image parameters if they exist if ($width) { $image .= ' w="' . tep_output_string($width) . '"'; } if ($height) { $image .= ' h="' . tep_output_string($height) . '"'; } if (tep_not_null($params)) $image .= ' ' . $params; $image .= ' border="0" alt="' . tep_output_string($alt) . '"'; if (tep_not_null($alt)) { $image .= ' title="' . tep_output_string($alt) . '"'; } $image .= '>'; return $image; } //// // Create Image Link Function for Lightbox function tep_image_lightbox_link($src, $alt = '', $width = '', $height = '', $thumbnail_type = 5) { global $oscthumb; $oscthumb->set_type ($src, $width, $height, $thumbnail_type); // Detect the type of image we are currently processing if ($oscthumb->set_size ($src, $width, $height)==false) return false; // Choose the displayed width and height of the image, and if display something $image = $oscthumb->process($src); // Returns the beginning of the image tag, like <img src="oscthumb.php?src=... or <img src="images/logo.gif" $image = '<a href=' . substr($image,9); if (tep_not_null($alt)) { $image .= ' title="' . tep_output_string($alt) . '"'; } $image .= ' rel="lightbox[1]">'; return $image; } // END oscThumb
×