making a make an offer mod

Discussion in 'Modding/Theme Help' started by hungryfrank, Jun 8, 2021.

  1. hungryfrank

    hungryfrank New Member

    Joined:
    May 25, 2021
    Messages:
    28
    Likes Received:
    9
    I am trying to make a submit an offer mod and have progressed quite a bit.

    sellier
    can put an option for make an offer.
    can set auto reject and auto accept
    can make a counter offer
    can view and reply to offers

    buyer
    buyer can make an offer
    can view, reply and make a counter offer.

    admin
    can set up fee
    admin can disable enable the mod


    questions
    should it be only on dutch auctions?
    should the seller and buyer receive email?
    what happens when the offer accepted?
    any thing else that I want to consider?
     
  2. hungryfrank

    hungryfrank New Member

    Joined:
    May 25, 2021
    Messages:
    28
    Likes Received:
    9
    I need a little input here.
    what should happen when someone accepts an offer?
    right now I use the buy now page with a little modification.
    would that be ok. I mean when an offer is accepted it will be treated just like a buy now?
     
  3. hungryfrank

    hungryfrank New Member

    Joined:
    May 25, 2021
    Messages:
    28
    Likes Received:
    9
    ok I am almost ready.
    almost everything is done.
    how do I share it??
    it should be ready in a couple of days and beta testing would be appreciated
     
  4. Nootkan

    Nootkan New Member

    Joined:
    Sep 7, 2018
    Messages:
    27
    Likes Received:
    0
    I imagine you just post a link to it here. It seems no one visits here anymore including the main developer and moderator. Shame really I like the way the auction script works and it would be nice to see the new version made stable.
     
  5. hungryfrank

    hungryfrank New Member

    Joined:
    May 25, 2021
    Messages:
    28
    Likes Received:
    9
    https://github.com/hungryfrankie/webid_offer

    I posted my work here. it is only for debugging now.
    I have to fix the install instruction so it reflects correct line numbers. I am making a few changes at the same time so
    if you want to try and help debug it I will appreciate
    not on your live website for sure
    1.2.2.2
    test site
    I will cleanup as soon as I get a chance.
    what it dose
    admin
    can set fee
    allow or not allow
    allow for one type of auction or both.
    seller
    can add it to their auction
    can set auto reject and accept price
    can view their received offer and accept decline or counter offer
    fees I hope they get calculated correctly
    buyer
    can send an offer and counter offer
    can reject accept or counter offer on the counter offer they receive
     
  6. hungryfrank

    hungryfrank New Member

    Joined:
    May 25, 2021
    Messages:
    28
    Likes Received:
    9
    before u start make sure 1.2.2. at least allow you to register and add products.
    if u have issues with that I have found three little issues that might cause a problem, image not showing up
    not registering and a warninng about b.id.
     
  7. hungryfrank

    hungryfrank New Member

    Joined:
    May 25, 2021
    Messages:
    28
    Likes Received:
    9
    I have a problem with fee being calculated I will look into it must have missed a step
     
  8. hungryfrank

    hungryfrank New Member

    Joined:
    May 25, 2021
    Messages:
    28
    Likes Received:
    9
    fees are fixed need to cleanup which I hate.
    I think the logic is correct and working
     
  9. hungryfrank

    hungryfrank New Member

    Joined:
    May 25, 2021
    Messages:
    28
    Likes Received:
    9
    https://github.com/hungryfrankie/webminauction.
    here I have a 1.2.2 with make offer module included and a couple of issues resolved.
    with this mode
    admin
    enable/disable the mod
    sets fee
    can edit auction with the make offer mode
    seller can allow make offer
    can set automatic reject and accept offers
    can view sent and recived offers
    can accept reject or make a counter offer
    buyer can make offer when allowed
    view his sent offers and received offer/counter offers
    can accept reject or make a counter offer

    please test and help out so I can make the store mode.
    only modern and admin modern files are made and edited
     
    Nootkan likes this.
  10. Nootkan

    Nootkan New Member

    Joined:
    Sep 7, 2018
    Messages:
    27
    Likes Received:
    0
    Wish I could but I haven't been able to get 1.2.2 to work at all. Only using 1.2.1.
     
  11. hungryfrank

    hungryfrank New Member

    Joined:
    May 25, 2021
    Messages:
    28
    Likes Received:
    9
    I have a complete 1..2.2 with installation adjusted for a fresh install not an upgrade.
    you can just download and install it.
    it seems to work at least for testing make an offer
     
    Nootkan likes this.
  12. hungryfrank

    hungryfrank New Member

    Joined:
    May 25, 2021
    Messages:
    28
    Likes Received:
    9
    I will remove the issues as I find them. problem is that this is my first look at this script and I don't know what normal behavior is?
    and the debugging section of forum is not working.
     
    Nootkan likes this.
  13. MESSIAH

    MESSIAH Member

    Joined:
    Jun 1, 2016
    Messages:
    134
    Likes Received:
    8
    Use github website for share code. I can be tester. I can help. Personally I prefer clean code and make it fit to PHP 8.0
     
    Nootkan likes this.
  14. hungryfrank

    hungryfrank New Member

    Joined:
    May 25, 2021
    Messages:
    28
    Likes Received:
    9
    https://github.com/hungryfrankie/webminauction
    thanks.
    this is a complete package with Webid. you can just download and install and test
     
    Nootkan likes this.
  15. Nootkan

    Nootkan New Member

    Joined:
    Sep 7, 2018
    Messages:
    27
    Likes Received:
    0
    I tried to install using your package but after I added my database details and it ran for a while I got this message:
    Forbidden
    You don't have permission to access this resource.

    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

    I checked the database and there was only 20 tables instead of 56 like in version 1.2.1.

    Not sure what went wrong as version 1.2.1 installed on the same server without any difficulties.

    Even before when I updated from 1.2.1 to 1.2.2 the install went okay just a lot of bugs. I will delete everything and start over to see if it was a sftp issue although all the permissions are correct.
     
  16. Nootkan

    Nootkan New Member

    Joined:
    Sep 7, 2018
    Messages:
    27
    Likes Received:
    0
    Okay after dropping the database tables and creating a new username/password and using a different browser I was able to get it installed. Will now continue to play with it and try out your mod. Thanks for the fresh install much appreciated.
     
  17. Nootkan

    Nootkan New Member

    Joined:
    Sep 7, 2018
    Messages:
    27
    Likes Received:
    0
    Okay I set up a product and tried to use the make offer options. (screenshots 1,2,3)

    When it rejected the offer that was below the reject offer set by the seller, there was no notification for the buyer to understand what went wrong. It just returned to the same window with the rejected offer. (screenshot 4)

    When I tried a price that was above the reject price it gave a notification saying the offer had to be approved by the seller. (screenshot 5)

    When I tried a price above the acceptable offer it gave a notification that the offer was accepted and provided me with my buy now link. (screenshot 6)

    Once I clicked the buy now link I got a notification that read "error invalid auction". (screenshot 7)

    So it seems that everything works for me except for a notification that the offer was rejected and to try again. Also the buy now link didn't work for me. Maybe won't work with the "standard auction"?

    I've added screenshots of the config and procedures followed.


    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]

    Hope this helps. Thanks for all your efforts and time put into this mod!
     
    Last edited: Jul 9, 2021

Share This Page