Forums Index > Mewsoft > Official Announcements > Auctionawy 11.60 Upgrade. Anti-Snipper (Auto Extend) Feature Added
mewsoft First Post Posted on: 11-21-11 09:37 AM
Auctionawy 11.60 Upgrade. Anti-Snipper (Auto Extend) Feature Added

Dear All,

This new upgrade added the nice feature Auto Extend Auctions Closing Feature. This is an option for the sellers on the Sell page to enable/disable the Auto Extend feature for their item. It also can be enabled/disabled by the seller when editing his items. It can be enabled during inserting items and at any time by the seller as long as the items are still open by editing the item.

The admin center has new 2 options in Admin->General Options, you will find these 2 options after you apply this upgrade:

Auto Extend Auctions Closing Timeout:  Seconds (Extend closing if activity within this last time window)
Auto Extend Auctions Closing By Time:  Seconds (Add this time to auction ending time)

Where you can control this feature.

Of course if you do not want this feature for your site, just remove the html code from the Sell, Preview, EditItem* templates.

You need to apply this upgrade either if you want this feature or not because it contains code changes and sql tables change and will affect all next releases.

How to update
==========

Download the latest version from our website "My Account" using your license number, unzip and only update these files:

Update cgi files
------------------
Configuration.pm
PreviewItem.pm
ManageItem.pm
Admin.pm
ParseItem.pm
Bidding.pm
BiddingLib.pm
Defaults.pm
CreateTables.pm
Sell.pm
SQLlib.pm

Update these language files
----------------------------
Sell.pm
or add these new language varaibles, they exist at the end of the file:
auto_extend_label~==~Auto Extend:
auto_extend_desc~==~Auto Extend feature allows the auction closing to be delayed if there is any last minute bidding or buying activity.

PreviewItem.pm
or add these new language varaibles, they exist at the end of the file:
auto_extend_lable~==~Auto Extend:
auto_extend_enabled~==~Auto Extend Enabled
auto_extend_disabled~==~Auto Extend Disabled

ViewItem.pm
or add these new language varaibles, they exist at the end of the file:
auto_extend_enabled~==~<br><font color="green">Auto Extend Enabled</font>
auto_extend_disabled~==~<br><font color="red">Auto Extend Disabled</font>

Update these templates files
----------------------------
Sell.html

or add this html code anywhere you want in the template, may be after the resubmit row:


Code: HTML
    &lt;tr&gt;<br />      &lt;td class=&quot;TablesC1&quot; valign=&quot;top&quot; nowrap&gt;&lt;b&gt;[[auto_extend_label]]&lt;/b&gt;&lt;/td&gt;<br />      &lt;td class=&quot;TablesC2&quot;&gt;&lt;input type=&quot;checkbox&quot; name=&quot;AutoExtend&quot; value=&quot;1&quot; &lt;!--AutoExtend--&gt;&gt;&lt;br&gt;[[auto_extend_desc]]&lt;/td&gt;<br />    &lt;/tr&gt;

EditItemBided.html
or add the same code as the sell template above

EditItem.html
or add the same code as the sell template above

ViewItem.html, ViewBuyItem.html
you can add this code anywhere you want in this template, prefered besides the end time:


Code: HTML
&lt;!--AutoExtend--&gt;



PreviewItem.html
or add this html code anywhere you want in the template, may be after the resubmit row:


Code: HTML
&lt;tr&gt;&lt;td class=&quot;TablesC1&quot; valign=&quot;top&quot; nowrap&gt;[[auto_extend_lable]]&lt;/td&gt;&lt;td class=&quot;TablesC2&quot;&gt;&lt;!--AutoExtend--&gt;&lt;/td&gt;&lt;/tr&gt;

Update SQL Changes
-------------------------

After you apply this upgrade, go to your admin center, click on Database & SQL Manager, click on SQL Commander, then enter this command in the text box and click run to add the sql table changes:

Alter Table Items Add AutoExtend INT

then go to your Admin->General Options, set these 2 new options:

Auto Extend Auctions Closing Timeout: (set to 120 is good)
Auto Extend Auctions Closing By Time: (set to 120 is good)

Thanks


Mewsoft Support
www.mewsoft.com