The eAuction Support Forums
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl eAuction 1.6.1.x >> Discussion of Functions >> Setting the Deadline: https://www.everyscript.de/cgi-bin/yabb/YaBB.pl?num=1093260745 Message started by test on 08/23/04 at 13:32:24 |
Title: Setting the Deadline: Post by test on 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 |
Title: Re: Setting the Deadline: Post by Forum Admin on 08/23/04 at 15:59:17 Search the script for sub proc_new. Search the sub for this Code:
and add this line: $form{'DAYS'} == 0 && ($form{'DAYS'} = 1); |
Title: Re: Setting the Deadline: Post by test on 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... |
Title: Re: Setting the Deadline: Post by Forum Admin on 08/23/04 at 18:13:41 You are clowning ;) but okey ... Code:
is the right one. P.S.: please change your username |
Title: Re: Setting the Deadline: Post by test on 08/23/04 at 18:34:23 hi i did your code and tried it but it seem to have not changed anything. Can you check my site on www.blitzday.com to see if you have any more ideas in how to solve this? what do you think of your script in my design b.t.w. :-) i will also change my nick ok? |
Title: Re: Setting the Deadline: Post by www.blitzday.com on 08/23/04 at 18:39:19 ignore that last one it works indeed,... sorry only checked the 0 ... in the post... |
Title: Re: Setting the Deadline: Post by www.blitzday.com on 08/24/04 at 22:37:33 Hello, i have a mojor emergency i have more people getting to the site now and unfortunately if they post an item it does not show in the listings. it shows in the category lists on the first page. please check www.blitzday.com but not in the actual content of these item lists. I guess it has to do something with the deadline. It is not working right at all. If i go in their console and change the date (it said i.e. 3 days from their settings and i change it into i.e. 6 or more or less then it will show up....) i really need help who knows what it can be... |
Title: Re: Setting the Deadline: Post by Dieter Werner on 08/25/04 at 12:46:22 Check the value of $config{'time_delay'} |
Title: Re: Setting the Deadline: Post by www.blitzday.com on 08/25/04 at 13:02:45 in all the script the $config{'time_delay'} || 0 is there so on 0. That is right, right? So what else can it be. I have now removed the lines of server time in the post new item as well as the startdate so they see only how many days it should last. see www.blitzday.com but i have the feeling it is still messing up the times in the auction, but i hoped that this would make the auctions appear at least without having to change it manually every time when some one does something weird in the setting up an auction page. Any more suggestions? |
Title: Re: Setting the Deadline: Post by Dieter Werner on 08/25/04 at 13:11:22 Open eConfig161.pl and search the content for $config{'time_delay'} |
Title: Re: Setting the Deadline: Post by www.blitzday.com on 08/25/04 at 13:13:43 is sais: #-############################################# # Config-Section-03 # The Config-Variables of: form_date #-############################################# $config{'continent'} = 1; # 0 = USA 1 = Others $config{'time_delay'} = 0; # time delay (Server/Client) |
Title: Re: Setting the Deadline: Post by Dieter Werner on 08/25/04 at 13:17:35 OK I think it should be $config{'time_delay'} = 8; # time delay (Server/Client) for your server |
Title: Re: Setting the Deadline: Post by www.blitzday.com on 08/25/04 at 21:18:43 wow!! that simple i must be really a dummie, i could have tried that myself!!!! God I really start to adore you!!!! :-) Thank you so very very much... |
Title: Re: Setting the Deadline: Post by www.blitzday.com on 08/26/04 at 19:26:37 please see adult in www.blitzday.com after i made your change it seem to make auctions dissapear, it sais there are items in the category list but we cannot see them in the cat listings. help help help is much appreciated. a reward for the one who fixes this!! |
Title: Re: Setting the Deadline: Post by Dieter Werner on 08/26/04 at 22:30:32 It was simply too late to set the $config{'time_delay'} because the existing items are having the old timestamp now. |
The eAuction Support Forums » Powered by YaBB 2.2! YaBB © 2000-2007. All Rights Reserved. |