Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

zeberrun

Pioneers
  • Posts

    121
  • Joined

  • Last visited

Profile Information

  • Real Name
    merjan

zeberrun's Achievements

  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
×
×
  • Create New...