Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 230
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 228
Total: 228

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

0 Members and 2 Guests are viewing this topic.

Offline BSD2000

  • Member
  • *
  • 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

  • Community Suite Customer
  • Jr. Member
  • ******
  • Posts: 77
    • 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
14912 Views
Last post October 24, 2006, 12:02:36 pm
by SMFHacks
2 Replies
6387 Views
Last post July 06, 2008, 10:28:46 pm
by Skyview
1 Replies
4128 Views
Last post November 14, 2007, 08:58:48 pm
by SMFHacks
3 Replies
6441 Views
Last post March 25, 2009, 06:58:43 pm
by drhamad
0 Replies
4590 Views
Last post May 15, 2009, 05:57:58 am
by Darkshadow

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal