PHP Add Improved Date/Time Blocks For Start and End Time to WeBid Auction Server Script
Phase 1
Change Auction Listing Preview / Confirmation page Date / Time Reporting to report expanded starting and ending date / time.
NOTE WeBid default behavior is to report only the abbreviated date for both starting and ending times on the Auction Listing Preview / Confirmation page.
Add variables at [login to view URL] level
STARTDATEVERBOSE
ENDTIMEVERBOSE
And reverse engineer what is needed upstream of [login to view URL] to produce the following result:
Display variable STARTDATEVERBOSE on Auction Listing Preview / Confirmation page in one of two formats depending on the setting of the START_NOW checkbox:
if START_NOW = ‘’ (ie. Unchecked) then report auction start time in the format:
“Sunday February 14, 2016 @ 04:30 PM”
NOTE do not report seconds
Or
if START_NOW = ‘checked’ then report auction start time in the format:
“Saturday January 30, 2016 @ time when this form is submitted”
NOTE do not report seconds
Display variable ENDTIMEVERBOSE on Auction Listing Preview / Confirmation page in the following format:
Whether or not CUSTOM_END is checked report auction end time in the format:
“Wednesday January 14, 2017 @ 08:00 PM “
NOTE do not report seconds
Phase 2
Need documented in a plain text or [login to view URL] file all steps taken to complete Phases of this project. Documentation will be reviewed after submission for completeness: ie using the documentation to clone PHP mods to a second sandbox server successfully.
1 For code mods or configuration file changes document changes in "was" / "changed to" / "purpose of change" format.
NOTE Documentation needed for server owner to clone this project when the server needs to be reinstalled or a new server needs to be added added.
Sand Box Hardware Configuration
1 One MySQL Database on server CS2 in the cluster
3 One WeBid installation on server CS4 to create auction listings and view auction listings.
NOTE WebHost Provider is 1and1.com.
Sandbox Project Hardware & Software Provided for Project
Ubuntu 14.04 LTS / PHP 5.59 / MySQL 5.5 / Apache 2.4
1 SUDO access to CS4
2 phpmyadmin access to central mySQL database on server CS2
3 WeBid Auction Script Admin & Seller User login on server CS4
NOTE PostFix Mail with PHP mail() is not operational to complete WeBid mail notifications, This project does not require notifications to function to get time /date displays working.
WeBid Auction Script v1.1.2P2 is open source and available for download from [login to view URL] The version of the WeBid script that is being used that offers custom end times is a specially moded version of WeBid v1.1.2P2 that is tested and proven to function. A [login to view URL] file will be provided by the server owner containing the moded script for examination on the freelancer’s own equipment. The freelancer is welcome to work directly on the server owners system as well.
NOTE This specially moded script is installed and operational on server CS4.