Jump to content

BapeClothing

Members
  • Content count

    46
  • Joined

  • Last visited

Everything posted by BapeClothing

  1. BapeClothing

    Header Tags SEO

    Hey Jack. I have a live shop running oscmax 2.0. Is there anything special that I should know when installing Header Tags SEO, since oscmax uses BTS? Any help would be appreciated. Thanks.
  2. BapeClothing

    Article Manager v1.0

    I have Header Tags SEO installed and STS4. I installed Article Manager just fine, and it works perfectly. Except when you go to an article the TITLE of the page is showing http://website.com/article-a-1-.html. Am i missing something here? The Title, meta description, meta keywords, all are blank when i go to view the source. How can i get it to display the title of the article in the TITLE field? Or do custom meta title, description, keywords for EACH article? I appreciate the help. Thanks
  3. Hello, I am needing an availability mod that shows on product_info page with STS. If an item has 0 quantity then it will display "Out of Stock" on the product page, etc.. I found Availability mod but I am unsure how to get it working with STS4. Any help would be appreciated. Thanks.
  4. I cant seem to find a contrib that does this for STS. I install Availability but I see no information to set it up with STS. :/
  5. BapeClothing

    Header Tags SEO

    I am using 3.0.6. I finally got the products working by replacing the header_tags.php file in the includes directory. Something must of been corrupt.
  6. BapeClothing

    Header Tags SEO

    Jack, Every page seems to be working fine now with the exception of products. The product pages are now using the default title, meta description, and meta keywords. You can see it here www.thesworddepot.net. Thanks.
  7. BapeClothing

    Header Tags SEO

    Yes, it shows this: Test Results Missing Database Error: The products_head_title_tag field cannot be found in the products_description table. The categories_htc_title_tag field cannot be found in the categories_description table. The manufacturers_htc_title_tag field cannot be found in the manufacturers_info table. The Header Tags head code for the index.php file cannot be found. The Header Tags head code for the product_info.php file cannot be found.
  8. BapeClothing

    Header Tags SEO

    Jack, Ok, here is what I have gotten to. I have completely gone through ALL of the files with BeyondCompare and matched everything up. I think I just have a few small issues that are just driving me insane. I am not sure if its a small issue with STS or a small issue with Header Tags, but some pages are working correctly, such as product pages, and review pages, but if you go to a Manufacturer or Category page it just shows the url as the title and shows this: <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title></title> <meta name="Description" content="" /> <meta name="Keywords" content="" /> <meta name="googlebot" content="all" /> <meta name="robots" content="noodp" /> <meta name="slurp" content="noydir" /> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <!-- EOF: Header Tags SEO Generated Meta Tags --> I guess I am confused on exactly how to configure index.php to work with your categories and your manufacturers, as well as the MAIN page, or why its showing all blank on the category pages and manufacturer pages. If you need to see the pages or the configuration in admin, i can show you. I hope me giving you this information you can help me. I have worked on this for aver 18 hours and cannot for the life of me figure it out and its driving me crazy. Please help!! Thanks.
  9. BapeClothing

    Header Tags SEO

    Hmm, very odd. When I use the Fill Tags it fills everything in the admin, but when I go to the product pages, category pages, manufacturers, etc.. and view source, its only showing the <title> tag with "MyStore.com" and no other meta tags. Did I do something wrong in my STS template? Do you think you could show me what the <HEAD></HEAD> of my STS templates should look like? Does the STS templates have to have <TITLE> in them? Thanks.
  10. BapeClothing

    Header Tags SEO

    I did exactly what you said and used Beyond Compare to compare the files included with the Contrib with mine. I set everything how it should and pretty much merged the files. I am not receiving any errors at all but when I try to update the meta tags in the admin panel for Manufacturers, products, or categories, it saves them but then when I go to the pages, it still has the "MyStore.com", and thats it. NO meta description, keywords, or anything.
  11. BapeClothing

    Header Tags SEO

    Jack, thanks for the response. What I am saying is, shouldnt it generate all of my products meta descscriptions, etc?
  12. BapeClothing

    Header Tags SEO

    I seemed to have fixed these errors by missing some code in categories.php. But now i am having the issue of no matter what page i go to on my site it is showing the default store name. Ex. "MyStore.com" is what it shows, which is under the osCommerce configuration. Why isn't it showing Header Tags SEO?
  13. BapeClothing

    Header Tags SEO

    I have an online shop running osCommerce RC2. It has SEVERAL contributions added. I am always afraid to add contributions, but I went ahead and added Header Tags SEO V3 on top of STS4 template. Some of the functions are working but some aren't. I think i had a previous version installed so i ran the uninstall then the install to hopefully fix it. When going to Admin>Manufacters and trying to change any of the options.. description, title, etcc.. I get the following error: 1054 - Unknown column 'manufacturers_name' in 'field list' update manufacturers_info set manufacturers_name = 'Kit Rae', last_modified = now() where manufacturers_id = '72' and languages_id = '1' [TEP STOP] If I go to the admin section to edit a product, product description, manufacturer description, or keywords, it does not apply everything correctly. It will apply a blank space for the Product URL and nothing changes for the description that i set. FYI, I had previously had Easy Meta Tags installed. Thanks in advance.
  14. BapeClothing

    [Contribution] Availability

    Any one help me please? Thanks in advance.
  15. BapeClothing

    [Contribution] Availability

    Hello. I successfully installed this Contrib. I am using STS 4 and I am wanting to display the Quantity and "in stock" or "out of stock" on my STS template product_info page. What is the command to do this? Please help. Thanks.
  16. BapeClothing

    Faq Desk

    This worked. I had to create a custom faq.php.html template in STS4 for it to wrap around faq.php. I had to remove a couple of the tables so it would not mess up the design. Thanks.
  17. BapeClothing

    Package Tracking with Email Notification Mods

    Hello everyone. I followed the instructions EXACTLY to install this contrib. Now when I log into my Admin panel and go to "Orders", I am receiving the following error: Parse error: syntax error, unexpected T_CASE in /home/kitchens/public_html/admin/orders.php on line 286 Here is the code from lines 29 to 308. I really hope someone can help me get this fixed ASAP. Thanks! if (tep_not_null($action)) { switch ($action) { case 'update_order': $oID = tep_db_prepare_input($HTTP_GET_VARS['oID']); $status = tep_db_prepare_input($HTTP_POST_VARS['status']); $comments = tep_db_prepare_input($HTTP_POST_VARS['comments']); //Package Tracking Plus BEGIN $usps_track_num = tep_db_prepare_input($HTTP_POST_VARS['usps_track_num']); $usps_track_num2 = tep_db_prepare_input($HTTP_POST_VARS['usps_track_num2']); $ups_track_num = tep_db_prepare_input($HTTP_POST_VARS['ups_track_num']); $ups_track_num2 = tep_db_prepare_input($HTTP_POST_VARS['ups_track_num2']); $fedex_track_num = tep_db_prepare_input($HTTP_POST_VARS['fedex_track_num']); $fedex_track_num2 = tep_db_prepare_input($HTTP_POST_VARS['fedex_track_num2']); $dhl_track_num = tep_db_prepare_input($HTTP_POST_VARS['dhl_track_num']); $dhl_track_num2 = tep_db_prepare_input($HTTP_POST_VARS['dhl_track_num2']); //Package Tracking Plus END $order_updated = false; //Package Tracking Plus BEGIN $check_status_query = tep_db_query("select customers_name, customers_email_address, orders_status, usps_track_num, usps_track_num2, ups_track_num, ups_track_num2, fedex_track_num, fedex_track_num2, dhl_track_num, dhl_track_num2, date_purchased from " . TABLE_ORDERS . " where orders_id = '" . (int)$oID . "'"); //Package Tracking Plus END $check_status = tep_db_fetch_array($check_status_query); if ( ($check_status['orders_status'] != $status) || tep_not_null($comments)) { // {{ buySAFE Module if ($check_status['orders_status'] != $status && $status == '88888') // change to Canceled { $buysafe_check = tep_db_fetch_array(tep_db_query("select orders_id, buysafe_cart_id, buysafe_client_ip, buysafe_session_id, date_purchased from " . TABLE_ORDERS . " where orders_id = '" . (int)$oID . "'")); if (tep_not_null($buysafe_check['buysafe_cart_id'])) { $class = 'buysafe'; $buysafe_directory = DIR_FS_CATALOG_MODULES . 'buySAFE/'; $file_extension = substr($PHP_SELF, strrpos($PHP_SELF, '.')); if (file_exists($buysafe_directory . $class . $file_extension)) { include($buysafe_directory . $class . $file_extension); $buysafe = new $class; $buysafe_result = $buysafe->call_api('SetShoppingCartCancelOrder', $buysafe_check); if (tep_not_null($buysafe_result['faultstring'])) { $messageStack->add_session('buySAFE fault: ' . $buysafe_result['faultstring'], 'error'); tep_redirect(tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action')) . 'action=edit')); } } } } if ($check_status['orders_status'] != $status && $check_status['orders_status'] == '88888') // change from Canceled { $buysafe_check = tep_db_fetch_array(tep_db_query("select orders_id, buysafe_cart_id, buysafe_client_ip, buysafe_session_id, date_purchased from " . TABLE_ORDERS . " where orders_id = '" . (int)$oID . "'")); if (tep_not_null($buysafe_check['buysafe_cart_id'])) { include(DIR_WS_CLASSES . 'order.php'); $order = new order($oID); $class = 'buysafe'; $buysafe_directory = DIR_FS_CATALOG_MODULES . 'buySAFE/'; $file_extension = substr($PHP_SELF, strrpos($PHP_SELF, '.')); if (file_exists($buysafe_directory . $class . $file_extension)) { include($buysafe_directory . $class . $file_extension); $buysafe = new $class; $buysafe_check['WantsBond'] = 'true'; $buysafe_check['buysafe_previous_cart_id'] = $buysafe_check['buysafe_cart_id']; $buysafe_check['buysafe_cart_id'] .= 'r'; $buysafe_result = $buysafe->call_api('AddUpdateShoppingCart', $buysafe_check, $order); if ($buysafe_result['IsBuySafeEnabled'] != 'true') { $messageStack->add_session('buySAFE fault: ' . $buysafe_result['faultstring'], 'error'); tep_redirect(tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action')) . 'action=edit')); } $buysafe_result = $buysafe->call_api('SetShoppingCartCheckout', $buysafe_check, $order); if ($buysafe_result['IsBuySafeEnabled'] != 'true') { $messageStack->add_session('buySAFE fault: ' . $buysafe_result['faultstring'], 'error'); tep_redirect(tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action')) . 'action=edit')); } else { tep_db_query("update " . TABLE_ORDERS . " set buysafe_cart_id = '" . tep_db_input($buysafe_check['buysafe_cart_id']) . "' where orders_id = '" . (int)$oID . "'"); } } } } // }} tep_db_query("update " . TABLE_ORDERS . " set orders_status = '" . tep_db_input($status) . "', last_modified = now() where orders_id = '" . (int)$oID . "'"); //Package Tracking Plus BEGIN $customer_notified = '0'; if ($HTTP_POST_VARS['notify'] == 'on' & ($usps_track_num == '' & $usps_track_num2 == '' & $ups_track_num == '' & $ups_track_num2 == '' & $fedex_track_num == '' & $fedex_track_num2 == '' & $dhl_track_num == '' & $dhl_track_num2 == '' ) ) { $notify_comments = ''; if ($HTTP_POST_VARS['notify_comments'] == 'on') { $notify_comments = sprintf(EMAIL_TEXT_COMMENTS_UPDATE, $comments) . "\n"; if ($comments == null) $notify_comments = ''; } $email = 'Dear ' . $check_status['customers_name'] . ',' . "\n\n" . STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . (int)$oID . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . "<a HREF='" . tep_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . (int)$oID, 'SSL') . "'>" . 'order_id=' . (int)$oID . "</a>\n" . EMAIL_TEXT_DATE_ORDERED . ' ' . tep_date_long($check_status['date_purchased']) . "\n" . EMAIL_SEPARATOR . "\n\n\n" . $notify_comments . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]); tep_mail($check_status['customers_name'], $check_status['customers_email_address'], STORE_NAME . ' ' . EMAIL_TEXT_SUBJECT_1. (int)$oID . EMAIL_TEXT_SUBJECT_2 . $orders_status_array[$status], $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); $customer_notified = '1'; }else if ($HTTP_POST_VARS['notify'] == 'on' & ($usps_track_num == '' or $usps_track_num2 == '' or $ups_track_num == '' or $ups_track_num2 == '' or $fedex_track_num == '' or $fedex_track_num2 == '' or $dhl_track_num == '' or $dhl_track_num2 == '' ) ) { $notify_comments = ''; if ($HTTP_POST_VARS['notify_comments'] == 'on') { $notify_comments = sprintf(EMAIL_TEXT_COMMENTS_UPDATE, $comments) . "\n"; if ($comments == null) $notify_comments = ''; } if ($usps_track_num == null) { $usps_text = ''; $usps_track = ''; }else{ $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"; } if ($usps_track_num2 == null) { $usps_text2 = ''; $usps_track2 = ''; }else{ $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"; } if ($ups_track_num == null) { $ups_text = ''; $ups_track = ''; }else{ $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"; } if ($ups_track_num2 == null) { $ups_text2 = ''; $ups_track2 = ''; }else{ $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"; } if ($fedex_track_num == null) { $fedex_text = ''; $fedex_track = ''; }else{ $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"; } if ($fedex_track_num2 == null) { $fedex_text2 = ''; $fedex_track2 = ''; }else{ $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"; } if ($dhl_track_num == null) { $dhl_text = ''; $dhl_track = ''; }else{ $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"; } if ($dhl_track_num2 == null) { $dhl_text2 = ''; $dhl_track2 = ''; }else{ $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"; } $email = 'Dear ' . $check_status['customers_name'] . ',' . "\n\n" . STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . (int)$oID . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . "<a HREF='" . tep_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . (int)$oID, 'SSL') . "'>" . 'order_id=' . (int)$oID . "</a>\n" . EMAIL_TEXT_DATE_ORDERED . ' ' . tep_date_long($check_status['date_purchased']) . "\n\n\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_TRACKING_NUMBER . "\n" . $usps_text . $usps_track . $usps_text2 . $usps_track2 . $ups_text . $ups_track . $ups_text2 . $ups_track2 . $fedex_text . $fedex_track . $fedex_text2 . $fedex_track2 . $dhl_text . $dhl_track . $dhl_text2 . $dhl_track2 . "\n\n" . $notify_comments . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]); tep_mail($check_status['customers_name'], $check_status['customers_email_address'], STORE_NAME . ' ' . EMAIL_TEXT_SUBJECT_1. (int)$oID . EMAIL_TEXT_SUBJECT_2 . $orders_status_array[$status], $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); $customer_notified = '1'; }else 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 = ''; } $email = 'Dear ' . $check_status['customers_name'] . ',' . "\n\n" . STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . (int)$oID . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . "<a HREF='" . tep_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . (int)$oID, 'SSL') . "'>" . 'order_id=' . (int)$oID . "</a>\n" . EMAIL_TEXT_DATE_ORDERED . ' ' . tep_date_long($check_status['date_purchased']) . "\n\n\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_TRACKING_NUMBER . "\n" . $usps_text . $usps_track . $usps_text2 . $usps_track2 . $ups_text . $ups_track . $ups_text2 . $ups_track2 . $fedex_text . $fedex_track . $fedex_text2 . $fedex_track2 . $dhl_text . $dhl_track . $dhl_text2 . $dhl_track2 . "\n\n" . $notify_comments . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]); tep_mail($check_status['customers_name'], $check_status['customers_email_address'], STORE_NAME . ' ' . EMAIL_TEXT_SUBJECT_1 . (int)$oID . EMAIL_TEXT_SUBJECT_2 . $orders_status_array[$status], $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); $customer_notified = '1'; } //Package Tracking Plus END tep_db_query("insert into " . TABLE_ORDERS_STATUS_HISTORY . " (orders_id, orders_status_id, date_added, customer_notified, comments) values ('" . (int)$oID . "', '" . tep_db_input($status) . "', now(), '" . tep_db_input($customer_notified) . "', '" . tep_db_input($comments) . "')"); $order_updated = true; } tep_db_query("insert into " . TABLE_ORDERS_STATUS_HISTORY . " (orders_id, orders_status_id, date_added, customer_notified, comments) values ('" . (int)$oID . "', '" . tep_db_input($status) . "', now(), '" . tep_db_input($customer_notified) . "', '" . tep_db_input($comments) . "')"); $order_updated = true; } //Package Tracking Plus BEGIN tep_db_query("update " . TABLE_ORDERS . " set usps_track_num = '" . tep_db_input($usps_track_num) . "' where orders_id = '" . tep_db_input($oID) . "'"); tep_db_query("update " . TABLE_ORDERS . " set usps_track_num2 = '" . tep_db_input($usps_track_num2) . "' where orders_id = '" . tep_db_input($oID) . "'"); tep_db_query("update " . TABLE_ORDERS . " set ups_track_num = '" . tep_db_input($ups_track_num) . "' where orders_id = '" . tep_db_input($oID) . "'"); tep_db_query("update " . TABLE_ORDERS . " set ups_track_num2 = '" . tep_db_input($ups_track_num2) . "' where orders_id = '" . tep_db_input($oID) . "'"); tep_db_query("update " . TABLE_ORDERS . " set fedex_track_num = '" . tep_db_input($fedex_track_num) . "' where orders_id = '" . tep_db_input($oID) . "'"); tep_db_query("update " . TABLE_ORDERS . " set fedex_track_num2 = '" . tep_db_input($fedex_track_num2) . "' where orders_id = '" . tep_db_input($oID) . "'"); tep_db_query("update " . TABLE_ORDERS . " set dhl_track_num = '" . tep_db_input($dhl_track_num) . "' where orders_id = '" . tep_db_input($oID) . "'"); tep_db_query("update " . TABLE_ORDERS . " set dhl_track_num2 = '" . tep_db_input($dhl_track_num2) . "' where orders_id = '" . tep_db_input($oID) . "'"); $order_updated = true; //Package Tracking Plus END if ($order_updated == true) { $messageStack->add_session(SUCCESS_ORDER_UPDATED, 'success'); } else { $messageStack->add_session(WARNING_ORDER_NOT_UPDATED, 'warning'); } tep_redirect(tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action')) . 'action=edit')); break; case 'deleteconfirm': $oID = tep_db_prepare_input($HTTP_GET_VARS['oID']); tep_remove_order($oID, $HTTP_POST_VARS['restock']); tep_redirect(tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('oID', 'action')))); break; } } if (($action == 'edit') && isset($HTTP_GET_VARS['oID'])) { $oID = tep_db_prepare_input($HTTP_GET_VARS['oID']); $orders_query = tep_db_query("select orders_id from " . TABLE_ORDERS . " where orders_id = '" . (int)$oID . "'"); $order_exists = true; if (!tep_db_num_rows($orders_query)) { $order_exists = false; $messageStack->add(sprintf(ERROR_ORDER_DOES_NOT_EXIST, $oID), 'error'); } } include(DIR_WS_CLASSES . 'order.php'); ?>
  18. BapeClothing

    Faq Desk

    Any one at all help me please? Thanks in advance.
  19. BapeClothing

    Faq Desk

    Ok, i got the above issue fixed by removing the HeaderTags SEO code in faq.php. Now I am having problems with viewing faq.php in a web browser. I am using STS4 and I use custom templates. When going to faq.php in a web browser it completly messes up the whole buttom and right side of the design. Any help would be appreciated. Thanks!
  20. BapeClothing

    Faq Desk

    Hello all. I just installed FAQ manager and I have followed the above steps. Everything works fine except /catalog/faq.php. When I got to it in a web browser I am receiving the following error: 1146 - Table 'kitchens_osc1.TABLE_HEADERTAGS_DEFAULT' doesn't exist select * from TABLE_HEADERTAGS_DEFAULT where language_id = '1' [TEP STOP] I don't have Header Tags SEO installed? I attempted to but stopped doing it. Is it possible that I need to clean up some old stuff that Header Tags SEO left in there? Hope someone can help. Thanks!
  21. BapeClothing

    Article Manager v1.0

    Hello all. I hope this is a easy fix and someone can help me. I recently installed Article Manager. I am using Easy Meta Tags and STS4. Everything seems to be working fine until i go to an actual article, it displays "HEADER_TITLE" at the top insted of the article name. If I go to the article topic it displays correctly. If any one could help me, I would appreciate it. Thanks.
  22. I recently installed the contrib Specials on index.PHP. http://addons.oscommerce.com/info/123 I noticed that is continues to put the specials there as I add them. Would any one happen to know if there is a way to limit the ammount of specials that it displays on the main page? I would like to limit the main page to only display 6 specials. Here is the code to default_specials.php: <?php /* $Id: default_specials.php,v 2.0 2003/06/13 osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ ?> <!-- default_specials //--> <tr> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <?php $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => sprintf(TABLE_HEADING_DEFAULT_SPECIALS, strftime('%B'))); new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_SPECIALS)); $new = tep_db_query("select p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image, s.specials_new_products_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_SPECIALS . " s where p.products_status = '1' and s.products_id = p.products_id and p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' and s.status = '1' order by rand() DESC limit " . MAX_DISPLAY_SPECIAL_PRODUCTS); $info_box_contents = array(); $row = 0; $col = 0; while ($default_specials = tep_db_fetch_array($new)) { $default_specials['products_name'] = tep_get_products_name($default_specials['products_id']); $info_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" width="33%" valign="top"', 'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $default_specials["products_id"]) . '">' . tep_image(DIR_WS_IMAGES . $default_specials['products_image'], $default_specials['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $default_specials['products_id']) . '">' . $default_specials['products_name'] . '</a><br><s>' . $currencies->display_price($default_specials['products_price'], tep_get_tax_rate($default_specials['products_tax_class_id'])) . '</s><br><span class="productSpecialPrice">' . $currencies->display_price($default_specials['specials_new_products_price'], tep_get_tax_rate($default_specials['products_tax_class_id'])) . '</span>'); $col ++; if ($col > 2) { $col = 0; $row ++; } } new contentBox($info_box_contents); ?> <!-- default_specials_eof //-->
  23. BapeClothing

    Who's Online Enhancement 1.4

    Help! I accidently delete the whos_online table. How do I get it back?
  24. BapeClothing

    Easy Meta tags

    I found the problem. I did a fresh install. If I install Easy Meta Tags BEFORE installing Ultimate SEO URLS, then it works. THanks.
×