Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

GemRock

Pioneers
  • Posts

    2,020
  • Joined

  • Last visited

  • Days Won

    3

GemRock last won the day on March 19 2012

GemRock had the most liked content!

1 Follower

About GemRock

  • Birthday 01/01/1970

Profile Information

Recent Profile Visitors

35,564 profile views

GemRock's Achievements

  1. for the admin side of osc2.3.1, just comment out the column_left so that it looks like this: <!-- left_navigation //--> <?php // require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> in the two files: header_tags_edit.php and header_tags_category_edit.php Ken
  2. i think i have missed afew posts (no email notification sent to me). for osc 2.3.1, you add this code to template__top.php between <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>" /> and the 'base href' bit. changes to the application_top.php is the same as in osc 2.2. the results can be seen in my demo osc231 shop (accessed from my profile). <?php if (stristr($_SERVER['PHP_SELF'],'index.php')) { ?> <title><?php echo (strlen($title_tag) > 1) ? $title_tag . ' - ' . TITLE : $title_home_default . ' - ' . TITLE; ?></title> <meta name="description" content="<?php echo (strlen(strip_tags($desc_tag)) < 5)? $desc_home_default : strip_tags($desc_tag); ?>"> <meta name="keywords" content="<?php echo (strlen(strip_tags($keywords_tag)) < 5) ? $kws_home_default : strip_tags($keywords_tag); ?>"> <?php }else if(stristr($_SERVER['PHP_SELF'],'product_info.php')){ ?> <title><?php echo ((strlen($categories['categories_name']) > 1) || (strlen($manufacturers['manufacturers_name']) > 1)) ? $header_tags['products_name'] . ' -' . $breadcrumb_tags->trail_tags(' ') . ' ' . TITLE : TITLE; ?> </title> <meta name="description" content="<?php echo $header_tags['desc_tag']; ?>"> <meta name="keywords" content="<?php echo $header_tags[keywords_tag]; ?>"> <link rel="canonical" href="<?php echo tep_href_link(FILENAME_PRODUCT_INFO,'products_id='. (int)$HTTP_GET_VARS['products_id']); ?>" /> <?php }else{ ?> <title><?php echo tep_output_string_protected($oscTemplate->getTitle()); ?></title> <?php } ?> for websites using sts, refer to the above. Ken
  3. where do you get the idea of adding the http://www.ecardmodels.com before RewriteBase / ? RewriteBase / is what you need, no more no less, if your site is not under a sub-directory. Ken
  4. tend not 2 think tracing php versions is good idea unless theres a nechanism that sees depressed functions as alias. while 5.3 hasnt been adadpted by most hosts we are talking about 5.4? what about php 6, 7...?

  5. ffmpeg: a client site failed to create 30s preview clip but all sorted so now having a troublefree peaceful sat evening & sunday - happy...

  6. fixing a very strange ffmpeg issue...

  7. in version 2.3.x, the head section has been removed to the template_top.php, which is why you ca no longert find the head tag in any file you want to modify. ken
  8. would it not be best posted to the Tips and Tricks section? ken
  9. what i can do is to offer a quick fix as i know little about your website. in product_info.php, below require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRODUCT_INFO); add: $mID_sql = tep_db_query("select manufacturers_id from " . TABLE_PRODUCTS . " where products_id = '" . (int)$_GET['products_id'] . "'"); $mID_query = tep_db_fetch_array($mID_sql); $mID = $mID_query['manufacturers_id']; $manufacturers_query = tep_db_query("select manufacturers_name from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . (int)$mID . "'"); $manufacturers = tep_db_fetch_array($manufacturers_query); $m_name = $manufacturers['manufacturers_name']; now, you get the manufacturers name, you can add it to wherever you want to. eg, add it to the title tag: Ken
  10. read the previous page (page 38) post #755 onward, to see if that help? Ken
  11. i may not seriously understand your definition of 'complaining' but i certainly seriously know very well about osc, and would not come here to ask such a silly question (in fact never ask any question or help on the osc forums). i simply suggested you may have downloaded the wrong version, or the verstion you downloaded had been 'contaminated'. if neither is the case then only you yourself know what happen to your installation. giving out free time to answer questions is a thankless business, which is partly the reason why i no longer come here often. ken
  12. the idea is: you should have been more careful. the lastest released was on 15 Jan 2011, and the next latest released was called Ultimate SEO 2-2.2d-10 Polish Language Pack that says it has been translated fully into polish. so if you downloaded that one then you are asking for it and then come here to complain... ken ps, mentioning the versions does not mean i approve or disapprove them. you make your judgement.
  13. no, its certainly NOT for vanilla oscommerce. it can be used on any osc shops however modified these shops may have been, and can even be used for v2.3. if you spend time to understand how it works then you can further modify it for your own needs - its only one file ie the seo class (and on this note dont believe one that has been broken into several segments to make it looks more "professional" unnecessarily complicated). Chemo may no longer with us (he passed away last year) but his addon still widely used. sorry i dont understand/know your problem with THIS addon so can't help. but i do believ its not this addon's problem, its more likely your shop may need to modify or have this addon modified so that both can work the way you like. ken
  14. the only possible reason for no-show of the manu. list could be the language id. try to change this line 204: $manufacturers_query_raw = "select manufacturers_id, manufacturers_name, title_tag, desc_tag, keywords_tag from " . TABLE_MANUFACTURERS . " where language_id = '$languages_id' " . " $sort_by "; to $manufacturers_query_raw = "select manufacturers_id, manufacturers_name, title_tag, desc_tag, keywords_tag from " . TABLE_MANUFACTURERS . " $sort_by "; assuming you only have one language. you can look at the table to see if there is any language id. if there is, then somehow the variable $language_id is empty. Ken
  15. sorry i forgot that. yes you need to make change to index.php. try to add this code just before: require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT); if (isset($_GET['manufacturers_id'])) { $manufacturers_query = tep_db_query("select manufacturers_name,title_tag,desc_tag,keywords_tag from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'"); if (tep_db_num_rows($manufacturers_query)) { $manufacturers = tep_db_fetch_array($manufacturers_query); if (strlen($manufacturers['title_tag'])>3) { $title_tag = $manufacturers['title_tag']; } else { $header_manifacturer = $manufacturers['manufacturers_name'] . ' - '; } if (strlen($manufacturers['desc_tag'])>5) { $desc_tag = $manufacturers['desc_tag'].' - '.$desc_home_default; } else { $desc_tag = $manufacturers['manufacturers_name'].' - '.$desc_home_default; } if (strlen($manufacturers['keywords_tag'])>5) { $keywords_tag = $manufacturers['keywords_tag'].' - '.$kws_home_default; } else { $keywords_tag = $manufacturers['manufacturers_name'].' - '.$kws_home_default; } } if (isset($_GET['filter_id']) && tep_not_null($_GET['filter_id'])) { $cat_tags_query = tep_db_query("SELECT categories_name, title_tag, desc_tag, keywords_tag FROM " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . (int)$_GET['filter_id'] . "' AND language_id = '" . (int)$languages_id . "'"); $cat_tags = tep_db_fetch_array($cat_tags_query); $title_tag = $header_manifacturer . $cat_tags['categories_name'] . ' - '; } } feel free to make further changes to suit your needsad the code may be customised that site only. Ken
×
×
  • Create New...