Jump to content

NetEffect

Members
  • Content count

    33
  • Joined

  • Last visited

Profile Information

  • Real Name
    Jack W.
  • Gender
    Male
  • Location
    Florida!
  1. NetEffect

    Quantity Price Breaks

    Hello. Also installed and did seem to go smoothly. I have 2.3.1 store. But I am unable to see price breaks in admin also menu on left side is messed up, two buttons appear on product info page, etc... Has anyone had multiple errors? Thanx.
  2. NetEffect

    USPS Trouble

    Hi. I am having some usps problems too. Today, 1/22/2012, we started getting high rates for First Class. I tried installing USPS Methods 6.1 and that seemed buggy. So do I have to install a new USPS module?
  3. NetEffect

    Edit Order in Admin

    got it, great! looks so good! thx
  4. NetEffect

    tep_round_up() Error

    got it. hey looks pretty good :D keep up the good work. Thax
  5. NetEffect

    tep_round_up() Error

    Oh it worked, thanx! How come I don't see Configuration->Order Editor in my admin section? NetEffect
  6. NetEffect

    tep_round_up() Error

    the file edit is already in my includes/functions/general.php and i still get the error. how come? Thx NetEffect
  7. NetEffect

    Edit Order in Admin

    i have 2.3.1 . what version do i use? i tried 2 of them now, get error call to undefined function tep_round_up in usps.php.. dunno what that is. any help is appreicated. Thank you. NetEffect
  8. NetEffect

    Header Tags SEO

    i figured it out. thank you though. and keep up the good work Jack ! seo has been a big help. Jack
  9. NetEffect

    Header Tags SEO

    so bizarre how the header_tags.php file gets replaced. what should i be looking at?
  10. NetEffect

    Header Tags SEO

    oh ok sorry for that. didn't realize.
  11. NetEffect

    Header Tags SEO

    Hello! Pretty neat contribution, I have been enjoying it :D The other day, I tried adding some sitemap contributions and backed out of them. Well, I messed something up. Just entering admin->header tags seo->page control makes my site crash and display: Parse error: syntax error, unexpected T_CLASS in /home3/awesomev/public_html/includes/header_tags.php on line 394 Any help would be appreciated. I copy an old file /includes/header_tags.php to keep store up and running for now. I dunno what to do. Weirdest thing, it seems to replace header_tags.php when you enter header tags seo. I included the file, use your search feature (f3? ctrl-f? and look for line 394) Again, any help is great. :D Thx, NetEffect (Jack, too!) <?php /* $Id: header_tags_seo.php,v 3.0 2008/01/10 by Jack_mcs - http://www.oscommerce-solution.com osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Portions Copyright 2009 oscommerce-solution.com Released under the GNU General Public License */ require_once(DIR_WS_FUNCTIONS . 'header_tags.php'); require_once(DIR_WS_FUNCTIONS . 'clean_html_comments.php'); // Clean out HTML comments from ALT tags etc. $cache_output = ''; $canonical_url = ''; $header_tags_array = array(); $sortOrder = array(); $tmpTags = array(); $defaultTags_query = tep_db_query("select * from " . TABLE_HEADERTAGS_DEFAULT . " where language_id = '" . (int)$languages_id . "'"); $defaultTags = tep_db_fetch_array($defaultTags_query); $tmpTags['def_title'] = (tep_not_null($defaultTags['default_title'])) ? $defaultTags['default_title'] : ''; $tmpTags['def_desc'] = (tep_not_null($defaultTags['default_description'])) ? $defaultTags['default_description'] : ''; $tmpTags['def_keywords'] = (tep_not_null($defaultTags['default_keywords'])) ? $defaultTags['default_keywords'] : ''; $tmpTags['def_logo_text'] = (tep_not_null($defaultTags['default_logo_text'])) ? $defaultTags['default_logo_text'] : ''; // Define specific settings per page: switch (true) { // INDEX.PHP case (basename($_SERVER['PHP_SELF']) === FILENAME_DEFAULT): $id = ($current_category_id ? 'c_' . (int)$current_category_id : (($_GET['manufacturers_id'] ? 'm_' . (int)$_GET['manufacturers_id'] : ''))); if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, $id)) { $pageTags_query = tep_db_query("select * from " . TABLE_HEADERTAGS . " where page_name like '" . FILENAME_DEFAULT . "' and language_id = '" . (int)$languages_id . "'"); $pageTags = tep_db_fetch_array($pageTags_query); $catStr = "select categories_htc_title_tag as htc_title_tag, categories_htc_desc_tag as htc_desc_tag, categories_htc_keywords_tag as htc_keywords_tag from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . (int)$current_category_id . "' and language_id = '" . (int)$languages_id . "' limit 1"; $manStr = ''; if (isset($_GET['manufacturers_id']) && $category_depth == 'top') $manStr = "select mi.manufacturers_htc_title_tag as htc_title_tag, mi.manufacturers_htc_desc_tag as htc_desc_tag, mi.manufacturers_htc_keywords_tag as htc_keywords_tag from " . TABLE_MANUFACTURERS . " m LEFT JOIN " . TABLE_MANUFACTURERS_INFO . " mi on m.manufacturers_id = mi.manufacturers_id where m.manufacturers_id = '" . (int)$_GET['manufacturers_id'] . "' and mi.languages_id = '" . (int)$languages_id . "' limit 1"; if ($pageTags['append_root'] || $category_depth == 'top' && ! isset($_GET['manufacturers_id']) ) { $sortOrder['title'][$pageTags['sortorder_root']] = $pageTags['page_title']; $sortOrder['description'][$pageTags['sortorder_root']] = $pageTags['page_description']; $sortOrder['keywords'][$pageTags['sortorder_root']] = $pageTags['page_keywords']; $sortOrder['logo'][$pageTags['sortorder_root']] = $pageTags['page_logo']; $sortOrder['logo_1'][$pageTags['sortorder_root_1']] = $pageTags['page_logo_1']; $sortOrder['logo_2'][$pageTags['sortorder_root_2']] = $pageTags['page_logo_2']; $sortOrder['logo_3'][$pageTags['sortorder_root_3']] = $pageTags['page_logo_3']; $sortOrder['logo_4'][$pageTags['sortorder_root_4']] = $pageTags['page_logo_4']; } $sortOrder = GetCategoryAndManufacturer($sortOrder, $pageTags, $defaultTags, $catStr, $manStr); if ($pageTags['append_default_title'] && tep_not_null($tmpTags['def_title'])) $sortOrder['title'][$pageTags['sortorder_title']] = $tmpTags['def_title']; if ($pageTags['append_default_description'] && tep_not_null($tmpTags['def_desc'])) $sortOrder['description'][$pageTags['sortorder_description']] = $tmpTags['def_desc']; if ($pageTags['append_default_keywords'] && tep_not_null($tmpTags['def_keywords'])) $sortOrder['keywords'][$pageTags['sortorder_keywords']] = $tmpTags['def_keywords']; if ($pageTags['append_default_logo'] && tep_not_null($tmpTags['def_logo_text'])) $sortOrder['logo'][$pageTags['sortorder_logo']] = $tmpTags['def_logo_text']; FillHeaderTagsArray($header_tags_array, $sortOrder); // Canonical URL add-on if (tep_not_null($cPath) || (isset($_GET['manufacturers_id']) && $category_depth == 'top')) { $args = tep_get_all_get_params(array('action','currency', tep_session_name(),'sort','page')); $canonical_url = StripSID(tep_href_link(FILENAME_DEFAULT, $args, 'NONSSL', false) ); } WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, $id); } break; // PRODUCT_INFO.PHP // PRODUCT_REVIEWS.PHP // PRODUCT_REVIEWS_INFO.PHP // PRODUCT_REVIEWS_WRITE.PHP case (basename($_SERVER['PHP_SELF']) === FILENAME_PRODUCT_INFO): case (basename($_SERVER['PHP_SELF']) === FILENAME_PRODUCT_REVIEWS): case (basename($_SERVER['PHP_SELF']) === FILENAME_PRODUCT_REVIEWS_INFO): case (basename($_SERVER['PHP_SELF']) === FILENAME_PRODUCT_REVIEWS_WRITE): switch (true) { case (basename($_SERVER['PHP_SELF']) === FILENAME_PRODUCT_INFO): $filename = FILENAME_PRODUCT_INFO; break; case (basename($_SERVER['PHP_SELF']) === FILENAME_PRODUCT_REVIEWS): $filename = FILENAME_PRODUCT_REVIEWS; break; case (basename($_SERVER['PHP_SELF']) === FILENAME_PRODUCT_REVIEWS_INFO): $filename = FILENAME_PRODUCT_REVIEWS_INFO; break; case (basename($_SERVER['PHP_SELF']) === FILENAME_PRODUCT_REVIEWS_WRITE): $filename = FILENAME_PRODUCT_REVIEWS_WRITE; break; default: $filename = FILENAME_PRODUCT_INFO; } $id = ($_GET['products_id'] ? 'p_' . (int)$_GET['products_id'] : ''); if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, $id)) { $pageTags_query = tep_db_query("select * from " . TABLE_HEADERTAGS . " where page_name like '" . $filename . "' and language_id = '" . (int)$languages_id . "'"); $pageTags = tep_db_fetch_array($pageTags_query); $the_product_info_query = tep_db_query("select p.products_id, pd.products_head_title_tag, pd.products_head_keywords_tag, pd.products_head_desc_tag, p.manufacturers_id, p.products_model from " . TABLE_PRODUCTS . " p inner join " . TABLE_PRODUCTS_DESCRIPTION . " pd on p.products_id = pd.products_id where p.products_id = '" . (int)$_GET['products_id'] . "' and pd.language_id ='" . (int)$languages_id . "' limit 1"); $the_product_info = tep_db_fetch_array($the_product_info_query); $header_tags_array['product'] = $the_product_info['products_head_title_tag']; //save for use on the logo $tmpTags['prod_title'] = (tep_not_null($the_product_info['products_head_title_tag'])) ? $the_product_info['products_head_title_tag'] : ''; $tmpTags['prod_desc'] = (tep_not_null($the_product_info['products_head_desc_tag'])) ? $the_product_info['products_head_desc_tag'] : ''; $tmpTags['prod_keywords'] = (tep_not_null($the_product_info['products_head_keywords_tag'])) ? $the_product_info['products_head_keywords_tag'] : ''; $tmpTags['prod_model'] = (tep_not_null($the_product_info['products_model'])) ? $the_product_info['products_model'] : ''; $catStr = "select c.categories_htc_title_tag as htc_title_tag, c.categories_htc_desc_tag as htc_desc_tag, c.categories_htc_keywords_tag as htc_keywords_tag from " . TABLE_CATEGORIES_DESCRIPTION . " c, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where c.categories_id = p2c.categories_id and p2c.products_id = '" . (int)$the_product_info['products_id'] . "' and language_id = '" . (int)$languages_id . "'"; $manStr = "select mi.manufacturers_htc_title_tag as htc_title_tag, mi.manufacturers_htc_desc_tag as htc_desc_tag, mi.manufacturers_htc_keywords_tag as htc_keywords_tag from " . TABLE_MANUFACTURERS . " m LEFT JOIN " . TABLE_MANUFACTURERS_INFO . " mi on m.manufacturers_id = mi.manufacturers_id where m.manufacturers_id = '" . (int)$the_product_info['manufacturers_id'] . "' and mi.languages_id = '" . (int)$languages_id . "' LIMIT 1"; if ($pageTags['append_root']) { $sortOrder['title'][$pageTags['sortorder_root']] = $pageTags['page_title']; $sortOrder['description'][$pageTags['sortorder_root']] = $pageTags['page_description']; $sortOrder['keywords'][$pageTags['sortorder_root']] = $pageTags['page_keywords']; $sortOrder['logo'][$pageTags['sortorder_root']] = $pageTags['page_logo']; $sortOrder['logo_1'][$pageTags['sortorder_root_1']] = $pageTags['page_logo_1']; $sortOrder['logo_2'][$pageTags['sortorder_root_2']] = $pageTags['page_logo_2']; $sortOrder['logo_3'][$pageTags['sortorder_root_3']] = $pageTags['page_logo_3']; $sortOrder['logo_4'][$pageTags['sortorder_root_4']] = $pageTags['page_logo_4']; } if ($pageTags['append_product']) { $sortOrder['title'][$pageTags['sortorder_product']] = $tmpTags['prod_title']; //places the product title at the end of the list $sortOrder['description'][$pageTags['sortorder_product']] = $tmpTags['prod_desc']; $sortOrder['keywords'][$pageTags['sortorder_product']] = $tmpTags['prod_keywords']; $sortOrder['logo'][$pageTags['sortorder_product']] = $tmpTags['prod_title']; } if ($pageTags['append_model']) { $sortOrder['title'][$pageTags['sortorder_model']] = $tmpTags['prod_model']; //places the product title at the end of the list $sortOrder['description'][$pageTags['sortorder_model']] = $tmpTags['prod_model']; $sortOrder['keywords'][$pageTags['sortorder_model']] = $tmpTags['prod_model']; $sortOrder['logo'][$pageTags['sortorder_model']] = $tmpTags['prod_model']; } $sortOrder = GetCategoryAndManufacturer($sortOrder, $pageTags, $defaultTags, $catStr, $manStr, true); if ($pageTags['append_default_title'] && tep_not_null($tmpTags['def_title'])) $sortOrder['title'][$pageTags['sortorder_title']] = $tmpTags['def_title']; if ($pageTags['append_default_description'] && tep_not_null($tmpTags['def_desc'])) $sortOrder['description'][$pageTags['sortorder_description']] = $tmpTags['def_desc']; if ($pageTags['append_default_keywords'] && tep_not_null($tmpTags['def_keywords'])) $sortOrder['keywords'][$pageTags['sortorder_keywords']] = $tmpTags['def_keywords']; if ($pageTags['append_default_logo'] && tep_not_null($tmpTags['def_logo_text'])) $sortOrder['logo'][$pageTags['sortorder_logo']] = $tmpTags['def_logo_text']; FillHeaderTagsArray($header_tags_array, $sortOrder); // Canonical URL add-on if ($_GET['products_id'] != '') { $canonical_url = StripSID(tep_href_link(basename($_SERVER['PHP_SELF']), 'products_id='.(int)$_GET['products_id'])); } WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, $id); } break; // SPECIALS.PHP case (basename($_SERVER['PHP_SELF']) === FILENAME_SPECIALS): if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, '')) { $pageTags_query = tep_db_query("select * from " . TABLE_HEADERTAGS . " where page_name like '" . FILENAME_SPECIALS . "' and language_id = '" . (int)$languages_id . "'"); $pageTags = tep_db_fetch_array($pageTags_query); // Build a list of ALL specials product names to put in keywords $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 = '" . (int)$languages_id . "' and s.status = '1' order by s.specials_date_added DESC "); $row = 0; $the_specials=''; while ($new_values = tep_db_fetch_array($new)) { $the_specials .= clean_html_comments($new_values['products_name']) . ', '; } if (strlen($the_specials) > 30000) //arbitrary number - may vary with server setting $the_specials = substr($the_specials, 0, 30000); //adjust as needed if ($pageTags['append_root']) { $sortOrder['title'][$pageTags['sortorder_root']] = $pageTags['page_title']; $sortOrder['description'][$pageTags['sortorder_root']] = $pageTags['page_description']; $sortOrder['keywords'][$pageTags['sortorder_root']] = $pageTags['page_keywords']; $sortOrder['logo'][$pageTags['sortorder_root']] = $pageTags['page_logo']; $sortOrder['logo_1'][$pageTags['sortorder_root']] = $pageTags['page_logo_1']; $sortOrder['logo_2'][$pageTags['sortorder_root']] = $pageTags['page_logo_2']; $sortOrder['logo_3'][$pageTags['sortorder_root']] = $pageTags['page_logo_3']; $sortOrder['logo_4'][$pageTags['sortorder_root']] = $pageTags['page_logo_4']; } $sortOrder['keywords'][10] = $the_specials;; if ($pageTags['append_default_title'] && tep_not_null($tmpTags['def_title'])) $sortOrder['title'][$pageTags['sortorder_title']] = $tmpTags['def_title']; if ($pageTags['append_default_description'] && tep_not_null($tmpTags['def_desc'])) $sortOrder['description'][$pageTags['sortorder_description']] = $tmpTags['def_desc']; if ($pageTags['append_default_keywords'] && tep_not_null($tmpTags['def_keywords'])) $sortOrder['keywords'][$pageTags['sortorder_keywords']] = $tmpTags['def_keywords']; if ($pageTags['append_default_logo'] && tep_not_null($tmpTags['def_logo_text'])) $sortOrder['logo'][$pageTags['sortorder_logo']] = $tmpTags['def_logo_text']; FillHeaderTagsArray($header_tags_array, $sortOrder); WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, ''); } break; // conditions.php case (basename($_SERVER['PHP_SELF']) === FILENAME_CONDITIONS): if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, '')) { $header_tags_array = tep_header_tag_page(FILENAME_CONDITIONS); WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, ''); } break; // privacy.php case (basename($_SERVER['PHP_SELF']) === FILENAME_PRIVACY): if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, '')) { $header_tags_array = tep_header_tag_page(FILENAME_PRIVACY); WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, ''); } break; // contact_us.php case (basename($_SERVER['PHP_SELF']) === FILENAME_CONTACT_US): if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, '')) { $header_tags_array = tep_header_tag_page(FILENAME_CONTACT_US); WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, ''); } break; // download.php case (basename($_SERVER['PHP_SELF']) === FILENAME_DOWNLOAD): if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, '')) { $header_tags_array = tep_header_tag_page(FILENAME_DOWNLOAD); WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, ''); } break; // 500.php case (basename($_SERVER['PHP_SELF']) === FILENAME_500): if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, '')) { $header_tags_array = tep_header_tag_page(FILENAME_500); WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, ''); } break; // shipping.php case (basename($_SERVER['PHP_SELF']) === FILENAME_SHIPPING): if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, '')) { $header_tags_array = tep_header_tag_page(FILENAME_SHIPPING); WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, ''); } break; // bridge.php case (basename($_SERVER['PHP_SELF']) === FILENAME_BRIDGE): if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, '')) { $header_tags_array = tep_header_tag_page(FILENAME_BRIDGE); WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, ''); } break; // advanced_search_result.php case (basename($_SERVER['PHP_SELF']) === FILENAME_ADVANCED_SEARCH_RESULT): if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, '')) { $header_tags_array = tep_header_tag_page(FILENAME_ADVANCED_SEARCH_RESULT); WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, ''); } break; // popup_image.php case (basename($_SERVER['PHP_SELF']) === FILENAME_POPUP_IMAGE): if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, '')) { $header_tags_array = tep_header_tag_page(FILENAME_POPUP_IMAGE); WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, ''); } break; // opensearch.php case (basename($_SERVER['PHP_SELF']) === FILENAME_OPENSEARCH): if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, '')) { $header_tags_array = tep_header_tag_page(FILENAME_OPENSEARCH); WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, ''); } break; // shopping_cart.php case (basename($_SERVER['PHP_SELF']) === FILENAME_SHOPPING_CART): if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, '')) { $header_tags_array = tep_header_tag_page(FILENAME_SHOPPING_CART); WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, ''); } break; // cookie_usage.php case (basename($_SERVER['PHP_SELF']) === FILENAME_COOKIE_USAGE): if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, '')) { $header_tags_array = tep_header_tag_page(FILENAME_COOKIE_USAGE); WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, ''); } break; // tell_a_friend.php case (basename($_SERVER['PHP_SELF']) === FILENAME_TELL_A_FRIEND): if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, '')) { $header_tags_array = tep_header_tag_page(FILENAME_TELL_A_FRIEND); WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, ''); } break; // redirect.php case (basename($_SERVER['PHP_SELF']) === FILENAME_REDIRECT): if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, '')) { $header_tags_array = tep_header_tag_page(FILENAME_REDIRECT); WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, ''); } break; // info_shopping_cart.php case (basename($_SERVER['PHP_SELF']) === FILENAME_INFO_SHOPPING_CART): if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, '')) { $header_tags_array = tep_header_tag_page(FILENAME_INFO_SHOPPING_CART); WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, ''); } break; // products_new.php case (basename($_SERVER['PHP_SELF']) === FILENAME_PRODUCTS_NEW): if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, '')) { $header_tags_array = tep_header_tag_page(FILENAME_PRODUCTS_NEW); WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, ''); } break; // reviews.php case (basename($_SERVER['PHP_SELF']) === FILENAME_REVIEWS): if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, '')) { $header_tags_array = tep_header_tag_page(FILENAME_REVIEWS); WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, ''); } break; // advanced_search.php case (basename($_SERVER['PHP_SELF']) === FILENAME_ADVANCED_SEARCH): if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, '')) { $header_tags_array = tep_header_tag_page(FILENAME_ADVANCED_SEARCH); WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, ''); } break; // pm2checkout_process.php case (basename($_SERVER['PHP_SELF']) === FILENAME_PM2CHECKOUT_PROCESS): if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, '')) { $header_tags_array = tep_header_tag_page(FILENAME_PM2CHECKOUT_PROCESS); WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, ''); } break; // phptest.php case (basename($_SERVER['PHP_SELF']) === FILENAME_PHPTEST): if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, '')) { $header_tags_array = tep_header_tag_page(FILENAME_PHPTEST); WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, ''); } break; // googlebase.php case (basename($_SERVER['PHP_SELF']) === FILENAME_GOOGLEBASE): if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, '')) { $header_tags_array = tep_header_tag_page(FILENAME_GOOGLEBASE); WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, ''); } break; // jw_checkout_shipping.php case (basename($_SERVER['PHP_SELF']) === FILENAME_JW_CHECKOUT_SHIPPING): if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, '')) { $header_tags_array = tep_header_tag_page(FILENAME_JW_CHECKOUT_SHIPPING); WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, ''); } break; // popup_shipping.php case (basename($_SERVER['PHP_SELF']) === FILENAME_POPUP_SHIPPING): if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, '')) { $header_tags_array = tep_header_tag_page(FILENAME_POPUP_SHIPPING); WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, ''); } break; // sitemaps.index.php case (basename($_SERVER['PHP_SELF']) === FILENAME_SITEMAPS.INDEX): if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, '')) { $header_tags_array = tep_header_tag_page(FILENAME_SITEMAPS.INDEX); WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, ''); } break; // sitemap.class.php (line 394 is the next line) :) case (basename($_SERVER['PHP_SELF']) === FILENAME_SITEMAP.CLASS): if (! ReadCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, '')) { $header_tags_array = tep_header_tag_page(FILENAME_SITEMAP.CLASS); WriteCacheHeaderTags($header_tags_array, basename($_SERVER['PHP_SELF']), $language, ''); } break; // ALL OTHER PAGES NOT DEFINED ABOVE default: $header_tags_array['title'] = tep_db_prepare_input($defaultTags['default_title']); $header_tags_array['desc'] = tep_db_prepare_input($defaultTags['default_description']); $header_tags_array['keywords'] = tep_db_prepare_input($defaultTags['default_keywords']); break; } echo ' <meta http-equiv="Content-Type" content="text/html; charset=' . CHARSET . '" />'."\n"; if (strrpos( basename($_SERVER['PHP_SELF']), 'review')) { $header_tags_array['title'] .= ' - Product Review'; $header_tags_array['desc'] .= ' - Product Review'; } echo ' <title>' . $header_tags_array['title'] . '</title>' . "\n"; echo ' <meta name="Description" content="' . $header_tags_array['desc'] . '" />' . "\n"; echo ' <meta name="Keywords" content="' . $header_tags_array['keywords'] . '" />' . "\n"; if ($defaultTags['meta_language']) { $langName = explode(",", $_SERVER["HTTP_ACCEPT_LANGUAGE"]); echo ' <meta http-equiv="Content-Language" content="' . $langName[0] . '" />'."\n"; } if ($defaultTags['meta_google']) echo ' <meta name="googlebot" content="all" />' . "\n"; if ($defaultTags['meta_noodp']) echo ' <meta name="robots" content="noodp" />' . "\n"; if ($defaultTags['meta_noydir']) echo ' <meta name="slurp" content="noydir" />' . "\n"; if ($defaultTags['meta_revisit']) echo ' <meta name="revisit-after" content="1 days" />' . "\n"; if ($defaultTags['meta_robots']) echo ' <meta name="robots" content="index, follow" />' . "\n"; if ($defaultTags['meta_unspam']) echo ' <meta name="no-email-collection" value="' . HTTP_SERVER . '" />' . "\n"; if ($defaultTags['meta_replyto']) echo ' <meta name="Reply-to" content="' . STORE_OWNER_EMAIL_ADDRESS . '"/>' . "\n"; if ($defaultTags['meta_canonical']) echo (tep_not_null($canonical_url) ? ' <link rel="canonical" href="'.$canonical_url.'" />'. "\n" : ' <link rel="canonical" href="'.GetCanonicalURL().'" />'. "\n"); echo '<!-- EOF: Header Tags SEO Generated Meta Tags -->' . "\n"; ?>
  12. DOH I had edited the wrong file, I went into the admin/includes/functions/html* file instead of the regular one. Thank you FIXED :)
  13. I installed ultimate seo urls and now I can't seem to get into my admin. The file seo.class.php in the includes/classes directory never gets loaded. I really don't know why. Please see the error yourself if you'd like at http://www.finerselections.com/admin Please see this paste as well: http://pastebin.com/m3b39610b Please recommend or comment. Jack
  14. After returning from 2Checkout, users are seeing the message "Although this page is encrypted, the information you have entered is to be sent over an unencrypted connection and could easily be read by a third party. Are you sure you want to continue sending this information?" This happens right after you finalize your order and the browser is going from 2COs SSL page to my regular catalog, non-SSL page. What are some solutions, ideas, comments? I don't think seeing this message immediately after entering credit card information is good. I might even like it if it were delayed another screen or something... Anything might be good. Thanx.
×