icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.
Old October 6th, 2005, 11:39 AM   #1 (permalink)
Registered User
Fresh Surpasser
 
Joined in Mar 2004
11 posts
Gave thanks: 0
Thanked 0 times
Question phpAuction assistance needed

Hi everyone
My php coding skills are sorely lacking. I'm working on a site using phpAuction. This site needs ALL of the auctions to end on the same date, regardless of when they were added. I'm guessing a modification needs to be done to the durations.php file, but I'm not sure how/what to modify. Can anyone lend a hand with this? Point me in the right direction?

Thanks in advance!!
__________________
Traci
Reseller on Server Dime32
titus2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 13th, 2005, 11:26 PM   #2 (permalink)
Registered User
Fresh Surpasser
 
Joined in Oct 2005
Lives in Canada
Hosted on Pass24
8 posts
Gave thanks: 0
Thanked 0 times
I have never used phpAuction, but I am pretty sure there is a column in the database that has the end-time. All you would have to do is run a query to set the end time to the time you want.

Code:
UPDATE `auction_table` SET `auction_end` = 'whenyouwanttoendtheauction'
Lucas is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 14th, 2005, 7:12 AM   #3 (permalink)
Registered User
Fresh Surpasser
 
Joined in Mar 2004
11 posts
Gave thanks: 0
Thanked 0 times
Thanks for the reply! I actually found where to change it via phpMyAdmin. But your solution would work across the board and be quicker than changing each individual auction! THANKS!
__________________
Traci
Reseller on Server Dime32
titus2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 14th, 2005, 2:58 PM   #4 (permalink)
Registered User
Comfy Contributor
 
sacjeanie's Avatar
 
Joined in Sep 2005
Hosted on sh84
117 posts
Gave thanks: 0
Thanked 0 times
If phpAuction loads data to a table, you could do a single update SQL command to change your auction end time.
__________________
datadoggie.com | Server: SH84
Bike Odometer: 140 miles
sacjeanie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On