Jump to content

psylencer

Members
  • Content count

    106
  • Joined

  • Last visited

Everything posted by psylencer

  1. Auctions Contrib has been completely re-developed. Please see here :http://addons.oscommerce.com/info/5890 Auctions 2.1 By Dan Herlihy for OSCommerce Version 2.2rc2a (Should work on previous versions) Credit goes to Celdish, Marcus Design, Azer and The French Autions team. Who have all put a lot of work into this contrib. I'd also like to thank those who tested and reported bugs for the BETA Version of this contribution. Without your help, this would not have been possible. Regards Dan TESTED with PHP V5 Basic Features : Run your own ebay Like auctions from your own website. Admin console to monitor the status of auctions (Auction finished, added to cart, complete). Auto emails sent upon higher bid and finished auction. Finished Auctions automatically added to users shopping cart. Auctions page provides overview of current auctions including number of bidders, starting bid, highest bid, time remaining, etc. Current auctions of which a user has bid on appear in "My Account" (account.php) PHP countdown with autorefresh to update times PHP file for CRON job to automatically process completed auctions, sends notification emails, adds to cart etc. ***Please note, completed auctions are processed in the following ways: • CRON JOB (you must set this up yourself - Google VisualCron (for windows) for more information. This cron job is best run from the server in which your site resides. Ask your system Admin about setting up a "CronJob" to automatically load the aucron2.php file every 3 or so mins. • Customer views their own shopping cart • Anyone views the completed auction page (This page will auto refresh which will also process a completed auction) Installation Notes: This installation requires a basic level of PHP and SQL understanding provided you are installing this on a fresh copy of OSC version 2.2rc2a You can modify the "results per page" for the auctions.php and account.php by changing the value of the $rowsPerPage variable in each page. Please ensure the following files are modified to suit your store. You will need to replace "Yoursitename.com" and "Your Name" with your own details. This (Best done once installation is complete) catalog/includes/modules/auctions_bids.php catalog/shopping_cart.php catalog/product_info.php You must set a cron job to execute aucron2.php file every 3 mins. This file will automatically detect finished auctions and send emails to the winners.
  2. Hi All, Just wanted to offer a sneak peak to those interested of the new Auctions V3 Contribution. I've spent the last 6 months almost completely re-coding this contribution. There were a million problems with the last v2.1 contrib - all are fixed. I've been testing this live over the past few weeks and have fixed all reported problems. New features include: Proxy Bids!!!! Customer Feedback Console Live feedback displayed on auction page including thumbs up, down etc. User bidding History, Finished Auction History Revamped "My account" page with users bidding info; Bid Que Up-Bid Table (Automatic Up-Bid increase) Automatic Out-bid notification Revamped Bid List + Many More. check it out @ crazystu.com.au New release will not be available for some time as I've got to separate the program logic from my page design. Any help with this would be appreciated. Private msg me if interested. Dan
  3. psylencer

    Batch Order Center Update 1.1

    This contrib requires register globals to be "on". Change it and the problem should be fixed. The problem is that with register globals off, the variables are not passed through to the following window correctly, hence the message. Regards Dan
  4. psylencer

    Auctions V2.1 Support Thread

    Matt, heres the solution : in shopping_cart.php you need to do a cart reset. Check the code. If not message me and Ill help you out. mine certainly updates without a problem.
  5. psylencer

    Auctions V2.1 Support Thread

    HI Guys, Im going to begin to re-develop Auction for OSC V3, . Please list new feature requests here. So far on my list is some sort of customer review module Ala Ebay. One problem I've found with this is that customers just don't trust you. I think if we can introduce a seller feedback option, thjis may solve the problem. Dan
  6. I could not get the paypal fee to from the "Paypal Fee" module to pass through to Paypal, and I COULD get the paypal IPN with fee module to pass the fee, however this would not display the fee in order totals, so I combined the two with great results. Simply combine the Paypal_IPN Module with Fee (osCommerce-PayPal_IPN_with_fee) and The "Paypal Fee" modules Install them both, then set the "Fee" under "Payment modules -> Paypal IPN with fee" to 1.0 and the "Fee" under Order_total modules to what ever you like (2.5%) or whatever. Make sure you set the sort order for the Order total paypal fee module to a value just before the "Total" module Ie if Total is set to 5, then set Paypal Fee to 4. Now the fee is displayed correctly in your checkout confirmation page AND it's passed through to paypal. Cheers to those who made the contribs, while none worked well for me, they both work together nicely. Dan
  7. psylencer

    Auctions V2.1 Support Thread

    This problem, apparently occurs because I have not done a mysql_numrows before the offending lines. Basically, the error occurs when there are no results to display. If I could get a dump of the SQL tables related to this, I may be able to diagnose and repair. Cheers everyone for the effort, I'll try and keep a closer eye out for any more questions.
  8. psylencer

    NEW! Complete Order Editing Tool!

    This will fix the problem! In Indvship1.php Find : $shiptotal1 = $cart->get_shiptotal1(); Replace : $currpage =$_SERVER["PHP_SELF"]; if ($currpage <> "/admin/edit_orders.php"){ $shiptotal1 = $cart->get_shiptotal1(); } More of a patch rather than fix, none the less works. Happy days. Dan
  9. psylencer

    Auctions V2.1 Support Thread

    I've done my research. Apparently there are no laws which prevent the sale of new items via auction in Australia. UNLESS you are selling motor vehicles or Real Estate, or prescribed items (mobile phones and second hand goods) Dan
  10. psylencer

    Auctions V2.1 Support Thread

    Just a note to everyone. Our auction site just got pulled because we don't have an auctioneers licence. We'll be looking into this ASAP. Im in Australia by the way. Dan
  11. psylencer

    Auctions V2.1 Support Thread

    Just the new files, the new and modded files are for install to a fresh un modded version of OSC Dan
  12. psylencer

    Auctions V2.1 Support Thread

    Thanks for the feedback. I'll go through them one by one. Currencies? Yes you are correct here. I will make this mod in the next version 2.2 Line 72 is function display_price($products_price, $products_tax, $quantity = 1) { return $this->format($this->calculate_price($products_price, $products_tax, $quantity)); } The missing argument for display price is for TAX. as I did not want tax to be applied or come into play when people are bidding on items, I left out the argumet. This error can be ignored, short of that, I'll have to re-do the function. Line 142 in product_info.php is <html <?php echo HTML_PARAMS; ?>> And line 160 is: 159 if ($casprodid==(int)$HTTP_GET_VARS['products_id']) { 160 header('Refresh: 90');} else { 161 echo '';} I could not reproduce this error on Version 2.2 RC2a. This section of code however is to automatically refresh the page every 90secs. The error displayed is definitely being caused by header tags being sent twice to the page. Any chance you could PM me your product_info.php so I can try to reproduce the error? Regards Dan
  13. psylencer

    Auctions V2.1 Support Thread

    The Beta IS finished . 2.1 is a polished version, sure there is plenty of work to do, however this version is fully functional. I've already got a list of improvements in terms of functionality, Language definition files, streamlining code and very minor bug fixes.
  14. psylencer

    Auctions V2.1 Support Thread

    I would have, however, much of the work was done by previous contributors, and, like I said, Credit. Given the fact that I've requested the BETA version be removed as is no longer necessary. Given the fact, that nobody seems to look at the previous version or respond to any posts and the fact I've posted a notice in the previous version, stating I will not support it, I do not think this will be a problem. If it is, people should learn to read. If they can't, I don't want to support them. Fair enough?
  15. psylencer

    Auctions V2.1 Support Thread

    Before you go and hop on Azers band wagon, have a look at my code, have a look how much SH*T has been removed and added in its place. Doing so was a request from those actively involved in the contrib. This is not simply a 5 second bunch of mods, rather the culmination of ALL previous issues, requested functions etc from the previous contrib. ALL features no one else here could be F**KED completing. Separating the two was not a decision based on removing credit from original authors, rather to limit confusion from those seeking advice or reading now completely obsolete posts on fixes from previous versions. Note to mention the 11 odd pages of advice of which 95% of has been rectified in this contrib. I invite you to go back, have a look at the outstanding issues from the previous thread, issues which you'll find from page 1-11. Now I invite you to go back and find one that hasn't been rectified in this contrib. As for Azers completely STUPID comment about opening a new thread for version 2.2,3 etc. Azer WAKE UP. Having NO ONE to test this contrib bar myself, i did not want an in opperable version to be muddled in amoungst finished versions. HENCE THE WORD B-E-T-A! Meaning (in IT terms) "Testing for BUGS". Shall we just add all the obsolete feedback to the original thread as well? I should point out that separating this contribution was done under advice from people ACTIVELY contributing and submitting feedback on the BETA version, something none of you guys would do. Its taken years for someone to be bothered getting off their ass to develop this contrib into something truely useful. A simple thankyou for all the hard work would suffice. Dan
  16. psylencer

    [Contribution] Auction Module

    Auctions 2.1 Released. This is a final version. Completely re-documented. http://addons.oscommerce.com/info/5890 Thanks everyone for the help. Dan
  17. psylencer

    Auctions 2.0 BETA

    Auctions 2.1 Released. This is a final- tested version. Completely re-documented. Thanks for the help everyone: http://addons.oscommerce.com/info/5890 Dan
  18. psylencer

    Auctions 2.0 BETA

    This is a beta release. I have not tested this on a vanilla install. Any help or feedback from those installing on a vanilla OSC would be greatly appreciated. The purpose of this contribution is to allow one to run their own auctions. Current features include : Ability to run many auctions of one product at a time, "Won Auctions automatically added to shopping cart with "remove" and Qty changing disabled. Email automatically sent to winning bidder, etc etc. Please see the original "Auctions" contribution txts. for a full list of features. 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 This contribution in tested on a heavily modded OSC. I have documented this install for a New installation only (not upgrade), however changes made from Version 1.4.4 have been commented with "Dans Auction Contribution". Saying that 100% credit must go to the original Author Celdish and MarcusDesign. This is simply a few minor fixes and patches to make the contribution functional. Forgive me if I've left some files or Mods out. It is very difficult for me to keep track of all the changes made. No doubt, with some valuable help from the community, we'll be able to get a solid working version of this truly excellent contrib. -Saying that, this is working great on my own site. I hope it works for you guys too. I'll post the link in the following message....
  19. psylencer

    Auctions 2.0 BETA

    One step ahead of you. THis is what I used (I prefer your way though - a lot simpler. I wish I'd remembers the ORDER BY and LIMIT functions before! : select max(ar.bid_price) as bid_price, ar.customers_lastname, ar.customers_firstname,ar.customers_email_address FROM (SELECT ab.customers_id, ab.bid_price, c.customers_lastname, c.customers_firstname,c.customers_email_address FROM auctions_bids ab, customers c WHERE ab.customers_id =c.customers_id and ab.auctions_id =***22*** <-for instance! ) ar Group by bid_price DESC LIMIT 1,1 Auctions 2.0.5 BETA is now released. Y'all may want to hold off though as we now have a Vanilla Site to install, test and document this on (Thanks marcinmf). This means we MAY be very close to a polished release. Fingers crossed I'll have some good news for everyone tomorrow. (It's going to be a late night) Here's the detail on fixes for 2.0.5 • Updated auctions.sql file - please check for changes and perform them! • product_info.php A few changes to the code for sending emails and a few queries, please perform step 1 again. - Fixed higher bid notification bug • New auctions_bids.php file - Fixed Winning email bug -sent to wrong person • New admin/auctions.php file - Plenty of new features here - This is the NEW ADMIN CONSOLE!!!! -Please make sure you've updated your database from the auctions.sql file. Please note this file is for new installs only, If you're upgrading, be sure to check what has changed and manually do so. Changes are documented in the file • New account.php file (STEP 0)- Lets users know whats happening with auctions they've bid on! I've included MY OWN file here. I've changed the file name from account.php to dansaccount.php so you don't copy over your existing file. My Site is heavily modded- I think I've got the changes document here (STEP 0), but just in case - my file is there for your reference - Works for me. • NEW auctionslister.php file. This displays all current auctions. to be copied to your /catalog/ directory. This file is formated for my own site. Mine is heavily modified, if you try to open this on your own site, you may need to modify the file for it work correctly.Still yet to create a link for and document this. It's a similar file to the privacy.php file (Not an include, but full file). • NEW auctions_info.php language file • NEW auctions_bids.php language file • NEW auction.php language file • NEW auctions.php language file • Changes to /catalog/filenames.php (Step 2) •Changes to /admin/filenames.php (Step 8) • auction_terms.php <---Probably doesnt work - Still can't be stuffed doing this- Will probably be last on the list. • auction_info.php <--Not sure if this file is necessary, none the less it was in my catalog directory, so I included it. Dan
  20. psylencer

    Auctions 2.0 BETA

    Hmmm Let me look into it - I understand the problem a bit better now. I'll figure it out - There is another way to do the query which may work better. I'll get back to you tomorrow. Also stay tuned as I've just completed the admin side to this contrib- Give all auction details and payment status similar to ebay. I was going to post this last week, but like I said, I've been busy on other things. D
  21. psylencer

    Auctions 2.0 BETA

    FANTASTIC- Finally, someone is intersted enough to give me something fresh to install this on - we may get out of the Beta versions yet! PM the the details including DB IP, L/P, Site URL, L/P and FTP L/P and I'll get started right away. Sorry I was a bit quiet last week, I was busy working on my Calendar Deals contrib (crazystu.com.au) - This will not be publicly relseased as I don't want every man and his dog doing the same thing. I'll consider private requests. -The best thing? There's next to no PHP modification, simply copy the files, include the calendar and you're done. Dan
  22. psylencer

    Auctions 2.0 BETA

    Not quite sure I understand the problem. To be honest, I have not been able to reproduce the error you describe, however Im not sure I understand exactly what you are saying. As far as I know, "select MAX(ab.bid_price) as bid_price" selects the highest bid only which should have nothing to do with customers_id. None the less, I'd be very interested to see a more solid way to do this. By the way, thanks for the constructive feedback Dan
  23. psylencer

    Auctions 2.0 BETA

    If this is a virgin site, I know it's a big ask, but is there any chance I could install this for you? The whole reason this is a BETA version is because it has not been tested properly on a virgin install. I can't even doucment this correctly because I don't have virgin site to do so on. Not that it means much, but you have my word I will not steal your site or any information within. PM me if interested. By the way, we now have an admin console! Featuring : Checkout status : NA/Added to cart/Complete A paged list of all auctions with highest bidder, highest bid, ammount of bids, starting price, auction status, description, image, auction end date etc. Basically all the information one needs to be able to see the status of their auctions at a glance. I've also polished the "My Account" section with a paged list of all auctions bid on, Recreated an catalog/auctions.php page with most of the information from the admin console. Dan Dan
  24. psylencer

    auction 2.0.2 beta help

    If that is the case, then you have not installed the admin console correctly. There should be an option "Auction Products" under the catalog section of your admin, if not, read the install instructions carefully. The answer lies within. No offence, but these are pretty simple problems you've got and as this is a BETA contrib, I think the level of expertise required to install this is a little over your head. Good luck Dan
  25. psylencer

    Auctions 2.0 BETA

    OK Lets just work through this step by step so I know where the problem lies, If the product is added to the shopping_cart, can you find the product in the customers_basket table? does the customers_basket table contain a column called "auction_product" and "Final_price"? If so, does the "auction_product" field contain the number 1? also does the "final_price" field contain the final auction price? If none of this is true, add some dummy information to these fields - "1" in auction_product and say "99" in final price. Then log in as the winning bidder and have another look at your cart, then tell me what happens.
×