Jump to content

PiBo

Members
  • Content count

    6
  • Joined

  • Last visited

1 Follower

Profile Information

Recent Profile Visitors

2,914 profile views
  1. PiBo

    OSCOMMERCE IN AJAX

    hi steve, thk to sharing :thumbsup: where the includes/ javascript file ? sound.js, dragdrop.js, builder.js, sliders.js, controls.js (...) what the utilities of files ? where can i download it ?
  2. PiBo

    auctionTastic

    If you make take advantage and open oscAuction.php classes change /** * includes/boxes/categories.php * * @param mixed $info_box_contents */ function categoriesAdd(&$info_box_contents){ $info_box_contents[] = array('text' => '<a href="'.tep_href_link(FILENAME_AUCTIONS).'" >' . AUCTIONS_AUCTION_PRODUCTS . '</a>'); return $info_box_contents; } To /** * includes/boxes/categories.php * * @param mixed $info_box_contents */ function categoriesAdd(&$info_box_contents){ //if ($this->count_available_auctions) $auctions_count = 0; $auctions_query = tep_db_query("SELECT COUNT(auctions_id) as total FROM " . TABLE_AUCTIONS . " WHERE status = '1' and expires_date > '" . date("Y-m-d H:i:s") . "'"); $auctions = tep_db_fetch_array($auctions_query); $auctions_count += $auctions['total']; $info_box_contents[] = array('text' => '<a href="'.tep_href_link(FILENAME_AUCTIONS).'" >' . AUCTIONS_AUCTION_PRODUCTS . '</a>' .' ('. $auctions_count . ')'); return $info_box_contents; } You will find a fine counter in you categories menu... Take more advantage if you check some date("Y-M-d ... To date("Y-m-d in sql request example.. ;) ALL RESOLV ARE FOR ms2.2/rc2.2a +++++++++++++++++++++++++++++++ ;)
  3. PiBo

    auctionTastic

    Hi ldon, I read the post from start bis end (...) Hummm first u are right ldon but FWmedia work too much but we remerciate alls for this work, thank u buddy. so ldon, go and catalog/includes/classes/shopping_cart.php find, line approximativ 271->285 // BOF AUCTIONS if( isset($this->contents[$products_id]['auction_id']) && $this->contents[$products_id]['auction_id'] > '0' ){ $this->total += $currencies->calculate_price($this->contents[$products_id]['auction_price'], $products_tax, '1'); } // EOF AUCTIONS $specials_query = tep_db_query("select specials_new_products_price from " . TABLE_SPECIALS . " where products_id = '" . (int)$prid . "' and status = '1'"); if (tep_db_num_rows ($specials_query)) { $specials = tep_db_fetch_array($specials_query); $products_price = $specials['specials_new_products_price']; } $this->total += $currencies->calculate_price($products_price, $products_tax, $qty); $this->weight += ($qty * $products_weight); } and replace with : // BOF AUCTIONS if( isset($this->contents[$products_id]['auction_id']) && $this->contents[$products_id]['auction_id'] > '0' ){ $this->total += $currencies->calculate_price($this->contents[$products_id]['auction_price'], $products_tax, '1'); $this->weight += ($qty * $products_weight); }else{ $specials_query = tep_db_query("select specials_new_products_price from " . TABLE_SPECIALS . " where products_id = '" . (int)$prid . "' and status = '1'"); if (tep_db_num_rows ($specials_query)) { $specials = tep_db_fetch_array($specials_query); $products_price = $specials['specials_new_products_price']; } $this->total += $currencies->calculate_price($products_price, $products_tax, $qty); $this->weight += ($qty * $products_weight); } // EOF AUCTIONS And THE FIRST BIG BUGS FROM THIS CONTRIB WERE RESOLV....YOU MIND ? in PHP (+=) + (+=) = ++==
  4. Hi, nice work ! Thank u Can u help me, when i load the page i become a php error : I work under: oscommerce-2.2rc2a, OSX 10.3.9, php 5.1.6, apache 2, gd xbm tested, i use ttf fonts. I search over urand(), $angle and more but found nothing. php on line 48 [10-Feb-2010 00:40:01] PHP Notice: Undefined variable: rangeList in /Library/WebServer/oscommerce-2.2rc2a/catalog/includes/functions/account_validation.php on line 49 [10-Feb-2010 00:40:01] PHP Notice: Undefined offset: 6 in /Library/WebServer/oscommerce-2.2rc2a/catalog/includes/functions/account_validation.php on line 50 [10-Feb-2010 00:40:01] PHP Notice: Undefined variable: rangeList in /Library/WebServer/oscommerce-2.2rc2a/catalog/includes/functions/account_validation.php on line 48 [10-Feb-2010 00:40:01] PHP Notice: Undefined variable: rangeList in /Library/WebServer/oscommerce-2.2rc2a/catalog/includes/functions/account_validation.php on line 49 [10-Feb-2010 00:40:01] PHP Notice: Undefined offset: 14 in /Library/WebServer/oscommerce-2.2rc2a/catalog/includes/functions/account_validation.php on line 50 [10-Feb-2010 00:40:01] PHP Notice: Undefined variable: rangeList in /Library/WebServer/oscommerce-2.2rc2a/catalog/includes/functions/account_validation.php on line 48 [10-Feb-2010 00:40:01] PHP Notice: Undefined variable: rangeList in /Library/WebServer/oscommerce-2.2rc2a/catalog/includes/functions/account_validation.php on line 49 [10-Feb-2010 00:40:01] PHP Notice: Undefined offset: 7 in /Library/WebServer/oscommerce-2.2rc2a/catalog/includes/functions/account_validation.php on line 50 [10-Feb-2010 00:40:01] PHP Notice: Undefined variable: rangeList in /Library/WebServer/oscommerce-2.2rc2a/catalog/includes/functions/account_validation.php on line 48 [10-Feb-2010 00:40:01] PHP Notice: Undefined variable: rangeList in /Library/WebServer/oscommerce-2.2rc2a/catalog/includes/functions/account_validation.php on line 49 [10-Feb-2010 00:40:01] PHP Notice: Undefined variable: rangeList in /Library/WebServer/oscommerce-2.2rc2a/catalog/includes/functions/account_validation.php on line 48 [10-Feb-2010 00:40:01] PHP Notice: Undefined variable: rangeList in /Library/WebServer/oscommerce-2.2rc2a/catalog/includes/functions/account_validation.php on line 49 [10-Feb-2010 00:40:01] PHP Notice: Undefined variable: rangeList in /Library/WebServer/oscommerce-2.2rc2a/catalog/includes/functions/account_validation.php on line 48 [10-Feb-2010 00:40:01] PHP Notice: Undefined variable: rangeList in /Library/WebServer/oscommerce-2.2rc2a/catalog/includes/functions/account_validation.php on line 49 [10-Feb-2010 00:40:01] PHP Notice: Undefined offset: 17 in /Library/WebServer/oscommerce-2.2rc2a/catalog/includes/functions/account_validation.php on line 50 [10-Feb-2010 00:40:01] PHP Notice: Undefined variable: rangeList in /Library/WebServer/oscommerce-2.2rc2a/catalog/includes/functions/account_validation.php on line 48 [10-Feb-2010 00:40:01] PHP Notice: Undefined variable: rangeList in /Library/WebServer/oscommerce-2.2rc2a/catalog/includes/functions/account_validation.php on line 49 [10-Feb-2010 00:40:01] PHP Notice: Undefined variable: rangeList in /Library/WebServer/oscommerce-2.2rc2a/catalog/includes/functions/account_validation.php on line 48 [10-Feb-2010 00:40:01] PHP Notice: Undefined variable: rangeList in /Library/WebServer/oscommerce-2.2rc2a/catalog/includes/functions/account_validation.php on line 49 [10-Feb-2010 00:40:01] PHP Notice: Undefined offset: 8 in /Library/WebServer/oscommerce-2.2rc2a/catalog/includes/functions/account_validation.php on line 50 [10-Feb-2010 00:40:01] PHP Notice: Undefined variable: rangeList in /Library/WebServer/oscommerce-2.2rc2a/catalog/includes/functions/account_validation.php on line 48 [10-Feb-2010 00:40:01] PHP Notice: Undefined variable: rangeList in /Library/WebServer/oscommerce-2.2rc2a/catalog/includes/functions/account_validation.php on line 49 [10-Feb-2010 00:40:01] PHP Notice: Undefined offset: 18 in /Library/WebServer/oscommerce-2.2rc2a/catalog/includes/functions/account_validation.php on line 50 [10-Feb-2010 00:40:01] PHP Notice: Undefined variable: rangeList in /Library/WebServer/oscommerce-2.2rc2a/catalog/includes/functions/account_validation.php on line 48 [10-Feb-2010 00:40:01] PHP Notice: Undefined variable: rangeList in /Library/WebServer/oscommerce-2.2rc2a/catalog/includes/functions/account_validation.php on line 49 [10-Feb-2010 00:40:01] PHP Notice: Undefined offset: 13 in /Library/WebServer/oscommerce-2.2rc2a/catalog/includes/functions/account_validation.php on line 50 Thank u
×