Custom End Time Mod WeBid 1.1.1/1.1.2 ONLY

Add option for users to add a custom end time to their auctions

  1. renlok

    renlok Administrator Staff Member

    Joined:
    Oct 20, 2008
    Messages:
    2,858
    Likes Received:
    330
    renlok submitted a new resource:

    Custom End Time Mod - Add option for users to add a custom end time to their auctions

    Read more about this resource...
     
    tricer, jorgepzp, hhavatar and 3 others like this.
  2. NozlafAu

    NozlafAu Active Member

    Joined:
    Sep 2, 2015
    Messages:
    158
    Likes Received:
    31
    I think it should be included as standard on next version
     
  3. nay27uk

    nay27uk Super Moderator Staff Member

    Joined:
    Nov 24, 2009
    Messages:
    5,565
    Likes Received:
    544
    I second that as it does seem to be asked for quite a bit on the forums
     
  4. renlok

    renlok Administrator Staff Member

    Joined:
    Oct 20, 2008
    Messages:
    2,858
    Likes Received:
    330
    nay27uk likes this.
  5. renlok

    renlok Administrator Staff Member

    Joined:
    Oct 20, 2008
    Messages:
    2,858
    Likes Received:
    330
    yeah im just working out a few kinks then I will add it ready of the next release :)
     
    nay27uk likes this.
  6. tricer

    tricer New Member

    Joined:
    May 30, 2013
    Messages:
    14
    Likes Received:
    3
    I agree it should be adding to all new releases going forward :)
     
    renlok likes this.
  7. Mark Lamberson

    Mark Lamberson Member

    Joined:
    Dec 23, 2015
    Messages:
    177
    Likes Received:
    13
    Thanks Tricer. I ported this mod to 1.1.2P2 base code with Meld. It works. The auction listing preview window doesn't show the End Time, just the day. Why wasn't this included in the mod? It stands to reason if a seller wanted a specific end time that it should appear on the preview page for the seller to approve. How can this improvement be made?
     
  8. NozlafAu

    NozlafAu Active Member

    Joined:
    Sep 2, 2015
    Messages:
    158
    Likes Received:
    31
    not sure what you mean by that, my understanding is that this is for 1.1.2p2
     
  9. Mark Lamberson

    Mark Lamberson Member

    Joined:
    Dec 23, 2015
    Messages:
    177
    Likes Received:
    13
    1.1.1 and 1.1.2 is specified in this mod
    There are three versions of 1.1.2 base code
    1.1.2 - 1.1.2P1 - 1.1.2P2

    The mod writeup did not specify which 1.1.2 version the mod is known to be compatible with. I have compared some of the versions of the WeBid base code with WinMerge and Meld. There are differences, just need to know what they are and evaluate the impact to other mods that may be in place.
     
    Last edited: Feb 18, 2016
  10. Mark Lamberson

    Mark Lamberson Member

    Joined:
    Dec 23, 2015
    Messages:
    177
    Likes Received:
    13
    When an auction is created and a custom end time is entered, the custom end time is save correctly to MySQL. When an auction is edited by the seller, the custom end time is set equal to the start time.

    Has anyone else experienced this bug? Any ideas why this would be happening?
     
  11. Mark Lamberson

    Mark Lamberson Member

    Joined:
    Dec 23, 2015
    Messages:
    177
    Likes Received:
    13
    This bug affects only the editing of auction originally created with custom end time button checked. If the auction was not created with custom end time the ends=starts bug will not occur.
     
  12. renlok

    renlok Administrator Staff Member

    Joined:
    Oct 20, 2008
    Messages:
    2,858
    Likes Received:
    330
    Oh yeah I get it to change
    Code:
    <!-- IF B_EDITING -->
                                {END_TIME}
                                <input type="hidden" name="a_ends" value="{END_TIME}">
            <!-- ELSE -->
                                {L_022}: {DURATIONS}<br>
                <!-- IF B_EDIT_ENDTIME -->
                                {L_or_custom_end_time}: <input type="text" name="a_ends" id="a_ends" value="{END_TIME}" size="20" maxlength="19">
                                <script type="text/javascript">
                                    new tcal ({'id': 'a_ends','controlname': 'a_ends', 'formname': 'sell'});
                                    $('#a_ends').change(function () {
                                        $('#custom_end').attr('checked', true);
                                    });
                                </script>
                <!-- ENDIF -->
            <!-- ENDIF -->
    to
    Code:
                                {L_022}: {DURATIONS}<br>
                <!-- IF B_EDIT_ENDTIME -->
                                {L_or_custom_end_time}: <input type="text" name="a_ends" id="a_ends" value="{END_TIME}" size="20" maxlength="19">
                                <script type="text/javascript">
                                    new tcal ({'id': 'a_ends','controlname': 'a_ends', 'formname': 'sell'});
                                    $('#a_ends').change(function () {
                                        $('#custom_end').attr('checked', true);
                                    });
                                </script>
                <!-- ENDIF -->
     
  13. Dustan Davis

    Dustan Davis New Member

    Joined:
    Mar 8, 2019
    Messages:
    1
    Likes Received:
    0
    Hey guys! Would any of you would like to try and update this mod to work with the most current version? This would be awesome if we can make this work with version 1.2.2.2

    Been needing to get my auction site up and running, but without the possibility of adding a custom end time I might have to look at using something else...
     

Share This Page