The eAuction Support Forums
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl
eAuction 1.6.1.x >> Start Up and more >> Allow more than 14 days?
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl?num=1101766858

Message started by bit on 11/29/04 at 23:20:58

Title: Allow more than 14 days?
Post by bit on 11/29/04 at 23:20:58

Is it possible to allow user to set more than 14 days for aution. For example, 2 months.

Title: Re: Allow more than 14 days?
Post by Dieter Werner on 11/30/04 at 10:15:05


bit wrote:
Is it possible to allow user to set more than 14 days for aution. For example, 2 months.


Go to
sub check_item_data
Goto this line:
 
   oops($txt{'You must enter the number of days your auction should run, from 1 to 14'})
   unless $form{'DAYS'} < 15;

change the text and the condition ...
for instance:  
   oops($txt{'You must enter the number of days your auction should run, from 1 to 30'})
   unless $form{'DAYS'} < 31;

open eConfig161.pl
search the script for:

'You must enter the number of days your auction should run, from 1 to 14'

edit the text and save the script files.




Title: Re: Allow more than 14 days?
Post by lets on 01/25/05 at 06:32:49

DONE! however on the "Post A New Item" form it still says Deadline: (max. Days = 14). it should say 30 days........ and this brings up, is there a way to change any of the other text in the form?? I'd like to change "Start-up" to something else

Title: Re: Allow more than 14 days?
Post by Dieter Werner on 01/25/05 at 15:36:59


lets wrote:
DONE! however on the "Post A New Item" form it still says Deadline: (max. Days = 14). it should say 30 days........ and this brings up, is there a way to change any of the other text in the form?? I'd like to change "Start-up" to something else

No problem ...
change the content of $txt{...} and change the coresponding content in %txt (eConfig161.pl)

Title: Re: Allow more than 14 days?
Post by lets on 01/27/05 at 06:50:05

doesnt seem to work....

on the form for listing a new item is the line;

Deadline:
(max. Days = 14)

I'd like to change it to;

Auction Length
(30 day max.)

line 1663 and 1664 of eauction.pl read;

               <td valign="middle"><b>$txt{'Deadline'}:<br></b>
      <font size="1">($txt{'max. Days = 14'})</b>

if I try changing it to;

               <td valign="middle"><b>$txt{'Auction Length'}:<br></b>
      <font size="1">($txt{'30 day max.'})</b>

where it's suposed to appear on the form is blank

Title: Re: Allow more than 14 days?
Post by Dieter Werner on 01/27/05 at 09:21:06

Change the content of $txt{...}  
(contained in eAuction.pl)
and
change the coresponding content of %txt
(contained in eConfig161.pl)

Title: Re: Allow more than 14 days?
Post by lets on 01/28/05 at 02:26:37

WONDERFUL!!!!!!!!!!! thank you.... one question still though  :)

I changed it to say;

Auction Length:
(max. Days = 30)

but now the Start Time also says (max. Days = 30) ...... any way to make this different? Preferable I"d like to remove this option all together and all auctions would start immediately.

Title: Re: Allow more than 14 days?
Post by Dieter Werner on 01/28/05 at 09:35:23

Days (from now) = 0
means: the auction of the item starts immediately

The eAuction Support Forums » Powered by YaBB 2.2!
YaBB © 2000-2007. All Rights Reserved.