Jump to content
Davelaar

auction_free

Recommended Posts

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


I don't understand the most of what I'm reading but I do know how to read and copy/paste

Share this post


Link to post
Share on other sites

@@Davelaar

 

So, which version of Jquery do you have installed. Ensure the line reflects the correct version.

 

 

 

 

Chris


:|: Was this post helpful ? Click the LIKE THIS button :|:

 

See my Profile to learn more about add ons, templates, support plans and custom coding (click here)

Share this post


Link to post
Share on other sites

The version is correct. Can it be that the addon is not compatible?


I don't understand the most of what I'm reading but I do know how to read and copy/paste

Share this post


Link to post
Share on other sites

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

 


I don't understand the most of what I'm reading but I do know how to read and copy/paste

Share this post


Link to post
Share on other sites

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


I don't understand the most of what I'm reading but I do know how to read and copy/paste

Share this post


Link to post
Share on other sites

@@Davelaar

 

I know there is a commercial version of an auction add on available if you google for it.

 

 

 

 

Chris


:|: Was this post helpful ? Click the LIKE THIS button :|:

 

See my Profile to learn more about add ons, templates, support plans and custom coding (click here)

Share this post


Link to post
Share on other sites

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


I don't understand the most of what I'm reading but I do know how to read and copy/paste

Share this post


Link to post
Share on other sites

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?


I don't understand the most of what I'm reading but I do know how to read and copy/paste

Share this post


Link to post
Share on other sites

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?

<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 -->


I don't understand the most of what I'm reading but I do know how to read and copy/paste

Share this post


Link to post
Share on other sites
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;
}


I don't understand the most of what I'm reading but I do know how to read and copy/paste

Share this post


Link to post
Share on other sites

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


I don't understand the most of what I'm reading but I do know how to read and copy/paste

Share this post


Link to post
Share on other sites

still no one who knows what causes the multiplyer?


I don't understand the most of what I'm reading but I do know how to read and copy/paste

Share this post


Link to post
Share on other sites

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?

 

Hi Dave,

 

I just add this addon, and get the same Fatal error: Class 'splitPageResultsAuctions' not found in....../auctions.php on line 48.

How did you solve the problem.

I also has the question about why is the product_info.php not shows the auction stuff.

 

Thanks

Share this post


Link to post
Share on other sites

Hi Dave,

 

I just add this addon, and get the same Fatal error: Class 'splitPageResultsAuctions' not found in....../auctions.php on line 48.

How did you solve the problem.

I also has the question about why is the product_info.php not shows the auction stuff.

 

Thanks

 

Hi all,

The Fatal error has been fix.

I test the addon,

create auction OK

Manager auction OK.

Bid OK.

Time out and auction fail to updated it status to a winner.

unable to check the checkout.

 

Anyone know how the auction system updated the status to a bid winner after auction timeout, so that the winner can checkout the product by the winner bid price.

 

veego

Edited by veego

Share this post


Link to post
Share on other sites

Hi All,

 

No one interesting on Auction?!

 

I solved the auto updated bids status.

Still can't fix the checkout problem! Is there any genius who can give me a help!?

 

veego

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×