Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.


  • Content count

  • Joined

  • Last visited

  • Days Won


GemRock last won the day on March 19 2012

GemRock had the most liked content!


About GemRock

  • Birthday 01/01/1970

Profile Information

Recent Profile Visitors

35,411 profile views
  1. GemRock

    Header Tags for novices

    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. GemRock

    Header Tags for novices

    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. GemRock

    header tags

    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. GemRock

    Header Tags for novices

    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. GemRock

    Header Tags for novices

    read the previous page (page 38) post #755 onward, to see if that help? Ken
  11. GemRock

    OSC V3

    hi Harald were you testing the out of box standard osc 2.2 , whereas in my mind i am thinking about those heavily added-on shops. my concern is to do with the 'mayhem' created by the upgrade of mysql from v4 to v5 just a couple of years ago when i spent, or rather, wasted, lots of time updating scripts. btw, it seams osc2.3.1 still uses the "array_merge($sql_data_array, $insert_sql_data)" the same as the earlier osc versions. dont if theres some magic somewhere in v2.3.1 that i am aware of? dont get me wrong. i am not against technical progress. just feel like it has to do slowly, and i think sometimes the progess is made by purely peer to peer review or pressure. Ken
  12. GemRock

    security issue with OSC V3

    ithink i know the answer, which is: there is no such thing as free lunch.:) ken
  13. GemRock

    OSC V3

    i think you somehow missed this bit in my post: thats a typical example of entering card details on your web shop. @ Harald: i dont know when but would reckon some time in the future, not something that would happen in the next few months. as for php.net's position of abandoning php v5.2.x, i think its a bit of irresponsicible given the large user base (just think about how many osc2.2 shops in the past nearly 10 yrs time, let alone other apps) of v 5.3's earlier versions, and it knowingly creates incompatibility between the old and the new. "if it aint broke, dont fix it", after all. Ken
  14. GemRock

    OSC V3

    not quite. how many onlineshops need pci? very few and only those who is big enough to have a dedicated server, and if you have a dedicated server, do whatever you like. for argument sake, paypal (which i dont like btw) speaks loud and clear its taken the pci hassle out of majority of online shops by having its server(s) pci'ed so that you dont have to, unless for some bizarre reason you want to use its so-called 'direct payment'. and so is true for other payment processing providers. bottom line: if you do not store card details in your database on the server, pci is irrelevant, and so is php v5.3.x. ken
  15. 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