eAuction
  Not just another Perl script
Google
Welcome, Guest. Please Login or Register


If you use eAuction a lot and like it or if you make money from eAuction or from eAuction-related activities ...
then the project asks you for a donation in favor of the further development.



The forums are protected by
AccessControl
(written by Dieter Werner)
Click here if you want to check your IP against the most important RBLs of the net.
Click here in order to visite the AccessControl forums.


<< Visit the international e Auction Marketplace >>
Buy and sell PC and Consumer Electronic components






  HomeHelpSearchLoginRegister
 



Pages: 1 2 3 ... 5
Setting the Deadline: (Read 1005 times)
www.blitzday.com
eAuction User
**
Offline

I love the script
and hate it if it
does not work

Posts: 60

Setting the Deadline:
08/23/04 at 13:32:24
 
Hello ALL,

I have a few people actually bidding and selling on mysite. Though i see that people leave the deadline on default 0 what happens is then that the auction closes right away.... and i have to go in their console and try to repost their item while i adjust this deadline. can we mod this in such wat that there is at least always a 1 instead on a zero? of even better get rid of this function and let is start straight away. also i have my server time on 04.35 when it is 12.35 here in the screens next to it. can you help me or anyone with these 2 questions.

freddy
Back to top
 
 


Advertising
View Profile   IP Logged
Dieter Werner
Administrator
*****
Online

Dipl. Paranoiac ®

Posts: 1162
Germany
Gender: male
Re: Setting the Deadline:
Reply #1 - 08/23/04 at 15:59:17
 
Search the script for sub proc_new.
Search the sub for this
Code:
$close_time = get_the_time(
	  $form{'DAYS'},
	  $form{'HOUR'},
	  $form{'MIN'},
	  $form{'SEC'}
); # Servertime



and add this line:
       $form{'DAYS'} == 0 && ($form{'DAYS'} = 1);
Back to top
 
 

Multimedia file viewing and clickable links are available for registered members only!!  You need to Login or Register!!


Greetings from Germany
Dieter Werner




Advertising
View Profile | WWW   IP Logged
www.blitzday.com
eAuction User
**
Offline

I love the script
and hate it if it
does not work

Posts: 60

Re: Setting the Deadline:
Reply #2 - 08/23/04 at 17:30:33
 
like:

   $close_time = get_the_time(
       $form{'DAYS'},
       $form{'HOUR'},
       $form{'MIN'},
       $form{'SEC'},
       $form{'DAYS'} == 0 && ($form{'DAYS'} = 1);
   ); # Servertime

Like:

   $close_time = get_the_time(
       $form{'HOUR'},
       $form{'MIN'},
       $form{'SEC'},
       $form{'DAYS'} == 0 && ($form{'DAYS'} = 1);
   ); # Servertime

or any ohter way?

or like this maybe?

   $close_time = get_the_time(
       $form{'DAYS'},
       $form{'HOUR'},
       $form{'MIN'},
       $form{'SEC'}
   ); # Servertime

       $form{'DAYS'} == 0 && ($form{'DAYS'} = 1);

or different? sorry but ye s i am a dummy...
Back to top
 
 


Advertising
View Profile   IP Logged
Pages: 1 2 3 ... 5


If you like eAuction, please Rate it.
If you don't like eAuction, please Rate it too.


1 is being poor and 10 is being excellent


EveryScript

ip-location


AccessControl - Members Only