Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4274
Latest: kellanphil
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43645
Total Topics: 7572
Most Online Today: 129
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 88
Total: 88

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

+- Recent Topics

Ability to exclude categories from ezPortal SMF Gallery random image ezblock by Alistair
Today at 08:20:13 am

How to move SMF to new server by SMFHacks
January 21, 2025, 08:45:53 pm

Figuring out settings by SMFHacks
January 12, 2025, 04:56:14 pm

Filesizes incorrect by SMFHacks
January 12, 2025, 02:02:47 pm

December 2024 Sale! by SMFHacks
December 02, 2024, 10:30:38 pm

Denying members some admin settings by rickk
November 17, 2024, 12:02:55 pm

Weird setup by SMFHacks
November 07, 2024, 06:37:41 am

Restoring a deleted photo by Monocero
November 01, 2024, 04:23:56 am

Gallery Pro reinstalation by Lirorobert
October 14, 2024, 01:43:43 am

Move picture from main gallery to user gallery by SMFHacks
October 11, 2024, 09:11:00 pm

Powered by EzPortal