Jump to content


  • Content count

  • Joined

  • Last visited

Everything posted by shpy

  1. shpy

    Header Tags SEO

    Hi Mr. Jack, thank for great contribute. "Display Tag Cloud" set to True but it does not show anything at the footer ! How does it work ?
  2. shpy

    AJAX Attribute Manager support

    ---edit----------- .. I found it !!
  3. shpy

    Header Tags SEO

    Hi Jack, "Fill tags" function is a great idea. But how to set "ITEMNAME is a great product" for multi language ? And, maybe there is a bug that "clear all tag" not working.
  4. You sign in at http://www.google.com.vn/intl/en/webmasters/ with google acc. Choose 1 domain, click "Site configuration", it will show "Sitelinks" . I think it is good for SEO because with that optimize, when user search on google, our link will show bigger, different and colorful. I dont know exactly what structure is best for Google Sitelinks, but i think Tree form can help because I see some sites have Google Sitelinks have structure like that.
  5. Hi Jack. In the webmaster tool session of google, there is a place call Sitelinks. Is the sitelinks good for SEO ? If it's good, may I can set Ultimate SEO_URL to support Google auto make sitelinks for us ? In this time, i see that structure page of oscommerce is not good for Google find out the structure sitelinks.
  6. shpy

    Links Manager II

    I had this error like you before. And after many times looking for its solution with no luck, i found that some website (which i use to test) although we can access by browser normally but when bot or our server comein, it result "error 500" our server can't check.
  7. shpy

    Supplier Admin Area Contribution

    I found that it has an issuse with Access with Level Account 2.2a ! In admin site there two box to enable : supplierarea and suppliersadmin I can enable suppliersadmin because it point to catalog/admin/suppliersadmin.php . Access with Level Account 2.2a can handle files in /admin. But supplierarea cant's enable because it piont to file out of /admin - catalog/supplier. So Access with Level Account 2.2a can't enable these files for users to execute. Really /supplier still work like admin site so Access with Level Account 2.2a prevent anyone that don't login by Access with Level Account 2.2a's account (which have permisson on these file) to execute. Please, are there any solution for this great contribution ?!
  8. shpy

    Supplier Admin Area Contribution

    Hi all , I just install v1.3. Everythings in admin site and catalog site still work well but when going to /supplier site, it go to blank page. I had double checked step by step of install introduction. Add supliers in admin site work well and very easy. Add testing product by admin (not supliers) work well - there are new option to chose "Suplier" and now can chose the suplier for that product . I said many things above to show that after install this great contribution , my site still work well. So, please help my why going to /supplier/supplier_area.php it return blank site. There is not any error text. There is no erea to login. There is nothing ! My site have : Admin site login (dont remember the exactly name, but i can fix it to show Suppliers Admin to add new suppliers) Pagecache (but turn off, and the function cache Configuration still work. But i check in application_top in supplier folder, there is not that function)
  9. shpy

    Links Manager II

    Hi Jack, there are some ideas i want to talk about. 1. The images of link. It is easy for user to enter their own image url. But some bad guy can do this: - A first time, he submit an image at www.his-domain.com/image.gif - We check and ok, there nothing to wory -> approve. - After that, he change the image.gif on his host to an porn image or somethings bad ! Oh God, our site going to place to ad porn. So, can we make it upload to our host ? With that function, we can prevent this thing to: user point to a big image and our site will scales that image to display on but the real thing is the browser must load the image with big size. This will let the site run slower. Then, we can use tep image fuction to realy resize that image to smaler size. 2. The Reciprocal Page. I found that user can submit many links (many domains) but they can use only one Reciprocal Page. And then, our site alway find out our link on only 1 that Reciprocal Page and let him submit. So, can we check the Reciprocal Page must have the same domain of submit url? 3. The error "Link Check Result: Error Reading URL" I has read all thread but cant understand how to fix it. The alow_open_url (...) is on. And when submit on my site, it found my link on my testing Reciprocal Page and let submit. but in Admin, when check URL it say that error ! The Link check Phrase just only my domain. So, i cant check my link is realy still be there on the user's Reciprocal Page if they remove it after submit success. 4. Search function. I found thet it just search the name of link. So, user who dont remember that his url had been submited or not cant search by url. Beside that, when i standing in sub category and make search. It alway search all of categories and jump back to the top category.
  10. Hi Jack, I found the problem of bad convertion non Enghlish charecter. That is the function LOWER of SQL. So, when i delete all function LOWER in code, the url link work well both in pages and on address bar. I think there is no need to use LOWER function of SQL because in the code have function strtolower() to do this for all link. Now, going to to find how to fix the child faq category url. Please help me.
  11. Thank you explaned. I turn off all cache and go to phpmyadmin to check double time that there is no cache for seo url. There is a image for that: After that, i tested step by step form ver 2.1d to 2.2d9 and found that: 2.1d, 2.1d2 work well with basic function. The non Enghlish characters had been converted well. 2.1d3: still have the good convertion but url of child category will be : /parent-category-c-1_2.html : ofcouse all "Add parent ...." set to false from 2.2d4: there no bug about child product category like 2.1d3 but have the bad convertion folow the image above. Anh from which version have faqdesk, it has the bug like 2.1d3 for child faq category url.
  12. Therer is another issue with non English language shop in ver 2.2 (work well in 2.1) My shop using VietNamese. So there are some characters should be convert to English. But the issue only appear in Product_Category. It work well for product, FAQ, faq category and all. My shop have the full set of characters should be convert : ơ=>o, ư=>u, .... And "Remove all non-alphanumeric characters? false" For example is product category name : Sơn nước ngoại thất All link in page have the good convertion: www.mydomain.com/son-nuoc-ngoai-that-c-1.html But in the address bar of browser is: www.mydomain.com/sn-noc-ngoai-that-c-1.html : note that it just lost some characters, not all ! Anf it SEO Cache turn on, after some click, all link in page will be going to the error url too ! If FAQ_categry has the name like that, it convert to right url: www.mydomain.com/son-nuoc-ngoai-that-fc-1.html If replace seo.class.php by 2.1d version, all things work well (but there are no funtion for FAQ and other) How to solve it ?
  13. My setings : Enable SEO URLs? true Add cPath to product URLs? false Add category parent to product URLs? false Add category parent to begining of URLs? false Filter Short Words 1 Output W3C valid URLs (parameter string)? true Enable SEO cache to save queries? true Enable product cache? true Enable categories cache? true Enable manufacturers cache? true Enable Articles Manager Articles cache? false Enable Articles Manager Topics cache? false Enable FAQDesk Categories cache? false Enable Information Pages cache? true Enable Links Manager cache? false Enable NewsDesk Articles cache? false Enable NewsDesk Categories cache? false Enable Pollbooth cache? false Enable Page Editor cache? false Enable automatic redirects? true Enable use Header Tags SEO as name? false Enable permormance checker? false Choose URL Rewrite Type Rewrite Enter special character conversions Remove all non-alphanumeric characters? false Reset SEO URLs Cache false Uninstall Ultimate SEO false
  14. Oh, thanks. I mistakenly thought it would be better for seo !!! One more. I found an bug here. That is FAQdesk category. For example, i have : 1. The parent category faq name : parent category faq . So the SEO url is: www.mydomain.com/parent-category-faq-fc-1.html 2. And the child category faq: child category faq . The SEO URL should be : www.mydomain.com/child-category-faq-fc-1_2.html but it show up www.mydomain.com/parent-category-faq-fc-1_2.html
  15. Hi Jack. It's an amazing contribute. Thank you anh Mr.Chemo so much. I have an idea but dont know how to do. That is: For example, i have seo url link like these: www.mydomain.com/product-name-abc-p111.html www.mydomain.com/category-name222-c222.html www.mydomain.com/category-name333-c222_333.html When i try "Add category parent to product URLs?", it going to: www.mydomain.com/category-name333-product-name-abc...... Now , i want it to be : www.mydomain.com/category-name333/product-name-abc...... How to do this? For the same with "Add category parent to begining of URLs?" www.mydomain.com/category-name222/category-name333..............
  16. shpy

    Page cache by Chemo

    Hi all ! There is an problem with PageCache of Chemo - a great contribution i ever see ! There is: when active page cache, the counter of banners does not work at the pages had been cached ! How to solve it !?
  17. I have install the Pricelist (HTML) http://addons.oscommerce.com/info/1705 . If i have 2 languages at my shop, it will show 2 times the number of product , 2 times the number of categories ... Becouse it show all languages in page. So, i change a litle in code to show only 1 languages, around line 80: $products_price_query = tep_db_query("select products_description.products_name, products.products_price, products_to_categories.products_id, products_to_categories.categories_id FROM products, products_description, products_to_categories where products.products_id = products_description.products_id and products.products_id = products_to_categories.products_id and products_to_categories.categories_id = ".$id_group." [b]and products_description.language_id = '4'[/b] order by products_description.products_name asc"); Where "4" is the main languages_id of my shop. But it only show 1 language althougt which langguage the customer chose (every thing else like header, footer, colum... show the right languege had been chosen) . I want to made the priceslist show the right language where it stand ! Fot test, i can put <?php echo $languages_id; ?> somewhere out of the function get_products($id_group) and it return the right id language. But if i replace "4" by $languages_id, it not show any product!! Please help me ! here the code of pricelist.php <?php define('NAVBAR_TITLE', 'Bảng giá'); // This is TITLE Ur price-page define('TAX_INCREASE', 0); // 0 - No increase, 1 - Add 1%, 5 - Add 5%, Any number - add number% require('includes/application_top.php'); // the following cPath references come from application_top.php $category_depth = 'top'; if (isset($cPath) && tep_not_null($cPath)) { $categories_products_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_TO_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'"); $cateqories_products = tep_db_fetch_array($categories_products_query); if ($cateqories_products['total'] > 0) { $category_depth = 'products'; // display products } else { $category_parent_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " where parent_id = '" . (int)$current_category_id . "'"); $category_parent = tep_db_fetch_array($category_parent_query); if ($category_parent['total'] > 0) { $category_depth = 'nested'; // navigate through the categories } else { $category_depth = 'products'; // category has no products, but display the 'no products' message } } } require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT); $breadcrumb->add(TITLE_PRICE, tep_href_link("pricelist.php", '', 'SSL')); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <META http-equiv=Page-exit content=blendTrans(Duration=0.3)> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <?php require(DIR_WS_INCLUDES . 'meta_tags.php'); ?> <title><?php echo META_TAG_TITLE; ?></title> <meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>" /> <meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>" /> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> <!-- --> </style></head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php');?> <!-- header_eof //--> <!-- body //--><?php echo "$languages_id" ?> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="2"> <!--DWLayoutTable--> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"> <table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="0"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td> <td height="51" valign="top"> <table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="pageHeading"><?php echo NAVBAR_TITLE ?></td> </tr> <tr> <td> <?php // groups have products? function check_products($id_group){ $products_price_query = tep_db_query("select products_to_categories.products_id FROM products_to_categories where products_to_categories.categories_id = ".$id_group." LIMIT 0,1"); if($products_price = tep_db_fetch_array($products_price_query)){ return true; } return false; } // list products determined group function get_products($id_group){ global $currencies; $products_price_query = tep_db_query("select products_description.products_name, products.products_price, products_to_categories.products_id, products_to_categories.categories_id FROM products, products_description, products_to_categories where products.products_id = products_description.products_id and products.products_id = products_to_categories.products_id and products_to_categories.categories_id = ".$id_group." and products_description.language_id = '". (int)$HTTP_GET_VARS['languages_id'] ."' order by products_description.products_name asc"); $x=0; while ($products_price = tep_db_fetch_array($products_price_query)){ $cell = tep_get_products_special_price($products_price['products_id']); if($cell == 0) $cell = $products_price['products_price']; if($x==1) { $col = "#F8F8F9"; $x = 0; }else{ $col = "#FFFFFF"; $x++; } print "<tr bgcolor=\"".$col."\"><td class=\"productListing-data\"> <a href=" . tep_href_link(FILENAME_PRODUCT_INFO, "products_id=" . $products_price['products_id']) . ">".$products_price['products_name']."</td><td align=\"right\" class=\"productListing-data\">".$currencies->display_price($cell,TAX_INCREASE)."</td></tr>"; } } // get all groups function get_group($id_parent,$position){ $groups_price_query = tep_db_query("select categories.categories_id, categories_description.categories_name from categories, categories_description where categories.categories_id = categories_description.categories_id and categories.parent_id = ".$id_parent." and categories_description.language_id = '4' order by categories_description.categories_id asc"); while ($groups_price = tep_db_fetch_array($groups_price_query)){ $str = ""; for($i = 0; $i < $position; $i++){ $str = $str . " "; } $class = "productListing-heading"; if($position == 0) { $class = "headerNavigation"; print "<tr><td colspan=\"2\" width=\"1000\" class=\"productListing-data\"> </td></tr>"; // d󮮲? nnd } if(check_products($groups_price['categories_id']) || $position == 0){ print "<tr><td colspan=\"2\" width=\"1000\" class=\"".$class."\"><strong><font color=\"#FFFFFF\">".$str.$groups_price['categories_name']."</font></strong></td></tr>"; get_products($groups_price['categories_id']); } get_group($groups_price['categories_id'],$position+1); // n묤󴵲? ad󤤲 } } ?> <table width="100%" border="0" cellspacing="1" cellpadding="0"> <?php get_group(0,0); ?> </table> </td> </tr> </table></td> <!-- body_text //--> <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="0"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
  18. I have Pagecache of Chemo on my site. And i have multi domain on my site. If i turn off pagecache, everythings work well. But if i turn on pagecache, it will be chache the fisrt domain had access. If the first time i access by domain X, all link folow will base on domain X. So, after that, if i access by domain Y, it will return to the cache file with all links bse on domain X. How to made every cache file for every domain ?! It can help me in SEO !
  19. shpy

    Attribute Qty Product Info

    What's if 1 product have many attributes? May it show all on page ? I sell paint ! 1 product have over 100 attributes (about color). So, may we change the code to : pull down box but when chose 1 attributes, they will show the price (+/- or fix price) and the box to type quantity that customer to buy and show another new line with the drop down box ....
  20. shpy

    [Contribution] Database Manager

    Thank you for reply. That's my fault ! I'm sorry, I did not read carefuly the install.txt . Yes, the whos_online table was not backed up. My site have the html_cace contribution (which add some colums to this table), when restore the database to the new site, the struture of database miss the whos_online table's. And the Admin Acess contribute have that issue too. There is any way for me backup all tables in my database ? (Thanks again for explain why new backup file smaler than the older. Now i understand it)
  21. shpy

    [Contribution] Database Manager

    i found that this backup manager will not backup all tables and all content of these tables ! So, i must found the way to comeback the original backup manager !
  22. I had using the very old version, when they can not work on the transparence image (the transparence gone black)! Now, with 2.4, that problem gone. But, there is a big issuse for me. That is, with the old ver, it made thumb image 1 time only and save in folder images/imagecache. When I browser page, with which image has thumb image, the page with read that thumb image. The src of image like this : images/imagecache/xyaadasda_64x83.jpg But now, althrought the thumb image had been created, when browser page (back, next, refresh ), it alway re makes the image thumb and overwrite in image/ . So, the page with be load very slow (very very slower than the old GD Thumb). And the src of thumb image in this case : /catalog/product_thumb.php?img=images/7in1L.jpg&w=60&h=80 . Server with work so much if alway do like that ! How to fix it ? And where in admin panel to config it ?
  23. shpy

    [Contribution] Database Manager

    Hi, what is difference of original backup and this ?! I mean, the size of the backup files. If use the original, i have a 3MB file. After install, the size is ~2.2MB ! All are in SQL only (not compresed). With the giude of this contribution, i change the Gzip path in admin/includes/applicationtop.php and Backup manager found GZipp function. But it cannt use it. When backup not download and use Gzip, it did not create any file. If Gzip and just download, it load a 611 byte *.gz file. If i don't change Gzipp path, the Gzip function disappeare. How's about that?
  24. I has created two sitemaps for product and FAQdesk reviews. http://www.oscommerce.com/community/contributions,3233
  25. Here is sitemap for FAQ Desk http://www.oscommerce.com/community/contributions,3233 (FAQ seck contribution http://www.oscommerce.com/community/contri...earch,faq+desk) {I 'm becoming a coder !!! :D Before use osCommerce, i don't know anything about code. But when i try to develop my site, i learn very much about php code. It's so great :-D}