Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12060
Latest: dpalenski
New This Month: 8
New This Week: 2
New Today: 1
Stats
Total Posts: 38559
Total Topics: 6796
Most Online Today: 69
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 45
Total: 46

Author Topic: Feature Requests for SMF Classifieds 3.0  (Read 25405 times)

0 Members and 1 Guest are viewing this topic.

Offline BSD2000

  • Newbie
  • *
  • Posts: 25
  • http://www.VinylAudio.net
    • View Profile
    • VinylAudio.net
Re: Feature Requests for SMF Classifieds 3.0
« Reply #30 on: February 26, 2014, 03:59:21 am »
Made a few changes to my layout:



The layout is now 'responsive' and the main photo disappears when the screen size is less than 1020 pixels, along with font size reductions. I also added a 'Free Shipping' ribbon that overlays the photo if the shipping price is zero.  ;D

Question: How hard would it be to add a bidding system like eBay where the person enters their maximum bid and every time a bid is made, the current highest bidder's bid is compared to the new bid and if it's less, the high bid becomes the new bid; but if it's more, the new bid becomes the highest bid and the current bidder is updated?

I know you store the bids in a table (smf_class_bids) like this:

ID_BID   |ID_MEMBER   |ID_LISTING   |amount   |private_bid   |bid_rejected   |bid_accepted   |date
12114.950011387222157

Would you have to add a column for the current high bid, or would the whole bidding routine need to be changed since you only compare the current bid to last bid? If you store the bidders max bid along with the current bid, you would just need to compare new bids to the current bidders max bid before making the decision if they are the new high bidder, then adjust the new current bid by making it the last bidders max bid - plus the increment.

Then again, maybe the smf_class_bids table is used only for historical purposes; and not used in the bidding algorithm at all?

I'd like to make the changes myself, but I'm not sure I fully understand how you're storing the bids since it looks like the table lists all of the bids ever made on every item - and you're using a MySQL call to sort the results by the item number.   ???

Would it be easier to add a column to smf_class_listing to keep track of the current bidders maximum bid?
« Last Edit: February 26, 2014, 04:27:13 am by BSD2000 »

Offline tank_fv101

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 53
    • View Profile
    • N Gauge Forum
Re: Feature Requests for SMF Classifieds 3.0
« Reply #31 on: February 26, 2014, 11:17:14 am »
Looks great BSD2000.  Very smart!

I'd certainly be interested in the bidding idea that you have.  The nearer to eBay the better, as that is what everyone is used to, and members do get confused when the enter a bid and it jumps up! 

Haven't had time been busy with work.

For that post. Seems like a good idea just depends on what actions to log.

I have the same trouble!  ;)  Updates do seem to be painfully slow though.  The last ones were really well received by my members, but many are still put off of using it - even though I don't charge my members for using it.

For the log, I'd just like to know what had been edited by the user.  This would stop any foul play if something goes wrong in a transaction, then I can see evidence of any changes. ;) :D

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
11296 Views
Last post October 24, 2006, 12:02:36 pm
by SMFHacks
2 Replies
4512 Views
Last post July 06, 2008, 10:28:46 pm
by Skyview
1 Replies
2751 Views
Last post November 14, 2007, 08:58:48 pm
by SMFHacks
3 Replies
4290 Views
Last post March 25, 2009, 06:58:43 pm
by drhamad
0 Replies
3029 Views
Last post May 15, 2009, 05:57:58 am
by Darkshadow

+- Recent Topics

[Theme] Sketchzoo by SMFHacks
February 22, 2018, 07:36:54 pm

Responsiveness SMF Gallery Pro 8 by SMFHacks
February 19, 2018, 11:50:25 am

database error by SMFHacks
February 17, 2018, 08:22:17 pm

SMF Status Update by Raziba
February 17, 2018, 07:32:02 pm

SMF Gallery Pro 8.0 Released! by SMFHacks
February 17, 2018, 06:50:01 pm

Just Paid for Pro...now what do I do? by SMFHacks
February 15, 2018, 03:19:20 pm

Search Feature by shuban
February 14, 2018, 02:23:03 pm

Credits from Referrals? by SMFHacks
February 13, 2018, 09:14:56 am

Uploading Video by TKO-100
February 13, 2018, 05:59:33 am

Pretty URLs issue by juliereader
February 10, 2018, 05:52:48 am

Powered by EzPortal