Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4219
Latest: Toddie
New This Month: 2
New This Week: 0
New Today: 0
Stats
Total Posts: 42829
Total Topics: 7462
Most Online Today: 66
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 48
Total: 48

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

0 Members and 1 Guest 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

  • Jr. Member
  • **
  • Posts: 59
    • 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
13918 Views
Last post October 24, 2006, 12:02:36 pm
by SMFHacks
2 Replies
5705 Views
Last post July 06, 2008, 10:28:46 pm
by Skyview
1 Replies
3483 Views
Last post November 14, 2007, 08:58:48 pm
by SMFHacks
3 Replies
5680 Views
Last post March 25, 2009, 06:58:43 pm
by drhamad
0 Replies
3930 Views
Last post May 15, 2009, 05:57:58 am
by Darkshadow

+- Recent Topics

[Mod]GDPR Helper by SMFHacks
Today at 01:50:14 pm

RSS Feed Poster Database Error by SMFHacks
May 22, 2023, 06:26:18 pm

Errors With Older Version. by Ken.
May 09, 2023, 05:35:40 pm

Pretty Urls SEO Pro by SMFHacks
May 06, 2023, 03:30:11 pm

New Post Image Upload Error by Mike66
April 28, 2023, 07:30:28 am

Copyright Removal Key by SMFHacks
April 03, 2023, 02:44:28 pm

Converting from Aeva Media by sudhakar
April 02, 2023, 11:09:54 am

Using SMF's Built-in Search Algorithm by shuban
March 27, 2023, 09:15:10 am

Permissions query by davejo
March 26, 2023, 04:43:48 am

prettyurls - TroubleShooting.wiki by SMFHacks
March 25, 2023, 01:49:35 pm

Powered by EzPortal