From: Eric D. <eri...@ja...> - 2002-07-29 06:17:53
|
I posted this on slashcode.com (http://ask.slashcode.com/article.pl?sid=02/07/21/1755247&mode=thread&tid=4), but honestly seems like no one uses that site. In fact, seem that some kiddies are posting very rude comments on the site....... Anyhow, here is the question. I want to somehow get support for including files in posts. Krow hinted that it is kinda in there, but I don't see anything...... How hard is this? What needs to be done? I think that would really take slash up a notch if it had file/story support. Then I could stop considering switching to moveabletype or something else........ any info would be great. Thanks -- ----- Bureaucrats cut red tape, lengthwise Eric Dannewitz - Adventurer, saxophonist, good-timer (crook? quite possibly), clarinetist, manic self-publicist, part-time flautist(flutist?), macintosher, and often thought to be completely out to lunch. http://www.jazz-sax.com |
From: Markus A. <mar...@ub...> - 2002-07-29 06:45:59
|
eri...@ja... wrote: > Anyhow, here is the question. I want to somehow get support for > including files in posts. Krow hinted that it is kinda in there, but I > don't see anything...... I would a) create a dir for upload of files. Must be writable by the web user (nobody). b) modify the submit and author's story edit form to include a file upload field. The file is placed in your upload dir, and it's name added to a new column in the DB. c) edit the storyprint (dunno it's exact name) function to display a link to the file unless that field is empty. Markus. |
From: shane <sh...@lo...> - 2002-07-29 13:55:54
|
On Monday 29 July 2002 02:17 am, Eric Dannewitz wrote: > I posted this on slashcode.com > (http://ask.slashcode.com/article.pl?sid=02/07/21/1755247&mode=thread&tid=4 >), but honestly seems like no one uses that site. In fact, seem that some > kiddies are posting very rude comments on the site....... > > Anyhow, here is the question. I want to somehow get support for > including files in posts. Krow hinted that it is kinda in there, but I > don't see anything...... > > How hard is this? What needs to be done? I think that would really take > slash up a notch if it had file/story support. Then I could stop > considering switching to moveabletype or something else........ > > any info would be great. Thanks There used to be some code in admin.pl to handle the file-upload of a file through http. I don't think it was ever finished, or atleast, tested. Look around, it may still be there and you may be able to use it. A while back I messed with doing file upload via http for the photo gallery plugin that I started. I didn't get very far with it, because with slash you can't just use cgi and use it to handle the file coming from the form. If you write the code to do file uploading, I would be eternally grateful to you. I've just never had the time to get into it it more and get it written. Shane |
From: Eric D. <eri...@ja...> - 2002-07-29 18:24:31
|
Oh. What do you mean that slash about no cgi? Couldn't I use like CGI::Upload http://search.cpan.org/search?dist=CGI-Upload to handle it? This sounds like it might be a real problem to do...........and that doesn't sound good.......... shane wrote: >There used to be some code in admin.pl to handle the file-upload of a file >through http. I don't think it was ever finished, or atleast, tested. Look >around, it may still be there and you may be able to use it. > >A while back I messed with doing file upload via http for the photo gallery >plugin that I started. I didn't get very far with it, because with slash you >can't just use cgi and use it to handle the file coming from the form. > >If you write the code to do file uploading, I would be eternally grateful to >you. I've just never had the time to get into it it more and get it written. > > Shane > |
From: Eric D. <eri...@ja...> - 2002-08-05 04:07:36
|
Wouldn't one way around that be to write or utilize a separate script or something that would upload files AFTER you submit a story or comment? And this uploaded file could be approved or disapproved depending on the site. Some sort of file upload submission page or something. Ideas? It would be great to get something like this happening with slash........... shane wrote: > >There used to be some code in admin.pl to handle the file-upload of a file >through http. I don't think it was ever finished, or atleast, tested. Look >around, it may still be there and you may be able to use it. > >A while back I messed with doing file upload via http for the photo gallery >plugin that I started. I didn't get very far with it, because with slash you >can't just use cgi and use it to handle the file coming from the form. > >If you write the code to do file uploading, I would be eternally grateful to >you. I've just never had the time to get into it it more and get it written. > > Shane > > > > > |