Contributions
Auctions
This script is not entirely finished. We have some bugs here and there pluss it does need some modifications to be e perfect script.
What does it do:
- Place items out for auction from admin panel
(you can chose item, time for auction, price etc.)
- customer can place bids (must log in)
( you have a own sections for all the auctions you have on you site)
This script is excellent for you pleople who are just selling 1x of a items or want to get some more action on you website. Good luck, and I hope this can end up beeing a much better script then what it is now.
CHECK WWW.BELTESPENNER.COM for live working script!
Expand All / Collapse All
Please see this link http://addons.oscommerce.com/info/5890 for the current contribution. I will not support this contrib (Version 1.X) any more as much of the content is obsolete.
All support for the new contrib is now at
http://forums.oscommerce.com/index.php?showtopic=300066
Full credit goes to the original authors.
Guys, this is the last time ill be posting to this contrib. Any further mods will be posted to "Auctions 2.0 BETA" Untill its final release.
New features/Bug Fixes
2.0.4 BETA
_______________________________________________
A few mods done, here ; first of all, (Step 1) the code on product_info.php and auctions_bids.php has been changed; The higher bid notification now works well
Basically what was happening before is that all bidders under a higher bid were being notified of a higher bid, now only the second highest bidder
i notified.
I've also changed some code in relation to the emails that are sent out, making them more informative and content rich.
Again a language file could help here, but I can't be stuffed
STEP 6a)
The second (Thanks to JSR for pointing out this contribution by Joma Webdesign) Users who are trying to bid who have not yet logged in are now redirected to the auction page
after log in. Special thanks to Joma Webdesign. <--this contrib has been slightly modified to be compatible with this contrib. - This mod only applies to the
logoff.php file. PLEASE NOTE - This mod will have no effect on the rest of your store (unlike the original "Login and Return to same page" which does not work with this contrib
and affects all pages on your site)
Again missing a file, this time
admin/datetimepicker.js
Hopefull this is all Im missing, sucks not having anything to test this on
Complete pack
Again the last contrib was missing some files, Please upload the javascript directory (and all its files) to admin/includes
Sorry guys, I must have used the old admin/auctions.php file in the last few contribs.
The correct file is in this update.
(complete package)
Last contrib was missing setup.php
Install file also modified.
Thanks to MartinWenn for the headsup
Auction 2.0 Beta
===============
New features/Bug Fixes
_____________
- PHP Countdown with auto-refresh
- "Won" auctions automatically added to shopping cart
- Countdown to any time and date you wish (instead of 12:00)
- Auction price now displays highest bid instead of starting price
- You can no longer bid lower than starting price
- You can no longer bid less than current bid +overbid ammount
____________________________________
Known bugs
-Possible multiple "higher bid" notification emails sent to everyone with lower bids when higher bid entered
-"higher bid" notification emails are converted into SMTP Logs on some email servers <--This does not affect winning bid emails
-Poor use of language definitions
-Old obsolete code to be deleted
-Terms and conditions link does not work
********************IMPORTANT NOTICE************************
This is a beta release for testing purpose. This is not a final release and as such all care should be taken to
back up existing databse and all files BEFORE adding this contribution.
BUGS????
Please report any bugs to the forum http://forums.oscommerce.com/index.php?showtopic=297607
the previous code has been cleaned by the community add-on comment textarea and slash have been removed, so i enclosed the file with the right code
i got a parse error with previsou correction i think it shoud be better this way:
function tep_end_auction_valid() {
$auction_cfg_end_query = mysql_fetch_object(tep_db_query('select configuration_value from ' . TABLE_CONFIGURATION . ' where configuration_key = 'AUCTION_END_OPTIONS''));
if ($auction_cfg_end_query->configuration_value == 1) {
$auction_cfg_end = '<table><tr><td class="main">' . MESSAGE_AUCTION_OVER . '</td></tr></table>';
}
return $auction_cfg_end;
}
This is just an update to the installation-file, no new files uploaded.
The last time I forgot to insert the function tep_end_auction_valid() to the installation file at catalog/includes/function/general.php
Insert the following code just before ?>
function tep_end_auction_valid() {
$auction_cfg_end_query = mysql_fetch_object(tep_db_query('select configuration_value from ' . TABLE_CONFIGURATION . ' where configuration_key = 'AUCTION_END_OPTIONS''));
if ($auction_cfg_end_query->configuration_value == 1) {
$auction_cfg_end = '<table><tr><td class="main">' . MESSAGE_AUCTION_OVER . '</td></tr></table>';
}
return $auction_cfg_end;
}
Corrected the 'Agree with Terms' checkbox so it's really required to bid...
Full package, but only modules/auction_bids.php has changed...
Within the countdown script there is a function called start(). This function doesn't work within Internet Explorer and therefore I've changed it to init()
Only one file has changed (catalog/includes/modules/auction_bids.php) so no full package here. Just a txt-file with the changed section.
- implemented my easier countdown solution, explaned in the support thread of this contribution.
- removed the unused function tep_date_count_down from general.php
changed files:
catalogincludesmodulesauction_bids.php
catalogincludesfunctionsgeneral.php
FULL PACKAGE
I am getting this error when the Bid ends
CODE
Fatal error: Call to undefined function: tep_end_auction_valid() in public_html/includes/modules/auction_bids.php on line 49
Download the fix here.
Added some new language parts due to the countdown script from Wolfey
FULL PACKAGE
Ignore previous one please. This sets countdown to normal values, for me.
Count down did not correctly calculate time left before auction expires. Minor patch, not full package
Just added auction_terms to the right place in /catalog.
Please try to keep full packages!
I forgot to put the file within the zip which contains the license agreement.
This is not a full package, just upload aution_terms.php to catalog/
Merge Must Agree to Terms, originally created by Marcel van Lieshout (http://www.oscommerce.com/community/contributions,1341).
- Added 'I agree with the terms' checkbox. No one can bid without checking the box first.
- Adds a link to auction_terms.php (similar to conditions.php).
Complete package
This version just adds a configuration menu for the auctions module and it also adds the ability for you to configure how you want your auctions to end. Still plenty of bugs but we'll get them all sooner or later.
Sorry,
Made a mistake with some language files. Fixed it and inserted the right ones.
- Added 4 extra languages (dutch, espanol, french and german)
- Added 'Bid Date Added' to includes/modules/auction_bids.php
- Added bid_date_added table in mysql
- Added Customers ID instead of Customers name showing in products_info.php after a customer has bidden, due to privacy policy of the customers
Reorganised catalog files in folder NEW_FILES and folder CHANGED_FILES
Complete package, all credit goes to celdish
- Added 4 extra languages (dutch, espanol, french and german)
- Added 'Bid Date Added' to includes/modules/auction_bids.php
- Added bid_date_added table in mysql
Reorganised catalog files in folder NEW_FILES and folder CHANGED_FILES
Just did a brush over and corrected 2 small things.
1/ Missing file - causes error in admin/auctions.php so removed the require(FILE) instead of adding the file
2/ Added 2 missing pics
Support for this contribution can be found on the forums at http://forums.oscommerce.com/index.php?showtopic=235920
If you have any questions/problems, go there first.
THIS IS A BLANK DOWNLOAD
This script is not entirely finished. We have some bugs here and there pluss it does need some modifications to be e perfect script.
What does it do:
- Place items out for auction from admin panel
(you can chose item, time for auction, price etc.)
- customer can place bids (must log in)
( you have a own sections for all the auctions you have on you site)
This script is excellent for you pleople who are just selling 1x of a items or want to get some more action on you website. Good luck, and I hope this can end up beeing a much better script then what it is now.
CHECK WWW.BELTESPENNER.COM for live working script!
Note: Contributions are used at own risk.