Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Drafus

Archived
  • Posts

    15
  • Joined

  • Last visited

Profile Information

  • Real Name
    Bryan
  • Gender
    Male
  • Website

Drafus's Achievements

  1. Thank you for your Contrib. I tried to update my page with the changes here to include the form but now I am getting an error stating "Unexpected $end on line ...". Would you please tell me how to fix this. I have moved the <?php $endif ; ?> statement trying to fix it with no success. Thank you for your help with this. Bryan
  2. Why not just make a link to "(View Map)" on your contact us page to link to the easymap.php page?
  3. Thank you VERY much Kloienyc for your post on how you fixed this issue. I had a similar issue. There was a start bracket "{" missing in one of the else statements in the contrib. code higher up. Below is where I found the missing bracket. Hope this helps if anyone else is missing this as well. }else//This is where the missing "{" goes// if ($HTTP_POST_VARS['notify'] == 'on' & (tep_not_null($usps_track_num) & tep_not_null($usps_track_num2) & tep_not_null($ups_track_num) & tep_not_null($ups_track_num2) & tep_not_null($fedex_track_num) & tep_not_null($fedex_track_num2) & tep_not_null($dhl_track_num) & tep_not_null($dhl_track_num2) ) ) { $notify_comments = ''; $usps_text = 'USPS(1): '; $usps_track_num_noblanks = str_replace(' ', '', $usps_track_num); $usps_link = 'http://trkcnfrm1.smi.usps.com/PTSInternetWeb/InterLabelInquiry.do?origTrackNum=' . $usps_track_num_noblanks; $usps_track = '<a target="_blank" href="' . $usps_link . '">' . $usps_track_num . '</a>' . "\n"; $usps_text2 = 'USPS(2): '; $usps_track_num2_noblanks = str_replace(' ', '', $usps_track_num2); $usps_link2 = 'http://trkcnfrm1.smi.usps.com/PTSInternetWeb/InterLabelInquiry.do?origTrackNum=' . $usps_track_num2_noblanks; $usps_track2 = '<a target="_blank" href="' . $usps_link2 . '">' . $usps_track_num2 . '</a>' . "\n"; $ups_text = 'UPS(1): '; $ups_track_num_noblanks = str_replace(' ', '', $ups_track_num); $ups_link = 'http://wwwapps.ups.com/etracking/tracking.cgi?InquiryNumber1=' . $ups_track_num_noblanks . '&InquiryNumber2=&InquiryNumber3=&InquiryNumber4=&InquiryNumber5=&TypeOfInquiryNumber=T&UPS_HTML_Version=3.0&IATA=us&Lang=en&submit=Track+Package '; $ups_track = '<a target="_blank" href="' . $ups_link . '">' . $ups_track_num . '</a>' . "\n"; $ups_text2 = 'UPS(2): '; $ups_track_num2_noblanks = str_replace(' ', '', $ups_track_num2); $ups_link2 = 'http://wwwapps.ups.com/etracking/tracking.cgi?InquiryNumber1=' . $ups_track_num2_noblanks . '&InquiryNumber2=&InquiryNumber3=&InquiryNumber4=&InquiryNumber5=&TypeOfInquiryNumber=T&UPS_HTML_Version=3.0&IATA=us&Lang=en&submit=Track+Package '; $ups_track2 = '<a target="_blank" href="' . $ups_link2 . '">' . $ups_track_num2 . '</a>' . "\n"; $fedex_text = 'Fedex(1): '; $fedex_track_num_noblanks = str_replace(' ', '', $fedex_track_num); $fedex_link = 'http://www.fedex.com/Tracking?tracknumbers=' . $fedex_track_num_noblanks . '&action=track&language=english&cntry_code=us'; $fedex_track = '<a target="_blank" href="' . $fedex_link . '">' . $fedex_track_num . '</a>' . "\n"; $fedex_text2 = 'Fedex(2): '; $fedex_track_num2_noblanks = str_replace(' ', '', $fedex_track_num2); $fedex_link2 = 'http://www.fedex.com/Tracking?tracknumbers=' . $fedex_track_num2_noblanks . '&action=track&language=english&cntry_code=us'; $fedex_track2 = '<a target="_blank" href="' . $fedex_link2 . '">' . $fedex_track_num2 . '</a>' . "\n"; $dhl_text = 'DHL(1): '; $dhl_track_num_noblanks = str_replace(' ', '', $dhl_track_num); $dhl_link = 'http://track.dhl-usa.com/atrknav.asp?ShipmentNumber=' . $dhl_track_num_noblanks . '&action=track&language=english&cntry_code=us'; $dhl_track = '<a target="_blank" href="' . $dhl_link . '">' . $dhl_track_num . '</a>' . "\n"; $dhl_text2 = 'DHL(2): '; $dhl_track_num2_noblanks = str_replace(' ', '', $dhl_track_num2); $dhl_link2 = 'http://track.dhl-usa.com/atrknav.asp?ShipmentNumber=' . $dhl_track_num2_noblanks . '&action=track&language=english&cntry_code=us'; $dhl_track2 = '<a target="_blank" href="' . $dhl_link2 . '">' . $dhl_track_num2 . '</a>' . "\n"; if ($HTTP_POST_VARS['notify_comments'] == 'on') { $notify_comments = sprintf(EMAIL_TEXT_COMMENTS_UPDATE, $comments) . "\n"; if ($comments == null) $notify_comments = ''; } Thanks again!
  4. Thanks Germ. I have seen this contribution before but every time I try to unzip the newest version of the contrib. it states there is already a folder with the same name. I have tried even unzipping to a completely different drive and still same issue. I have decided to try the prior version and see if this works for me. I will let you know how it goes. Thanks again!
  5. I have a flash header with a few buttons that link to pages within the OSC catalog. Does anyone know enough about Flash to tell me how to make sure the Session ID gets forwarded with the link? ANY help would be Great! I have spent hours so far trying to find the correct way to do it. I am a novice when it comes to Flash. Thanks in advance.
×
×
  • Create New...