Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12172
Latest: LeaMoeller
New This Month: 14
New This Week: 1
New Today: 0
Stats
Total Posts: 39049
Total Topics: 6874
Most Online Today: 59
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 33
Total: 33

Author Topic: Feature Requests for SMF Classifieds 3.0  (Read 25740 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
11478 Views
Last post October 24, 2006, 12:02:36 pm
by SMFHacks
2 Replies
4564 Views
Last post July 06, 2008, 10:28:46 pm
by Skyview
1 Replies
2806 Views
Last post November 14, 2007, 08:58:48 pm
by SMFHacks
3 Replies
4384 Views
Last post March 25, 2009, 06:58:43 pm
by drhamad
0 Replies
3077 Views
Last post May 15, 2009, 05:57:58 am
by Darkshadow

+- Recent Topics

link for users gallery from profile page by SMFHacks
August 20, 2018, 02:40:58 pm

[Mod]Tidy Child Boards 2.0 by SMFHacks
August 20, 2018, 01:32:43 pm

Admin View in Member's Profile of Dates for Accepting of PP and Reg Agreement by SMFHacks
August 18, 2018, 12:03:07 pm

Gallery2 Template Loading Error by SMFHacks
August 18, 2018, 12:02:12 pm

8: Undefined index: description by SMFHacks
August 17, 2018, 01:42:08 pm

It just does not send by SMFHacks
August 16, 2018, 11:03:06 pm

Ad beginning of post by SMFHacks
August 16, 2018, 10:22:58 pm

Agreement Date says NEVER by SMFHacks
August 14, 2018, 04:46:48 pm

HashTags system for SMF 2.0 released by Diego Andrés
August 12, 2018, 02:04:24 pm

Can the Store produce a unique code that you can sell? by SMFHacks
August 11, 2018, 11:43:32 am

Powered by EzPortal