Qbasicnews.com
Image/file hosting for members - Printable Version

+- Qbasicnews.com (http://qbasicnews.com/newforum)
+-- Forum: QbasicNews.Com (http://qbasicnews.com/newforum/forum-3.html)
+--- Forum: Site/Forum Issues (http://qbasicnews.com/newforum/forum-9.html)
+--- Thread: Image/file hosting for members (/thread-5070.html)

Pages: 1 2


Image/file hosting for members - wildcard - 11-16-2004

I've finally got around to fixing(err.. totally rewritting) the old file/image uploader. I've done testing and so I am opening it up for further testing/usage.

http://forum.qbasicnews.com/users/upload.php - beta

It should be pretty straightforward. It detects images and so will show them and they can be used as inline images e.g.

Code:
[url]http://forum.qbasicnews.com/users/file.php?id=7[/url]

Any other filetype will automatically be downloaded.

Bug reports, questions, comments, suggestions/etc all welcome. Post below, PM me or email (wildcard[at]hybd.net)


Image/file hosting for members - Z!re - 11-16-2004

File size limits? number of files limits? Total space usage limit?


Image/file hosting for members - wildcard - 11-16-2004

Quote:File size limits? number of files limits? Total space usage limit?

Its currently set to 1meg file limit but if required can be increased. No file number or total space usage limits. Remember its really for members here and not like quickhost which you can use anywhere freely, but saying that; you can use it on other sites but thats not the main intention.


Image/file hosting for members - Z!re - 11-16-2004

Ya, it's a good idea, I'll try to rip it apart later =)


Hmm... 1mb.. I don't know... you could make it something like 10mb max, and only allow users that are in a group to use it, to prevent idiots from registering and then uploading 9mb porn videos or alike.

Just an idea.


Image/file hosting for members - wildcard - 11-16-2004

Quote:Ya, it's a good idea, I'll try to rip it apart later =)


Hmm... 1mb.. I don't know... you could make it something like 10mb max, and only allow users that are in a group to use it, to prevent idiots from registering and then uploading 9mb porn videos or alike.

Just an idea.

Thats a good idea about the usergroup, I'll work on that.


Image/file hosting for members - jatos - 11-17-2004

Also can we delete our own files?


Image/file hosting for members - wildcard - 11-17-2004

Quote:Also can we delete our own files?

Yes the option just needs to be put back in the form.

UPDATE: I've added in deletion now and you can force downloads of images by adding in &download e.g.

Code:
[url]http://forum.qbasicnews.com/users/file.php?id=16&download[/url]



Image/file hosting for members - red_Marvin - 12-16-2004

An error I got:
Warning: move_uploaded_file(../../../qbn_fil_stor/206-fb.gif): failed to open stream: Permission denied in /home/qbnews/public_html/forum/users/upload.php on line 107

Warning: move_uploaded_file(): Unable to move '/tmp/phpp04PUu' to '../../../qbn_fil_stor/206-fb.gif' in /home/qbnews/public_html/forum/users/upload.php on line 107
There was a problem moving your file


Image/file hosting for members - wildcard - 12-17-2004

There was a permission problem, its been fixed. Can you let me know if its working?


Image/file hosting for members - red_Marvin - 12-18-2004

It works like a charm ^_^ my signature is the witness (I moved its location
because pfeople seem to have a problem with images linked from freewebs.)