Jump to content

Davelaar

Members
  • Content count

    26
  • Joined

  • Last visited

Everything posted by Davelaar

  1. Davelaar

    auction_free

    Hello, I've installed osc 2.3.3 and installed various contribs. Now yesterday I've installed auction_free for osc 2.3.1 and I have the Idea that there is a compatibility issue with osc. 2.3.1 OR with MTS template system. Of course it's possible that I installed it wrong but after two times installing it the only thing I've found is the next line that differs. Installation instructions ask for the next line: <script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.8.6.min.js"></script> but I have this line: <script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.8.22.min.js"></script> My error on may auctions page on the catalog side is: Fatal error: Class 'splitPageResultsAuctions' not found in....../auctions.php on line 48
  2. Does someone know how to change the default country in the dropdown list to country id 150? Otherwise the contry works great.
  3. Davelaar

    auction_free

    still no one who knows what causes the multiplyer?
  4. Davelaar

    auction_free

    Does someone know how to get current bid price on auctions index instead of the max price. I have added three files that I suppose are important for this.I cannot upload any js file so please refer to the js above auctions.php auctions_api.php
  5. Davelaar

    auction_free

    function validNumeric(inputtext) { var text = inputtext.value; var Char; var newtext = ''; var newtext1 = ''; var newtext2 = ''; var j =0; var i; var is_decimal = false; for (i = 0; i < text.length ; i++) { Char = text.charAt(i); if( (Char != '0') || (newtext.length >0) ) { if((! isNaN(Char) && Char != ' ') || (Char == '.')) { newtext += Char; } } } for (i = (newtext.length -1) ; i >=0; i--) { Char = newtext.charAt(i); if( Char != '.' || ((Char == '.') && (is_decimal == false) && (newtext1.length > 0)) ) { newtext1 = Char + newtext1; if(Char == '.') is_decimal = true; } } var begin = newtext1.length -1 ; var varend = ''; var k = newtext1.indexOf('.'); if(k != -1) { for(i = k;i < newtext.length;i++) varend += newtext1.charAt(i); begin = k-1; } j = 0; for(i = begin ;i>=0;i--) { Char = newtext1.charAt(i); newtext2 = Char + newtext2; j++; if((j==3) && (i>0)) { newtext2 = newtext2 + newtext2; j = 0; } } if(newtext2.length == 0) newtext2 = '0'; newtext2 += varend; inputtext.value = newtext2; }
  6. Davelaar

    auction_free

    <script type="text/javascript"> function post_bibs(){ var max_price = 99999999999999999; $('#msg_error').hide(); $('#msg_success').hide(); var price_bib = $('#bid_price').val(); var auction_id = $('#auction_id').val(); if(parseInt(price_bib)>max_price){ return false; } if(price_bib>0){ $('#auction_bid_waitting').show(); $.post('http://www.davelaarscooters.nl/auctions_api.php', {p_auctions_id: auction_id, p_price_bib: price_bib}, function(data) { switch(data.flag_return.code) { case 1: $('#msg_success').html(data.flag_return.message); $('#msg_success').show(); $('span#show_total_bids').html(data.data_renew.bids); $('span#price_curent_bid').html(data.data_renew.price_show); $('#bidder').html(data.data_renew.customers_firstname); $('span#price_greater').html(data.data_renew.min_next_price_show); break; case 2: $('#msg_success').html(data.flag_return.message); $('#msg_success').show(); break; default: $('#msg_error').html(data.flag_return.message); $('#msg_error').show(); }; var $container = $("#tbody_list_bids"); $container.load('http://www.davelaarscooters.nl/auctions_get_list_bids.php?aID=29'); $('#auction_bid_waitting').hide(); }, "json"); } } function change_page_bid(auction_id, page){ $.get('http://www.davelaarscooters.nl/auctions_get_list_bids.php',{page: page, aID: auction_id}, function(data) { $('#tbody_list_bids').html(data); },"html"); } function change_page(page, div_id){ $('#'+div_id).html('<img src="images/auctions/opc-ajax-loader.gif" border="0"/>'); $.post('http://www.davelaarscooters.nl/auctions_get_auctions_api.php',{p_page: page, p_div_id: div_id}, function(data) { $('#'+div_id).html(data.flag_return.message); }, "json"); } $(function() { $( "#tabs" ).tabs({ ajaxOptions: { error: function( xhr, status, index, anchor ) { $( anchor.hash ).html( "Couldn't load this tab. We'll try to fix this as soon as possible. " + "If this wouldn't be a demo." ); } } }); }); </script> <!-- EOF: Auction css and js -->
  7. Davelaar

    auction_free

    Well, with very much thanks to multimixer I've got it working :D . But when I put an value in the Bid price it co'pies the last three digit and adds that to the bid. By example: I want to bid €1400 but when I click on "BID" it bids €1400400. What can be the cause of that?
  8. Davelaar

    auction_free

    I was searching for that, but the seller doesn't respond to any of the emails I send. Don't hate it to pay for an add-on but I do want the support then. This Add-on should be a demo version of the Add-On
  9. Davelaar

    auction_free

    Is there anyone who knows of a auction contribution that works with osc 2.3.3?
  10. Davelaar

    auction_free

    Here is the complete contri attached. I've changed the referral from jquery and no difference. The contri was designed for 2.3.1. I thougt it should be working though I really can't find why I get this error. Fatal error: Class 'splitPageResultsAuctions' not found in /home/davelaarscooters.nl/public_html/davelaar/auctions.php on line 48
  11. Davelaar

    auction_free

    The version is correct. Can it be that the addon is not compatible?
  12. I think I found minor bug. Password reset doesn't work. I think pages are not available
  13. Sorry for al the questions. I understand your very busy. Thanks for the patience and have a nice day. I think I can sort it out now.
  14. Still one question left, on the mobile version there is the box with currencies and languages. Is there a way to disable this without removing the link for the complete version?
  15. Aha, well now it also changes the looks a bit. Sorry to bother you this much, I now how to read and change line, but don't understand the most of what I read in php. Now I'm going to edit the design and check for functionality. I hope I don't have to come back here for this thing... By the way, Is there a layout scheme for IOSC, what says wich value to change or just sort it out? Are there any templates available?
  16. Well I've put back the old database now and run the query again, just because I thougt I saw an error. Wel I run the query again and there was indeed an error:SQL-query: INSERT INTO `configuration` ( `configuration_id` , `configuration_title` , `configuration_key` , `configuration_value` , `configuration_description` , `configuration_group_id` , `sort_order` , `last_modified` , `date_added` , `use_function` , `set_function` ) VALUES ( NULL , 'Mobile Image Width', 'MOBILE_IMAGE_WIDTH', '80', 'The pixel width of mobile images', '6128', '2', NULL , '', NULL , NULL ); MySQL retourneerde: #1048 - Column 'set_function' cannot be null
  17. Ok after installing seo urls it works now, thnks so far. But in the instructions from the installation you are talking about this: in: Admin/Configuration/Mobile Site ***adjust the image size you wish for the product images shown in mobile_catalogue.php (mobile/includes/modules/product.php), mobile_product_info.php, mobile_also_purchased_products.php here: Mobile Image Width Mobile Image Height ***Adjust the max. product name length you wish for mobile catalogue.php here: define ('MOBILE_PRODUCT_NAME_LENGTH', 55); ***If you wish to show todays date in the mobile-footer, set it here to true: define ('FOOTER_DATE_ENABLED', false); define ('FOOTER_SITE_STATS_ENABLED', false); ***If you wish to show the stats of your shop in the mobile-footer, set it here to true: ***Adjust the advanced mobile search options to your need: Note: If you set all advanced mobile search options to 'false', the button in 'search.php' which links to the advanced search page will not be shown, and the redirect link from the advanced search page of the 'classic' site will redirect to 'mobile_search.php' instead of 'mobile_advanced_search.php'. Note: Ajax is not working in this iosc version, leave the setting in "false" I don't have any configuration options in admin/configuration/mobile site just true or false for mobile site on or off. I have this message with all of my products: Warning: substr()expects parameter 3 to be long, string give in ...../mobile/includes/modules/products.php on line 36. In my mobile_catalogue there is no define ('MOBILE_PRODUCT_NAME_LENGTH', 55); anywhere
  18. I'll give it a shot, thanks in advance
  19. function redirect() { global $mobile_site; if(isset($mobile_site)) { $path = explode("/" ,$mobile_site); $file = $path[sizeof($path)-1]; } else { $path = explode("/" , $_SERVER['SCRIPT_NAME']); $filename = $path[sizeof($path)-1]; $file = $this->mobileDir . $filename; } $qstring = $_SERVER['QUERY_STRING']; $SSL = ($_SERVER['HTTPS']) ? "SSL" : "NONSSL"; tep_redirect(tep_href_link($file, $qstring, $SSL, false, false)); } } It looks he same, the url of my website is www.davelaarscooters.nl I turned the mobile site function of since its not working now. I also noticed there are no cinfiguration options in my admin see attachment
  20. Ok, I've changed this and now I got a 404 error on index.php. When I directly go ta a product page i get: Warning: substr()expects parameter 3 to be long, string give in ...../mobile/includes/modules/products.php on line 36
  21. Hello, I'm trying to install iosc for osc 2.3.3. I still get the following error even after disabling my output_buffering and checking al the modified files for empty rules: Deprecated: Function split() is deprecated in .../mobile/includes/classes/mobile_redirect.php on line 43 Warning: Cannot modify header_information - headers already sent by (output started at .../includes/functions/general.php on line 49
  22. I've put this script on my website to create a feed for Leguide.com. It works well, but the special prices are displayed without tax. The normal prices are displayed including tax. How can I change this. I've put the code here. I'm using OSC 2.3.3 I've also put the whole .php script as an attachment. // Détection des discount price. $special_query = tep_db_query ('SELECT specials_new_products_price FROM ' . TABLE_SPECIALS . ' WHERE products_id = \'' . $products['products_id'] . '\' AND status = \'1\' ;') ; if (!$special_result = tep_db_fetch_array ($special_query)) $special_result['specials_new_products_price'] = '' ; // Calcul des prix. $regular_price = tep_add_tax ($products['products_price'], tep_get_tax_rate ($products['products_tax_class_id'])) ; $regular_price = round ($regular_price, 2) ; if ($special_result['specials_new_products_price'] == '' ) { $discount_price = '' ; $sales = 0 ; } else { //Le produit est en promotion. $discount_price = round ($special_result['specials_new_products_price'], 2) ; $sales = 0 ; //Si les promotions sont des soldes, modifiez cette valeur par 1 pour la 1ère démarque, 2 pour la 2ème démarque.
  23. Write /home/davelaarscooters.nl/public_html/davelaar/sitemapproducts.xmlGenerated Google Product Sitemap Successfully Write /home/davelaarscooters.nl/public_html/davelaar/sitemapcategories.xmlGenerated Google Category Sitemap Successfully Write /home/davelaarscooters.nl/public_html/davelaar/sitemapmanufacturers.xmlGenerated Google Manufacturers Sitemap Successfully Write /home/davelaarscooters.nl/public_html/davelaar/sitemapspecials.xmlGenerated Google Specials Sitemap Successfully ERROR: Google Pages Sitemap Generation FAILED! Write /home/davelaarscooters.nl/public_html/davelaar/sitemapindex.xmlGenerated Google Sitemap Index Successfully Array ( [QUERY] => Array ( [PRODUCTS] => Array ( [sTATUS] => success [NUM_ROWS] => 123 ) [CATEOGRY] => Array ( [sTATUS] => success [NUM_ROWS] => 35 ) [MANUFACTURERS] => Array ( [sTATUS] => success [NUM_ROWS] => 24 ) [sPECIALS] => Array ( [sTATUS] => success [NUM_ROWS] => 11 ) ) [sAVE_FILE_XML] => Array ( [0] => Array ( [file] => /home/davelaarscooters.nl/public_html/davelaar/sitemapproducts.xml [status] => success [file_exists] => true ) [1] => Array ( [file] => /home/davelaarscooters.nl/public_html/davelaar/sitemapcategories.xml [status] => success [file_exists] => true ) [2] => Array ( [file] => /home/davelaarscooters.nl/public_html/davelaar/sitemapmanufacturers.xml [status] => success [file_exists] => true ) [3] => Array ( [file] => /home/davelaarscooters.nl/public_html/davelaar/sitemapspecials.xml [status] => success [file_exists] => true ) [4] => Array ( [file] => /home/davelaarscooters.nl/public_html/davelaar/sitemapindex.xml [status] => success [file_exists] => true ) ) ) My sitemaps work most of it excluding the "pages". What can be the problem?
  24. and my includes/configure.php <?php define('HTTP_SERVER', 'http://www.davelaarscooters.nl'); define('HTTPS_SERVER', 'http://www.davelaarscooters.nl'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', '127.0.0.1'); define('DB_SERVER_USERNAME', '*****'); define('DB_SERVER_PASSWORD', '*****''); define('DB_DATABASE', '*****''); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?>
×