Jump to content

pure11

Members
  • Content count

    119
  • Joined

  • Last visited

Everything posted by pure11

  1. ah great! was looking for this! thanks allot
  2. pure11

    CSS Menu

    nevermind i found a fix!! wmode='transparent' width='425' height='355' add this to your flash code and menu will load on top!
  3. pure11

    CSS Menu

    i have a flash swf file on the left side and the menu on the right, so the menu branches off to load more categories , but since i added this flash image on the right, the menu loads UNDER the flash image, is there any way for me to make the menu load on TOP of anything and everything? thanks
  4. hi i dont know what made this problem my members are selecting priority shipping from shipping method (i have 4 they can pick from which are express shipping, priority shipping, parcel shipping and international shipping) my members are selecting priority shipping or parcel shipping and click to go to the next page and then the shipping that is actually selected is Express shipping no matter what. i dont know why the system is selecting express shipping when the member selected a different shipping method? what could be wrong? thanks
  5. Hi all, im using the Free Shipping w/ minimum amount module located here: http://addons.oscommerce.com/info/146 under my google checkout button it displays: Error: Shipping Methods not configured freeamount (ignored) how do i configure this into google checkout so that this error message doest display? thanks!
  6. pure11

    free shipping

    i need this too! its displaying: Error: Shipping Methods not configured freeamount (ignored) under my google checkout
  7. pure11

    USPS Module Help Please!

    ^^^ DISREGARD! I entered the wrong username and password thats why i got that error!!! :blush: all working now thanks allot everyone for all your help!
  8. pure11

    USPS Module Help Please!

    oh i had not read the previous posts , stupid of me! i had to do the upgrade in my database. i did that , and new usps info shows in admin side, but in user side when going to checkout i get this error: An error occured with the USPS shipping calculations. If you prefer to use USPS as your shipping method, please contact the store owner.
  9. pure11

    USPS Module Help Please!

    hi i dont know what made this problem my members are selecting priority shipping from shipping method (i have 4 they can pick from which are express shipping, priority shipping, parcel shipping and international shipping) my members are selecting priority shipping or parcel shipping and click to go to the next page and then the shipping that is actually selected is Express shipping no matter what. i dont know why the system is selecting express shipping when the member selected a different shipping method? what could be wrong? thanks
  10. to run a sql query login your WHM panel (control panel) for your domain account through your hosting provider, and click on mysql, then click on myphpadmin then click on the database for your store, then click on SQL QUERY and paste the query it tells you to run there then click run and thats it but first BACKUP your database.. you can do that in the same place, after clicking on myphpadmin, click on your store database link on the left, then click EXPORT link on the top right, then scroll to the bottom (dont make any changes) just click on SAVE FILE checkbox and then click backup database, the backup of that database will be saved to your computer desktop
  11. hi, sometime ago i saw a contribution that if you had installed your store in sub directory, it made it load in the root i cant find it now, can someone please help me find this? thanks
  12. pure11

    Feedmachine

    hi , i went to sumit the text file to google and it told me: These characters are not allowed: /, : here is my file: http://pureg.net/shop/fm-feeds/google-product-search.txt
  13. pure11

    [Contribution] SEO-G

    thanks again! it was another contrib i had installed called all products you were right and i needed to define the info in the english.php file thanks so much!
  14. pure11

    CSS Menu

    nevermind it was not seo g causing the problem
  15. pure11

    [Contribution] SEO-G

    looks like i had this installed: osCommerce Search Engine Otimized URL's i removed the edits .. still had to turn cache off for this to work, but now everything works fine! only problem i get this under the menu: BOX_INFORMATION_ALLPRODS BOX_SPECIALS_ALLPRODS BOX_WHATSNEW_ALLPRODS with links to the pages, do you know how i can fix this in any way ? thank you so much for your help
  16. pure11

    [Contribution] SEO-G

    oh no im mistaken, i have installed Ultimate SEO URLs - by Chemo my url_Rewrite.php file reads the following: <?php /* By Daniel Kerr, Created 06/07/05, Released under the GNU General Public License */ /* Updated by Daniel S. Friehe 2007-06-06 * Corrected and improved European-2-ASCII chars conversion * Focus on german umlauts ('ß'=>'ss', 'ü'=>'ue') -- Updated by Brian Burton 2005-11-08 *Fixed security hole that would allow mysql injection attacks *If cPath isn't in the URL, all of the product's categories' names will be added to the URL anyway */ class url_rewrite { // Prepares URL characters function prepare_url($url) { // Convert special characters from European countries into the English alphabetic equivalent // Improved by Daniel S. Friehe $transforms = array('À'=>'A','Á'=>'A','Â'=>'A','Ã'=>'A','Ä'=>'Ae','Å'=>'A','Ç'=>'C','È'=>'E','É'=>'E','Ê'=>'E','Ë'=>'E','Ì'=>'I', 'Í'=>'I','Î'=>'I','Ï'=>'I','Ñ'=>'N','Ò'=>'O','Ó'=>'O','Ô'=>'O','Õ'=>'O','Ö'=>'Oe','Ø'=>'O','Ù'=>'U','Ú'=>'U', 'Û'=>'U','Ü'=>'Ue','Ý'=>'Y','à'=>'a','á'=>'a','â'=>'a','ã'=>'a','ä'=>'ae','å'=>'a','ç'=>'c','è'=>'e','é'=>'e', 'ê'=>'e','ë'=>'e','ì'=>'i','í'=>'i','î'=>'i','ï'=>'i','ñ'=>'n','ò'=>'o','ó'=>'o','ô'=>'o','õ'=>'o','ö'=>'oe', 'ø'=>'o','ù'=>'u','ú'=>'u','û'=>'u','ü'=>'ue','ý'=>'y','ÿ'=>'y','ß'=>'ss'); $url = strtr($url, $transforms); // Remove all non alphabetic and numeric charaters $url = str_replace(' ', '-', ereg_replace('[^[:space:]a-zA-Z0-9_-]', '', $url)); // Remove double '-' while (strstr($url, '--')) $url = str_replace('--', '-', $url); return $url; } // Select which pages to use SEO URLs on function pages($page) { $page_array = array(FILENAME_DEFAULT, FILENAME_PRODUCT_INFO); return in_array($page, $page_array); } // Transform the URLs function transform_url($url) { global $languages_id; // Split the URL parts into an array $url_parts = parse_url($url); // Exit if the URL is not specified in the pages function if ((strpos($url, 'action')) || (!$this->pages(current($url_array = explode('/', trim(ltrim($url_parts['path'], DIR_WS_HTTP_CATALOG), '/')))))) return $url; // Remove the page name from the URL array array_shift ($url_array); // Empty the path for stores with there error reporting set to ALL $url_parts['path'] = rtrim(DIR_WS_HTTP_CATALOG, '/'); // Start the transformation for ($i = 0; $i < sizeof($url_array); $i++) { switch ($url_array[$i]) { case 'cPath': $i++; $category_array = explode('_', $url_array[$i]); foreach ($category_array as $categories_id) { $category_query = tep_db_query("select distinct c.categories_id, cd.categories_name from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = '" . (int)$categories_id . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "'"); $category_name = tep_db_fetch_array($category_query); $url_parts['path'] .= '/' . $this->prepare_url($category_name['categories_name']); } break; case 'products_id': $i++; //ADD CATEGORY NAME MODIFICATION - BB 2005-11-08 //If cPath isn't in the URL, category names aren't added to the URL //This fixes that if (strpos($url, 'cPath') === false) { $cat_array = array(); $cat_query = tep_db_query("SELECT cd.categories_name as name, c.parent_id FROM categories c LEFT JOIN categories_description cd ON (c.categories_id = cd.categories_id) LEFT JOIN products_to_categories p2c ON (p2c.categories_id = c.categories_id) WHERE p2c.products_id = '" . (int)$url_array[$i] . "' AND p2c.categories_id = c.categories_id AND cd.language_id = '" . (int)$languages_id . "'"); $cat_val = tep_db_fetch_array($cat_query); $cat_array[] = $cat_val['name']; //If this category has a parent, get the name if (is_numeric($cat_val['parent_id']) && $cat_val['parent_id'] != '0') { $parent_id = $cat_val['parent_id']; while ($parent_id != '0') { $cat_query = tep_db_query("SELECT cd.categories_name as name, c.parent_id FROM categories c LEFT JOIN categories_description cd ON (c.categories_id = cd.categories_id) WHERE cd.categories_id = '" . (int)$parent_id . "' AND cd.language_id = '" . (int)$languages_id . "'"); $cat_val = tep_db_fetch_array($cat_query); $cat_array[] = $cat_val['name']; $parent_id = $cat_val['parent_id']; } } //Reverse array order $cat_array = array_reverse($cat_array); for ($x = 0; $x <= sizeof($cat_array); $x++) { $url_parts['path'] .= '/' . $this->prepare_url($cat_array[$x]); } } //END MODIFICATION - BB $product_query = tep_db_query("select distinct products_name from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . (int)$url_array[$i] . "' and language_id = '" . (int)$languages_id . "'"); $product_name = tep_db_fetch_array($product_query); $url_parts['path'] .= (substr($url_parts['path'], -1) == '/' ? '' : '/') . $this->prepare_url($product_name['products_name']); break; case 'manufacturers_id': $i++; $manufacturer_query = tep_db_query("select distinct manufacturers_name from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . (int)$url_array[$i] . "'"); $manufacturer_name = tep_db_fetch_array($manufacturer_query); $url_parts['path'] .= '/' . $this->prepare_url($manufacturer_name['manufacturers_name']); break; default: $url_parts['path'] .= '/' . $url_array[$i]; break; } } // Return the converted URL return $url_parts['scheme'] . '://' . $url_parts['host'] . $url_parts['path'] . '.html'; } // Changes the names of URL's into intergers function encrypt_url($url) { return sprintf('%u', crc32($this->prepare_url(strtolower($url)))); } function request_url() { global $HTTP_GET_VARS; // Cache error messsage if (USE_CACHE <> true) exit ('Use cache needs to be set to \'true\' and the cache directory needs to be writable to use SEO URLs'); // Search Engine Friendly URLs error messsage if (SEARCH_ENGINE_FRIENDLY_URLS <> true) exit ('SEF URLs needs to be set to \'true\' to use SEO URL\'s'); // Force cookie error message if (SESSION_FORCE_COOKIE_USE <> true) exit ('Force cookie use needs to be set to \'true\' and cookie domain needs to be setup in config file to use SEO URLs'); // Exit if not being called from the SEO pages or contains 'action' if ((!$this->pages(basename($_SERVER['PHP_SELF']))) || ($_SERVER['REQUEST_URI'] == '/') || (strpos($_SERVER['REQUEST_URI'], '.php'))) return; // Put the request URL into an array $url = str_replace('.html', '', getenv('REQUEST_URI')); $request_url_array = explode('/', trim($url, '/')); // Get the cached URLs array $url_array = $this->cache_url(); $new_url_arr = $url_array; for ($i = 0; $i < sizeof($request_url_array); $i++) { switch ($request_url_array[$i]) { case 'sort': $i++; $HTTP_GET_VARS['sort'] .= $request_url_array[$i]; break; case 'page': $i++; $HTTP_GET_VARS['page'] .= $request_url_array[$i]; break; case 'language': $i++; $HTTP_GET_VARS['language'] .= $request_url_array[$i]; break; default: $rodic = $url_array[$this->encrypt_url($request_url_array[$i])]['pvalue']; if (isset($HTTP_GET_VARS['cPath'])) $modetests = $HTTP_GET_VARS['cPath'].$this->encrypt_url($request_url_array[$i]); else $modetests = $this->encrypt_url($request_url_array[$i]); if ($url_array[$modetests]['key'] == 'categories_id') { if (!isset($HTTP_GET_VARS['cPath'])) { $HTTP_GET_VARS['cPath'] = $url_array[$this->encrypt_url($request_url_array[$i])]['value']; $rodic = $url_array[$this->encrypt_url($request_url_array[$i])]['value']; } else { $HTTP_GET_VARS['cPath'] .= '_' . $url_array[$modetests]['value']; } } else { $modetests = $rodic.$this->encrypt_url($request_url_array[$i]); $HTTP_GET_VARS[$url_array[$modetests]['key']] .= $url_array[$modetests]['value']; } break; } } } // Caches the URLs into a file called url.cache that should be in the cache directory function cache_url() { global $refresh; // Read cache is part of the built in OSC cache fucntion if (($refresh == true) || !read_cache($url_array, 'url.cache')) { // Adds the categories to the URL array // query enhanced for parent value for each produkt $categories_query = tep_db_query("select ".TABLE_CATEGORIES_DESCRIPTION.".categories_id as categories_id, ".TABLE_CATEGORIES_DESCRIPTION.".categories_name as categories_name, " . TABLE_CATEGORIES . ".parent_id as parent_id from " . TABLE_CATEGORIES_DESCRIPTION . " left join " . TABLE_CATEGORIES ." on (" . TABLE_CATEGORIES .".categories_id = " . TABLE_CATEGORIES_DESCRIPTION .".categories_id)"); while ($categories = tep_db_fetch_array($categories_query)) { $prvok = $this->encrypt_url($categories['categories_name']); if ($categories['parent_id'] != 0) $url_array[$categories['parent_id'].$prvok] = array('key' => 'categories_id', 'value' => $categories['categories_id'], 'pkey'=> 'parent_id', 'pvalue' => $categories['parent_id']); else $url_array[$prvok] = array('key' => 'categories_id', 'value' => $categories['categories_id'], 'pkey'=> 'parent_id', 'pvalue' => $categories['parent_id']); } // Adds the manufacturers to the URL array $manufacturers_query = tep_db_query("select manufacturers_id, manufacturers_name from " . TABLE_MANUFACTURERS); while ($manufacturers = tep_db_fetch_array($manufacturers_query)) { $url_array[$this->encrypt_url($manufacturers['manufacturers_name'])] = array('key' => 'manufacturers_id', 'value' => $manufacturers['manufacturers_id']); } // Adds the products to the URL array $products_query = tep_db_query("select products_id, products_name from " . TABLE_PRODUCTS_DESCRIPTION); while ($products = tep_db_fetch_array($products_query)) { $url_array[$this->encrypt_url($products['products_name'])] = array('key' => 'products_id', 'value' => $products['products_id']); } // Write cache is part of the built in OSC cache fucntion write_cache($url_array, 'url.cache'); } return $url_array; } } ?>
  17. pure11

    [Contribution] SEO-G

    hi there, i just isntalled this: http://addons.oscommerce.com/info/4589 the CSS MENU and now all my links when clicked on the menu, load to a page with this error: Fatal error: Call to undefined function: read_cache() in /home/puregnet/public_html/shop/includes/classes/url_rewrite.php on line 215 (had to disable cache for the menu to work) does anyone know what i can do to make this contribution work with SEOG? thank you
  18. pure11

    CSS Menu

    same problem i have SEO installed , i had to turn cache off just to the the menu to work and show up and now turning the cache off the menu displays correctly BUT when clicking on any of the links on the menu i get this error: Fatal error: Call to undefined function: read_cache() in /home/puregnet/public_html/shop/includes/classes/url_rewrite.php on line 215 i am sure it is because i have SEO G installed... any help ?
  19. great addon! will this work with http://addons.oscommerce.com/info/1611 More pics 6 v1.3b (clean & beauty) 31 March 1007 thank you!
  20. pure11

    coolMenu

    Hi , thank you for trying to help me, here is my css file /* $Id: stylesheet.css,v 1.56 2003/06/30 20:04:02 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions [url=http://www.oscommerce.com]http://www.oscommerce.com[/url] Copyright © 2003 osCommerce Released under the GNU General Public License */ .boxText { font-family: Verdana, Arial, sans-serif; font-size: 12px; } .errorBox { font-family : Verdana, Arial, sans-serif; font-size : 10px; background: #ffb3b5; font-weight: bold; } .stockWarning { font-family : Verdana, Arial, sans-serif; font-size : 10px; color: #cc0033; } .productsNotifications { background: #689A5F; color: #000000; font-weight: bold; } .orderEdit { font-family : Verdana, Arial, sans-serif; font-size : 10px; color: #70d250; text-decoration: underline; } BODY { text-align: center; color: #ffffff; /* change background: #000000; to the color of your choice*/ background: #99CCFF; margin: 0; } #cwdusacontainer { width: 97%; border: 0px solid #916714;/*border can be removed for a borderless page*/ background: #000000; color: #ffffff; margin: 10px auto 10px auto;/*this codeing is margin top 10px,right auto, bottom 10px and left 10px. Don't change the auto*/ text-align: left; } A { font-size: 12px; color: #99CCFF; font-weight : bold; text-decoration: none; } A:hover { font-size: 12px; color: #ffffff; font-weight : bold; text-decoration: underline; } FORM { display: inline; } TR.header { background: #000000; } TR.headerNavigation { background: #660000; } TD.headerNavigation { font-family: Verdana, Arial, sans-serif; font-size: 10px; background: #660000; color: #ffffff; font-weight : bold; } A.headerNavigation { color: #99CCFF; } A.headerNavigation:hover { color: #ffffff; } TR.headerError { background: #ff0000; } TD.headerError { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; background: #ff0000; color: #ffffff; font-weight : bold; text-align : center; } TR.headerInfo { background: #660000; } TD.headerInfo { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; background: #660000; color: #000000; font-weight: bold; text-align: center; } TR.footer { background: #660000; } TD.footer { font-family: Verdana, Arial, sans-serif; font-size: 10px; background: #660000; color: #660000; font-weight: bold; } .infoBox { background: #660000; } .infoBoxContents { background: #333333; background-repeat: repeat; background-position: top left; color: #689A5F; font-weight: bold; font-family: Verdana, Arial, sans-serif; font-size: 10px; } .infoBoxNotice { background: #333333; } .infoBoxNoticeContents { background: #FFE6E6; font-family: Verdana, Arial, sans-serif; font-size: 10px; } TD.infoBoxHeading { font-family: Verdana, Arial, sans-serif; font-size: 10px; font-weight: bold; background: #660000; color: #ffffff; } TD.infoBox, SPAN.infoBox { font-family: Verdana, Arial, sans-serif; font-size: 10px; } TR.accountHistory-odd, TR.addressBook-odd, TR.alsoPurchased-odd, TR.payment-odd, TR.productListing-odd, TR.productReviews-odd, TR.upcomingProducts-odd, TR.shippingOptions-odd { background: #333333; color: #689A5F; font-weight: bold; } TR.accountHistory-even, TR.addressBook-even, TR.alsoPurchased-even, TR.payment-even, TR.productListing-even, TR.productReviews-even, TR.upcomingProducts-even, TR.shippingOptions-even { background: #333333; color: #689A5F; font-weight: bold; } TABLE.productListing { border: 1px; border-style: solid; border-color: #333333; border-spacing: 1px; } .productListing-heading { font-family: Verdana, Arial, sans-serif; font-size: 11px; background: #99CCFF; color: #000000; font-weight: bold; } TD.productListing-data { font-family: Verdana, Arial, sans-serif; font-size: 10px; background: #333333; color: #ffffff; } A.pageResults { color: #0000FF; } A.pageResults:hover { color: #0000FF; background: #FFFF33; } TD.pageHeading, DIV.pageHeading { font-family: Verdana, Arial, sans-serif; font-size: 20px; font-weight: bold; color: #9a9a9a; } TR.subBar { background: #689A5F; } TD.subBar { font-family: Verdana, Arial, sans-serif; font-size: 11px; color: #333333; } TD.main, P.main { font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.5; } TD.smallText, SPAN.smallText, P.smallText { font-family: Verdana, Arial, sans-serif; font-size: 11px; } TD.accountCategory { font-family: Verdana, Arial, sans-serif; font-size: 13px; color: #B50C0C; } TD.fieldKey { font-family: Verdana, Arial, sans-serif; font-size: 12px; font-weight: bold; } TD.fieldValue { font-family: Verdana, Arial, sans-serif; font-size: 12px; } TD.tableHeading { font-family: Verdana, Arial, sans-serif; font-size: 12px; font-weight: bold; } SPAN.newItemInCart { font-family: Verdana, Arial, sans-serif; font-size: 12px; color: #689A5F; } CHECKBOX, INPUT, RADIO, SELECT { font-family: Verdana, Arial, sans-serif; font-size: 12px; } TEXTAREA { width: 100%; font-family: Verdana, Arial, sans-serif; font-size: 12px; } SPAN.greetUser { font-family: Verdana, Arial, sans-serif; font-size: 12px; color: #689A5F; font-weight: bold; } TABLE.formArea { background: #f1f9fe; border-color: #7b9ebd; border-style: solid; border-width: 2px; } TD.formAreaTitle { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; font-weight: bold; } SPAN.markProductOutOfStock { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; color: #c76170; font-weight: bold; } SPAN.productSpecialPrice { font-family: Verdana, Arial, sans-serif; color: #ff0000; } SPAN.errorText { font-family: Verdana, Arial, sans-serif; color: #ff0000; } .moduleRow { } .moduleRowOver { background-color: #689A5F; cursor: pointer; cursor: hand; } .moduleRowSelected { background-color: #689A5F; } .checkoutBarFrom, .checkoutBarTo { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #689A5F; } .checkoutBarCurrent { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #83847E; } .checkoutsuccess { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #689A5F; } /* message box */ .messageBox { font-family: Verdana, Arial, sans-serif; font-size: 10px; } .messageStackError, .messageStackWarning { font-family: Verdana, Arial, sans-serif; font-size: 10px; background-color: #ffb3b5; } .messageStackSuccess { font-family: Verdana, Arial, sans-serif; font-size: 10px; background-color: #99ff00; } /* input requirement */ .inputRequirement { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #ff0000; }
  21. pure11

    CSS Menu

    can someone please please please help me i really would love to use this menu, please!
  22. pure11

    CSS Menu

    hi, i have http://addons.oscommerce.com/info/4910 fixed width my css with this edit has this info in it: i installed this today, but the menu is showing at the very top of the page, see picture how do i fix this problem ? thank you :thumbsup:
  23. pure11

    coolMenu

    hi, see picture, why is it doing this and how can i fix please? :'( i have latest oscommerce installed and i overwrote the box file with the included file and did all edits on all catalogue files thank you
  24. pure11

    Easy Meta tags

    yes it really is a great contribution, thank you so much, really helped with all my pages. What i did was include the modified link you provided in the index.php page and over that, i placed a meta tag description and keywords. i know there will be 2 of those, but the first one is what the search engines read , do you know if this is true? thanks again
  25. pure11

    Easy Meta tags

    for the other pages , it works great! just for the main index it shows it like that which isnt very usefull, but for the rest of the other pages its perfect addon thanks
×