Jump to content
Latest News: (loading..)


  • Content count

  • Joined

  • Last visited

  • Days Won


ce7 last won the day on June 5 2015

ce7 had the most liked content!

Profile Information

  • Real Name

Recent Profile Visitors

12,245 profile views
  1. ce7

    KissIT Image Thumnailer

    hi, thanks for this addon. I have installed it on 234.1Edge and it is work. However I think the admin site has something wrong with it, somehow the thumbnail directory not saved, and instead created a folder under admin, so it is like catalog/admin/DIR_WS_IMAGESthumbs/ there has no images generated inside. Something wrong I pasted with admin/includes/function/hutml_output.php ? Thanks! Lyn
  2. ce7

    product images with zoom effect

    @JcMagpie Thank you very much for the info and links!!! Well have a look and take time to learn!
  3. I tried few zoom addons on 234.1 Edge (BS) version with KissIT Thumbnails, none of the zoom can works. (Did try the QTPro product_info.php which has a bit of 231 version code, and still no zoom effect) Found the boostrap zoom javascript online, and want to apply to product_info.php but no idea how the product image and thumbnails image code is defined in BS version. Google and found few fourms mentioned about includes/modules/header_tags/ is the place to go. I guess 2 files related to the product_info.php includes/modules/header_tags/ht_product_colorbox.php includes/modules/header_tags/ht_product_opengraph.php Can you expert guys please help me to learn how to make this zoom script to work? So far catalog/includes/template_top.php I have declared these <link href="..." rel="stylesheet"> <script src="...></script> Please find the html page source code to get a picture of what I am trying to describe: <h1>Click and Zoom</h1><!-- can comment this out --> <div class="Lens-gallery-container" id="demo-2"> <div class="Lens-container"> <div class="Lens-big-image-container"> <a class="Lens-lens-image" data-lens-image="images/samsung/galaxy_tab_1.jpg"> <img src="images/samsung/galaxy_tab_1.jpg" class="Lens-big-image"> </a> </div> </div> <div class="Lens-thumbnails-container"> <!-- # is target for linking to product_info.php --> <a href="#" class="Lens-thumbnail-wrapper" data-lens-image="images/samsung/large/galaxy_tab_2.jpg" data-big-image="images/samsung/medium/galaxy_tab_2.jpg"> <img src="images/samsung/thumbnail/galaxy_tab_1.2pg"> </a> <a href="#" class="Lens-thumbnail-wrapper" data-lens-image="images/samsung/large/galaxy_tab_3.jpg" data-big-image="images/samsung/medium/galaxy_tab_3.jpg"> <img src="images/samsung/thumbnail/galaxy_tab_1.3pg"> </a> <a href="#" class="Lens-thumbnail-wrapper" data-lens-image="images/samsung/large/galaxy_tab_4.jpg" data-big-image="images/samsung/medium/galaxy_tab_4.jpg"> <img src="images/samsung/thumbnail/galaxy_tab_1.4pg"> </a> </div> </div> It has a seperate gallery script and a zoom lens script. It is optional to use the gallery script as osC BS already have the product photo gallery built in. Original code has large images, medium images and thumbnails images, ideally, I like to put the images under the manufacturer folder, for example saumsung. (catalog/images/samsung/) and inside that folder, has these seperate image size folders, eg. catalog/images/samsung/large/ catalog/images/samsung/medium/ catalog/images/samsung/thumbnail/ or catalog/images/samsung/1000x1000/ catalog/images/samsung/250x250/ catalog/images/samsung/75x75/ with the KissIT Image Thumbnails/ in admin/configuration/images/ that default set as catalog/images/thumbs/ and the thumbnail images will automatically save into different size, eg. catalog/images/thumbs/100_57/ catalog/images/thumbs/640_480/ catalog/images/thumbs/100_80/ catalog/images/thumbs/83_83/ and the admin side thumbnails also saved here??? I also have image sub-directory installed so that I can assign the image folder location when I insert the image. =========== Question-1: =========== In which file and what part of the code that I need to add the <script> $(document).ready(function(){ . . . }); </script> =========== Question-2: =========== How can I organize the image size into the right folder location for this zoom script work? Thanks. Lyn
  4. ce7

    KissIT Image Thumnailer

    @raiwa Hi...raiwa, I am not native English speaker, so misunderstood sometimes with the 234.1 Edge version of the product_info.php i have, i am trying hard to figure out how to put code, but it is too hard, this is the file I have: <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2010 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); if (!isset($_GET['products_id'])) { tep_redirect(tep_href_link('index.php')); } require('includes/languages/' . $language . '/product_info.php'); $product_check_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$_GET['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); $product_check = tep_db_fetch_array($product_check_query); require('includes/template_top.php'); if ($product_check['total'] < 1) { ?> <div class="contentContainer"> <div class="row"> <?php echo $oscTemplate->getContent('product_info_not_found'); ?> </div> </div> <?php } else { $product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id, p.products_gtin from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$_GET['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); $product_info = tep_db_fetch_array($product_info_query); tep_db_query("update " . TABLE_PRODUCTS_DESCRIPTION . " set products_viewed = products_viewed+1 where products_id = '" . (int)$_GET['products_id'] . "' and language_id = '" . (int)$languages_id . "'"); ?> <?php echo tep_draw_form('cart_quantity', tep_href_link('product_info.php', tep_get_all_get_params(array('action')). 'action=add_product', 'NONSSL'), 'post', 'class="form-horizontal" role="form"'); ?> <?php if ($messageStack->size('product_action') > 0) { echo $messageStack->output('product_action'); } ?> <div class="contentContainer"> <div class="row is-product"> <?php echo $oscTemplate->getContent('product_info'); ?> </div> </div> </form> <?php } require('includes/template_bottom.php'); require('includes/application_bottom.php'); ?> I dont know much about PHP, only memory long time ago at uni for basic c++, so excuse me if i ask silly questions thank you!
  5. ce7

    KissIT Image Thumnailer

    hi raiwa, Thank you for point out my problem. After reading your post, i went back to recheck my file, I comment out and did not copy the rename part, that is why the problem happened. Thank you!!! anther question, if i like to change the location where the thumbnails save, like from catalog/images/ to catalog/images/thumbnails/ what should I do? Lyn
  6. ce7

    KissIT Image Thumnailer

    @Dan Cole hi Dan, I follow the install instruction. It does said that request that function. Normally it will be defined in catalog/includes/functions/general.php ? I did installed other addons, but I never delete the code, just comment the code out, so when I do search, i can no find this function.....my oscommerce version is 234.1 Edge, any hit where i can find the code, thanks!
  7. ce7

    KissIT Image Thumnailer

    @raiwa hi raiwan, thank you for this addon. I had installed this addon, and got error message, google online for answer, but not many related post. Ask server company not respond it yet. Here is the error message: Fatal error: Call to undefined function tep_image_legacy() in /includes/functions/html_output.php on line 100 if ( !is_numeric ( $width ) || !is_numeric ( $height ) || $original_img_size[0] < KISSIT_MIN_IMAGE_SIZE || $original_img_size[1] < KISSIT_MIN_IMAGE_SIZE ) return tep_image_legacy( $src, $alt, $width, $height, $parameters, $responsive, $bootstrap_css ); what should I do to fix this error so the front end show properly without error message, by the way the admin has no error message, seems working fine. Thanks. Lyn PS. Extra info my oscomerce version is 234.1 Edge Server Info Apache Version 2.4.33 PHP Version 5.6.36 MySQL Version 5.6.39 Architecture x86_64 Operating System linux Path to Sendmail /usr/sbin/sendmail Path to Perl /usr/bin/perl Perl Version 5.10.1 Kernel Version 3.10.0-714.10.2.lve1.5.17.el6h.x86_64
  8. ce7

    Where did I change the link of this icon?

    @ArtcoInc Hi Malcolm, i am trying to installed the old 2.3.1 website addons to 234.1 Edge version now. when error happened, like tep_href_link(FILENAME_INDEX), if i change to tep_href_link('index.php') then in 234.1 Edge version the error will go away. However I don't know tep_href_link(FILENAME_DEFAULT), what will i have to type for tep_href_link('?.php'), or is there any other better way to fix the error? Many thanks in advance. Lyn
  9. @kymation Hi Jim, Thank you very much for this great addon. I am trying to upgrade a 2.3.1 database into 234.1 Edge version. So installed all addons in 2.3.1 into 234.1 Edge too. It working great in 2.3.1 version. With 234.1 Edge, somehow the TAB not working as 2.3.1 version, it is more like a list. Please find the images attached for front-end and admin site. Any idea what I did wrong and which file i should modify? Many thanks in advance. Lyn
  10. @spooks Hi, thank you for the addon. I had installed this addon on 2.3.1 and now upgraded to 234.1 Edge, try to install this again to match the old version. at the /admin/backup_website.php tep_draw_form('save_files', FILENAME_STORE_BACKUP, 'action=savenow', have change FILENAME_STORE_BACKUP to 'store_backup.php' for the button action, but there is no such file with the attached, did i misunderstood and make wrong somewhere? Thank you! Lyn
  11. ce7

    Css Assistant

    @Hotclutch Thank you so much for your reply and advises. Very useful! Its not easy for website owner to design their own template with osC2.3 and even with BS version. I did search few stylesheet related old addons, and I think they still working great with BS version, just not familiar the CSS and template system yet, will give it a try what you suggested. What I am trying to do now is to be able to save all the CSS selector from drop down-list, and generate a new file, which show the CSS file name on admin page, and click on each css file, website owner can change the template like theme switcher....for doing this, will it need to save all the variables into database or have a better solution to achieve? (Ideally will be good to apply drag and drop modules to a new content page, e.g. infopage.php....not very good at programming, so at this point only idea but no ability to do it....) Once again, thanks!
  12. ce7

    Css Assistant

    @FWR Media Hi, Thank you very much for the css assistant addon. I had installed it in 234.1 Edge version and it works great. There is one thing I like to ask if it is possible to have the path and file name have 2 functions, one is keep it as user can fill in, the other is drop down-list for both Path and Filename. So that admin can select the right path, and if the certain path be selected, and the associated files can be choosed from the drop-down list. If this is possible, where in the cssassistant.php file to put what code? Since this is about CSS, like to ask question related to CSS for BS version, as it is totally different to 2.3 to me. Q1. Is it possible I can save the CSS attribute in database? Q2. if i like to change the whole site background, header, or infobox skin, which files do i need to check? Many thanks in advance. Lyn
  13. hi, @jandg425 Thanks for the addon. had installed Excel Populate for Oscommerce(https://apps.oscommerce.com/9O5mP) on 234.1 Edge version. Can generate the excel files and can opened in the excel file, however, when tried to POPULATE. i have long list of error messages, mainly are about 2 lines in same file. Notice: Uninitialized string offset: 2199023255040 in admin/includes/excel/olerad.inc on line 27 function GetInt4d($data, $pos) { return ord($data[$pos]) | (ord($data[$pos+1]) << 8) | // line 27 (ord($data[$pos+2]) << 16) | (ord($data[$pos+3]) << 24); } Notice: Undefined index: in admin/includes/excel/olerad.inc on line 138 $sbdBlock = $this->bigBlockChain[$sbdBlock]; Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in admin/includes/excel/ /oleread.inc on line 27 Can anyone please help? Thanks! Lyn
  14. @Ragupathy Hi, thank you for the addon. I had installed Featured Video into the 234.1 Edge version. It is working with 1 video upload. However if I insert more then 1 clip, it is still only play the first video. And if I inactive the first video and try to play the 2nd uploaded video, it show the message as "Task Queue failed at step 5: Playlist could not be loaded: HTTP Status 403; Forbidden." Can any one please help to figure out how to play more then 1 videos? The other question: If i can list few videos at the same time, and I like to have the feature video infobox show a link, which link to the page to display all the video like products list that can show as grid list of listing, what file should I modify? Thanks!
  15. ce7

    Clearance Price addon

    what the code did is that it will show up at the admin/specials, but the status automatically set as red, not showing, so be able to show on front page, have to set it as green. I think need to have code to update, just i dont know how to write the code.... :-( If go admin/specials and delete the specials, it does set the admin/categories.php the price as blank, so I guess this is how it work, not the way I think can modify it back as 0...