Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

zeberrun

Pioneers
  • Posts

    121
  • Joined

  • Last visited

Everything posted by zeberrun

  1. http://addons.oscommerce.com/info/9286 zip file is damaged, i have /advanced_statistics/general_functions.php on line 47 in order to replace oscommerce 2.3.4 database.php, your new version is better to this version? regards
  2. i mean this is not suitable for amateurs, it does not work in simple upload. this contribution changes links in google not in good way, disappears some google search results of the site. many visitors write sitename to google and click to go to this site. many of the sites are seen in search results with name of the site and 6 links in google. after i have used the contribution none of them are seen. (my english is not very good, i try to explain simple sentences). i have 3 currencies and one language. visitors keep coming with other currencies from google. i changed index title in language file but it did not change in google. (i tried easy meta tag, saw new title the day after). may be this is not suitable for different currency and foreign languages.
  3. hello, oscommerce 2,3,1, one language files english, set to finnish. 3 languages with fr_currencies. unfortunately i must say this contribution does not work amateur manners. uploaded files, closed cache (i did not understand why cache and making big files), changed template_top to kissmt. even inside cache files are not readable. delete the code below (since it is unreadable in source code) for two days, and use it for 5 days with code. /* if ( in_array( strtoupper( CHARSET ), self::$entitites_supported ) ) { if ( false === $decode ) { return htmlentities( trim( $string ), ENT_QUOTES, CHARSET ); } else { return html_entity_decode( trim( $string ), ENT_QUOTES, CHARSET ); } } */ checked important sites source code, non of them has html entities inside. all of them are readable format. end of week 1- my site indexed google in different currencies, some links are usd some links are euro. because i have not language box they can not buy since they see usd. 2- my visitors dropped suddenly. 3- google does not show my site if i search mysite.com or mysite. it was classic format site name and 6 inside department. all of the dissapeared. 4- when change the title, it is not seen in google in search results.
  4. thx for fast reply, 2,3,1, uft-8, utf8_turkish_ci, tr i have searched forums and tested some contributions for meta tags. than used meta tag checkers for control, in easy meta tag, i can see some characters like Ö, Ü correct in meta tag checkers and source code, but with kiss mt, i can see ü something like 1 in meta tag checkers and source code. we have 4-5 characters which are Ö, ö, ü, Ü. They are seen with entity names in source code, rest is correct. we have ş but it is not seen with entity name. normally the code must convert all the characters to html entities? because of you are not online for a period (it has written one of the oldest member that your codes are pure and independent, but offline) i thought i could not find support i can use as written above. anyhow, if i remove html entities i can see correct in source code but i can not see in meta tag checkers. my purpose is remove 11000 repeated links in google indexed (and markes) using currency USD, EUR,TR and good meta tag contribution and do it with good coder. i will use htmlentities for seo purposes.
  5. hope rob come back and answer, since many coders favorite. be able to prevent html entity names written in source code, i remove the htmlentities and decode. what will effect? public static function entities( $string, $decode = false ) { /* if ( in_array( strtoupper( CHARSET ), self::$entitites_supported ) ) { if ( false === $decode ) { return htmlentities( trim( $string ), ENT_QUOTES, CHARSET ); } else { return html_entity_decode( trim( $string ), ENT_QUOTES, CHARSET ); } } */
  6. hello, in check_out payment, if customer has no points than no comment is written, maybe i made a mistake. anyhow, if points sytem and redeem okey, will check customers first buy if not say, you can give points to your friends, if it is not customers first buy, check customers points, write customers point, if it has not any point, writes text_no_ points_yet i did like below but did not work if ((USE_POINTS_SYSTEM == 'true') && (USE_REDEEM_SYSTEM == 'true')) { //echo points_selection(); $cart_show_total= $cart->show_total(); if (tep_not_null(USE_REFERRAL_SYSTEM) && (tep_count_customer_orders() == 0)) { echo referral_input(); } else if ($cart_show_total > 0) { echo points_selection($cart_show_total); } else { echo TEXT_NO_POINTS_YET; } }
  7. hello, i have Invalid multibyte sequence in argument in /home/xxxxxxx/public_html/magaza/includes/modules/kiss_meta_tags/classes/kiss_meta_tags_class.php on line 255 i have set up all the files utf-8 w/out boom, when i open the cache files in cache directory, i see some characters like below. did i make smth wrong. •MnÂ0F¯by=I¡©uWeÓ!õ ­­Äšâ¯Æ3ÖlÄ;nù@Æı/½Â÷É{R2'¬ÌÎÆñy
  8. if danish, turkish character conversion path does not work, in admin/seourl5/ Enter special character conversions. (Better to use the file based character conversions) write convertions here. enable multi lang support false. than works.
  9. hello 2,3,1 UTf-8 the product name is Felix FL 660 Sarto Lux Ceramic Tabanlı Ütü but in the address bar product_info.php/felix-660-sarto-lux-ceramic-tabanl-buharl-p-108780 ths modification is done $pattern = ( defined( 'USU5_REMOVE_ALL_SPEC_CHARS' ) && USU5_REMOVE_ALL_SPEC_CHARS == 'true' ) ? "@[^\sa-z0-9]@i" : "@[!#\$%&'\"()\*\+,\-\./:;<=>\?\@\[\]\^_`\{|\}~]+@";
  10. Hello again I tried to modify but too hard for , meta title is used in all the queries. And production id selected in the beginning. I should compare production id to categories id, take cat name and write thr i an not good as do the i need r help rgds
  11. hello, this contri is very nice for 2,3,1 but how can i add category name and manufacturer name near product_name, regards
  12. hello, i have been using this cont. since first day. i have updated to 2.3.1 just now. the currency.php produces an error. old one <?php /* $Id: currencies.php,v 1.16 2003/06/05 23:16:46 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ //// // Class to handle currencies // TABLES: currencies class currencies { var $currencies; // class constructor function currencies() { $this->currencies = array(); $currencies_query = tep_db_query("select code, title, symbol_left, symbol_right, decimal_point, thousands_point, decimal_places, value from " . TABLE_CURRENCIES); while ($currencies = tep_db_fetch_array($currencies_query)) { $this->currencies[$currencies['code']] = array('title' => $currencies['title'], 'symbol_left' => $currencies['symbol_left'], 'symbol_right' => $currencies['symbol_right'], 'decimal_point' => $currencies['decimal_point'], 'thousands_point' => $currencies['thousands_point'], 'decimal_places' => $currencies['decimal_places'], 'value' => $currencies['value']); } } // class methods function format($number, $calculate_currency_value = true, $currency_type = '', $currency_value = '') { global $currency; if (empty($currency_type)) $currency_type = $currency; if ($calculate_currency_value == true) { $rate = (tep_not_null($currency_value)) ? $currency_value : $this->currencies[$currency_type]['value']; $format_string = $this->currencies[$currency_type]['symbol_left'] . number_format(tep_round($number * $rate, $this->currencies[$currency_type]['decimal_places']), $this->currencies[$currency_type]['decimal_places'], $this->currencies[$currency_type]['decimal_point'], $this->currencies[$currency_type]['thousands_point']) . $this->currencies[$currency_type]['symbol_right']; // if the selected currency is in the european euro-conversion and the default currency is euro, // the currency will displayed in the national currency and euro currency if ( (DEFAULT_CURRENCY == 'EUR') && ($currency_type == 'DEM' || $currency_type == 'BEF' || $currency_type == 'LUF' || $currency_type == 'ESP' || $currency_type == 'FRF' || $currency_type == 'IEP' || $currency_type == 'ITL' || $currency_type == 'NLG' || $currency_type == 'ATS' || $currency_type == 'PTE' || $currency_type == 'FIM' || $currency_type == 'GRD') ) { $format_string .= ' <small>[' . $this->format($number, true, 'EUR') . ']</small>'; } if (DEFAULT_CURRENCY == 'TRL') { $format_string = $this->currencies[$currency_type]['symbol_left'] . number_format(tep_round($number, $this->currencies[$currency_type]['decimal_places']), $this->currencies[$currency_type]['decimal_places'], $this->currencies[$currency_type]['decimal_point'], $this->currencies[$currency_type]['thousands_point']) .' ' . $this->currencies[$currency_type]['symbol_right']; } else { $format_string = $this->currencies[$currency_type]['symbol_left'] . number_format(tep_round($number, $this->currencies[$currency_type]['decimal_places']), $this->currencies[$currency_type]['decimal_places'], $this->currencies[$currency_type]['decimal_point'], $this->currencies[$currency_type]['thousands_point']) . $this->currencies[$currency_type]['symbol_right']; } } return $format_string; } function is_set($code) { if (isset($this->currencies[$code]) && tep_not_null($this->currencies[$code])) { return true; } else { return false; } } function get_value($code) { return $this->currencies[$code]['value']; } function get_decimal_places($code) { return $this->currencies[$code]['decimal_places']; } // Display prices taking into account friendly pricing function display_price($products_price, $products_tax, $currency_id, $quantity = 1) { return $this->format(tep_add_tax($products_price, $products_tax) * $quantity / tep_friendly_pricing($currency_id)); } } ?> new one, <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2008 osCommerce Released under the GNU General Public License */ //// // Class to handle currencies // TABLES: currencies class currencies { var $currencies; // class constructor function currencies() { $this->currencies = array(); $currencies_query = tep_db_query("select code, title, symbol_left, symbol_right, decimal_point, thousands_point, decimal_places, value from " . TABLE_CURRENCIES); while ($currencies = tep_db_fetch_array($currencies_query)) { $this->currencies[$currencies['code']] = array('title' => $currencies['title'], 'symbol_left' => $currencies['symbol_left'], 'symbol_right' => $currencies['symbol_right'], 'decimal_point' => $currencies['decimal_point'], 'thousands_point' => $currencies['thousands_point'], 'decimal_places' => $currencies['decimal_places'], 'value' => $currencies['value']); } } // class methods function format($number, $calculate_currency_value = true, $currency_type = '', $currency_value = '') { global $currency; if (empty($currency_type)) $currency_type = $currency; if ($calculate_currency_value == true) { $rate = (tep_not_null($currency_value)) ? $currency_value : $this->currencies[$currency_type]['value']; $format_string = $this->currencies[$currency_type]['symbol_left'] . number_format(tep_round($number * $rate, $this->currencies[$currency_type]['decimal_places']), $this->currencies[$currency_type]['decimal_places'], $this->currencies[$currency_type]['decimal_point'], $this->currencies[$currency_type]['thousands_point']) . $this->currencies[$currency_type]['symbol_right']; } else { $format_string = $this->currencies[$currency_type]['symbol_left'] . number_format(tep_round($number, $this->currencies[$currency_type]['decimal_places']), $this->currencies[$currency_type]['decimal_places'], $this->currencies[$currency_type]['decimal_point'], $this->currencies[$currency_type]['thousands_point']) . $this->currencies[$currency_type]['symbol_right']; } return $format_string; } function calculate_price($products_price, $products_tax, $quantity = 1) { global $currency; return tep_round(tep_add_tax($products_price, $products_tax), $this->currencies[$currency]['decimal_places']) * $quantity; } function is_set($code) { if (isset($this->currencies[$code]) && tep_not_null($this->currencies[$code])) { return true; } else { return false; } } function get_value($code) { return $this->currencies[$code]['value']; } function get_decimal_places($code) { return $this->currencies[$code]['decimal_places']; } function display_price($products_price, $products_tax, $quantity = 1) { return $this->format($this->calculate_price($products_price, $products_tax, $quantity)); } } ?> how can we adopt?
  13. hello, we still can not see shopping card content, since suhosin is installed. we have been waiting your solution. regards
  14. hi glen, we have been waiting to solve suhosin prob. regards
  15. thanks Glen, i understand, u will make us very happy if u do so, we will be very happy to hear u soon.
  16. will u solve suhosin security problem, we can not see shopping cards, will u find a way?
  17. will u solve suhosin security problem, we can not see shopping cards, will u find a way?
  18. thx for answer, as a beginner i would like to clear a few points in my mind. my english is not very good. 1- standard oscommerce links like www.shop.com/product_info.php?products_id=11292, (maybe mine old version). this is not good for search engine listing. www.shop.com/computers/a4 mouse kit with.html or with some file name will be better for listing. what i can see this link http://mosgifts.com <title>WILDLIFE GIFTS - Mo's Gifts & Things - Clam Shell Light</title> explained in the beginning, -> Added code to have the breadcrumb use the header tags titles. 2- this one is the most uptodate and powerful one and a must? regards
  19. can we say the most important point of this contribution, not product_info.php?products_id=11292 but /computer/a435620 sorry i am new searcher on this subject.
  20. i have been searching for hours but i could not find a plain solution, please help
  21. i want to use 3 types of shipping, one of them must be depend on free shipping over 40$, but the other options must available even this option is free. 50$ ordered customer 1- ups 65$ shipping price 2- medex free shipping (over 40$) 3- zedex 20$ shipping here is my ot_shipping.php i added ($module=regions) && line but this does not work any suggestions? if ( ($pass == true) && ($module=regions) && ( ($order->info['total'] - $order->info['shipping_cost']) >= MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER) ) { $order->info['shipping_method'] = $this->title; $order->info['total'] -= $order->info['shipping_cost']; $order->info['shipping_cost'] = 0;
  22. i am looking for a contribution like this, i have been searching but it is not easy to find which one is suitable, if someone can give me a clue than... 1- calculates the shipping cost as looking for weight, up to 40$ orders. 2- after 40$ orders, no shipping charge. 3- but the total weight exceeds 70 kg, more than 40$, than charges 0,1$ for extra weight. not too much :) regards to community
×
×
  • Create New...