NineChime forum

Furry stuff, oekaki stuff, and other stuff.

You are not logged in.

#1 11-10-2007 12:23:41

Sadil
Member

Time not being registered when uploading.

Hey. smile

I just noticed something. The board I admin runs on 1.3.9. When you manually upload a picture through upload.php and enter a time for the picture (such as 250 minutes) it doesn't register the time. Once posted the timer will simply say 'unknown'.

Not a major issue, but figured I'd report it anyhow.

Edit: And for the record, with regular posting through drawing on the applet the time gets registered properly. smile

Last edited by Sadil (11-10-2007 13:26:13)

Offline

#2 11-11-2007 03:47:16

Waccoon
Administrator

Re: Time not being registered when uploading.

It woks fine for me, and the code for the uploader hasn't changed since 1.3.8.  It may depend on what you're typing in.

Only numbers are allowed (letters and space will be stripped out).  Valid ranges are from 1 minute to 10,000 minutes.

Offline

#3 11-11-2007 08:35:48

Sadil
Member

Re: Time not being registered when uploading.

I just tested it some more, and I -think- I figured some of it out. I tried to enter 12 minutes, 75 minutes and 214 minutes. 12 and 75 showed up fine, but 214 showed up as "unknown". Think it's an issue with the validity of the range of 1 to 10,000 minutes?

Offline

#4 11-14-2007 00:33:25

Waccoon
Administrator

Re: Time not being registered when uploading.

D'OH.  Now I know what's going on.  The board converts minutes to seconds and THEN tests a maximum value of 10,000.  So, only values of less than 3 hours may be entered.

OK, I fixed that:  functions.php

Offline

#5 11-14-2007 14:40:10

Sadil
Member

Re: Time not being registered when uploading.

Thank you! Works like a charm now. smile

Offline

Board footer

Yep, still running PunBB
© Copyright 2002–2008 PunBB