Scoop -- the swiss army chainsaw of content management
Front Page · Everything · News · Code · Help! · Wishlist · Project · Scoop Sites · Dev Notes · Latest CVS changes · Development Activities
How to use File Uploads in Scoop Docs
By theantix , Section News []
Posted on Wed Oct 16, 2002 at 12:00:00 PM PST
Scoop now has the capacity for allowing users and administrators to upload files.  If you are interested in how to use this new feature, please download the nightly tarball and read this document for instructions.

Three types of uploads

There are three types of uploads possible: content, admin, and users.  Access to each is controlled by a separate perm.  There is an additional toggle for file uploads, controlled by the Site Control "allow_uploads".  If this is unselected it will override any permissions and uploads will function at all.

Content uploads are for uploading files to special pages or stories.  If the user has the perm "upload_content", they will have a new input box at the bottom of the submit story and special pages forms.  If the user uploads a readable file, scoop will take the content of that file and place it in the content of the story or special page as if the user had typed it themselves.

User uploads are for allowing file storage on your server to the users of your site.  If the user has the permission "upload_user", they will see an upload form appear at the address http://www.mysite.com/user/mynick/files, along with a listing of any files they have uploaded.

Administration uploads are for allowing a site admin to upload and manage files on their server from a web browser without requiring ftp.  If the user has the permission "upload_admin", they will be see a list very similar to the user files list above, and be able to upload files to that areas.

Configuring File Uploads

Aside from the "allow_uploads" site control and the permissions outlined above, there are several other site controls that should be set in order for file uploads to work correctly.  The site control "upload_user_quota" places a limit on how much disk space each user can take up, measured by KB.

The site controls beginning with "upload_path_" set the path on the filesystem that scoop will save the files to.  These must be directories that exist, and must be writeable by the apache user.  However, when a user uploads a file, scoop will create a subdirectory for each user using their user id number as the new directory name.

The site controls beginning with "upload_link_" set how scoop will link to the files once they are uploaded.  This setting will depend on how your apache is configured, but it will be how apache views the path in the respective "upload_path_" site control.  This is important for any of the functions that link to the file.

Additionally, you can configure scoop to allow a user to delete or rename files once they have been uploaded.  Depending on your userbase you might want to prevent your users from doing this because it can break stories that use those files.

The user_files_list box

There is also a new box in scoop, the user_files_list box.  If you place this box in your submit_template, you can use this to allow a convenient interface for users to insert IMG tags into their stories.  If they have javascript enabled, the box will allow users to use a drop-down box to select an uploaded file, and press a button to insert the correct tag into the intro or body text of the story.

Future Plans

  • integrate the files into the database in a table
  • move images to another location when used in a story, and delete those images when story gets deleted.
  • make the admin uploads more flexible so that it is possible to upload to multiple paths
  • a way to move files between upload areas
< Linking to custom pages... | www.ie-ap.org goes scoop >

Menu
· create account
· faq
· search
· report bugs
· Scoop Administrators Guide
· Scoop Box Exchange

Login
Make a new account
Username:
Password:

Poll
File Uploads
· Great! 66%
· Looking forward to the items in the future plans 0%
· - 16%
· theantix was here 16%

Votes: 6
Results | Other Polls

Related Links
· Scoop
· nightly tarball
· http://www .mysite.com/user/mynick/files,
· More on Docs
· Also by theantix

Story Views
  105 Scoop users have viewed this story.

Display: Sort:
How to use File Uploads in Scoop | 79 comments (79 topical, 0 hidden)
And then there were two... (none / 0) (#1)
by vwX on Thu Oct 17, 2002 at 09:46:24 PM PST

http://scoop.kuro5hin.org/story/2002/10/8/151953/724



And then there were 3... (none / 0) (#4)
by MadCat on Fri Nov 01, 2002 at 08:01:18 PM PST

I knew I should've come here before going on a box-coding rampage last night :)

My Scoop site is a game resource site and needed one of those nifty screenshot sections, but I wanted to have it integrated with Scoop as much as possible, so I ended up writing some file upload code and some new ops for it. I might actually post it here or there some time in the future but so far it's proven to be.. unstable :)

I'm going to try this one out and see if I can work it into what I need :D
--
A witty saying proves nothing, but damn it's funny!



Does the upload script do any referrer checking? (none / 0) (#6)
by adam on Sat Nov 09, 2002 at 12:15:54 PM PST

It would be nice if Scoop would reject requests with a referrer coming from a different site.  This would keep people from using the upload feature to host their ebay auction pictures and crap like that.  I know its possible to do this manually by adding a few lines to the Apache config, but it seems like it would be easier if Scoop could handle this directly.

Also, are there any checks in place to restrict what types of files are uploaded.  I don't think it would be a good idea to allow the upload of executable files.

Another nice (but not really necessary) feature would be to limit the maximum size of a single image.  A limit around 640x480 or 800x600 would prevent images from screwing up the page formatting.



Thanks a lot for sharing. You have done a brillian (none / 0) (#8)
by AlexxelA1 on Tue Jun 28, 2016 at 07:17:26 AM PST

Thanks a lot for sharing. You have done a brilliant job. Your article is truly relevant to my study at this moment, and I am really happy I discovered your website. 192.168.1.1



Jual Laptop Notebook PC HP Lenovo Printer Tinta To (none / 0) (#10)
by davidqq on Mon Oct 24, 2016 at 03:58:52 AM PST

Their work you will is amazingly readily shown ınside your blog articles; you may be an actual competent. I would prefer to supply an extra blog with the preferred varieties one shown yesterday morning. Require ones own people to look into online world.for a lot of stuff tailor-made article. Jual Printer Murah



Jual Laptop Notebook PC HP Lenovo Printer Tinta To (none / 0) (#11)
by davidqq on Mon Oct 24, 2016 at 04:09:43 AM PST

Their work you will is amazingly readily shown ınside your blog articles; you may be an actual competent. I would prefer to supply an extra blog with the preferred varieties one shown yesterday morning. Require ones own people to look into online world.for a lot of stuff tailor-made article. Jual Printer Murah



Philadelphia business directory (none / 0) (#12)
by Dhanishtha on Sun Oct 30, 2016 at 09:32:52 AM PST

One of many blog sites on line, I like to browsing the ones you have just about the most; everyone supply individuals a huge amount of advice of hospitality attire minor article. My organization is in need of together with seeing that you now have a heart and soul meant for informative posting, That i worked you can actually issue my family during the ideal focus. Is it possible assistance? Philadelphia business directory



e-vapes store Hanover PA (none / 0) (#13)
by Dhanishtha on Mon Oct 31, 2016 at 05:10:55 AM PST

I suggest just estimable further loyal info, so view it: e-vapes store Hanover PA



Essay (none / 0) (#14)
by GageAmber on Mon Oct 31, 2016 at 09:57:59 AM PST

Theantix thanks for sharing your post at custom essay writing service. Now I know about, Three types of uploads, Configuring File Uploads and The user_files_list box thank you.



kavin (none / 0) (#15)
by Dhanishtha on Thu Nov 03, 2016 at 08:51:17 AM PST

I have to recommend you for whenever you go to the UAE, the Desert safari dubai. Bashing and racing against the sand dunes is an absolutely amazing experience and I just urge you to try it out.



Profits Eternity (none / 0) (#16)
by julianamartin on Sun Nov 06, 2016 at 03:59:19 AM PST

I am always searching online for articles that can help me. There is obviously a lot to know about this. I think you made some good points in Features also. Keep working, great job! ProfitsEternity



JHON (none / 0) (#17)
by alikhan on Thu Nov 10, 2016 at 07:29:49 AM PST

Following reading through your own weblogs, We therefore wish to launch my very own essayteam too! czech beads



JHON (none / 0) (#18)
by alikhan on Thu Nov 10, 2016 at 09:55:31 AM PST

Perusing a web logs will make everybody plan to be able to write increasingly. I did so some that i was basically attractive floored with the help of. It again mightn't be undertaken to all your quality and yet it's awesome. I can also transmit most people the link allowing you to analyze it again in my circumstances you should spirit. http://www.emergencytreeremovalatlanta.net



JHON (none / 0) (#19)
by alikhan on Mon Nov 14, 2016 at 02:47:26 AM PST

Your website is this one-stop buy everything educative crafting. stall exhibition designs



JHON (none / 0) (#21)
by alikhan on Wed Nov 30, 2016 at 05:46:16 AM PST

This is highly informatics, crisp and clear. I think that everything has been described in systematic manner so that reader could get maximum information and learn many things. Obcasio



JHON (none / 0) (#22)
by alikhan on Wed Nov 30, 2016 at 07:50:42 AM PST

Thanks for the blog post buddy! Keep them coming... http://www.professionnel-serrurier-paris.fr



JHON (none / 0) (#23)
by alikhan on Wed Nov 30, 2016 at 07:50:42 AM PST

Thanks for the blog post buddy! Keep them coming... http://www.professionnel-serrurier-paris.fr



JHON (none / 0) (#24)
by alikhan on Thu Dec 01, 2016 at 08:03:06 AM PST

I would like to say that this blog really convinced me to do it! Thanks, very good post. spiderman



jon (none / 0) (#25)
by alikhan on Thu Dec 01, 2016 at 12:10:16 PM PST

Best work you have done, this online website is really cool with great facts. renta vacacional cancun



looking for more (none / 0) (#26)
by john464 on Sat Dec 17, 2016 at 02:55:23 PM PST

great Raees Box Office Collection



afa (none / 0) (#27)
by alastairalbern on Mon Dec 19, 2016 at 08:24:23 AM PST

Thanks for all your referrals a person provide all of us via your own weblogs. https://briansammy.atavist.com/choose-the-better-one-meal-replacement-or-protein-shake



qafqa (none / 0) (#28)
by alastairalbern on Sat Dec 24, 2016 at 07:25:18 AM PST

Your texts on this subject are correct, see how I wrote this site is really very good. NJ Limo Service



JHON (none / 0) (#29)
by alikhan on Tue Dec 27, 2016 at 03:13:45 AM PST

Someone Sometimes with visits your blog regularly and recommended it in my experience to read as well. The way of writing is excellent and also the content is top-notch. Thanks for that insight you provide the readers! kristall nano



JHON (none / 0) (#30)
by alikhan on Tue Dec 27, 2016 at 04:19:43 AM PST

Someone Sometimes with visits your blog regularly and recommended it in my experience to read as well. The way of writing is excellent and also the content is top-notch. Thanks for that insight you provide the readers! Offshore VPS



JHON (none / 0) (#31)
by alikhan on Thu Jan 12, 2017 at 07:32:54 AM PST

Great post, you have pointed out some fantastic points , I likewise think this s a very wonderful website. contact lenses and glasses



JHON (none / 0) (#32)
by alikhan on Sat Jan 14, 2017 at 06:19:20 AM PST

This is highly informatics, crisp and clear. I think that everything has been described in systematic manner so that reader could get maximum information and learn many things. code de la route



JHOIN (none / 0) (#33)
by alikhan on Mon Jan 16, 2017 at 08:14:28 AM PST

I really impressed after read this because of some quality work and informative thoughts . I just wanna say thanks for the writer and wish you all the best for coming!. gb whatsapp download



6em sens (none / 0) (#34)
by julianamartin on Sat Jan 21, 2017 at 03:29:54 AM PST

You have done a great job. I will definitely dig it and personally recommend to my friends. I am confident they will be benefited from this site. 6em-sens.fr



livret A (none / 0) (#35)
by julianamartin on Sat Jan 21, 2017 at 04:02:09 AM PST

it is the really fantastic blog . it's really informational and a such a good job. i love this livret A



Cogni Trade (none / 0) (#36)
by julianamartin on Sat Jan 21, 2017 at 05:57:34 AM PST

I like your post. It is good to see you verbalize from the heart and clarity on this important subject can be easily observed. Cogni Trade



Rubix Project (none / 0) (#37)
by julianamartin on Sat Jan 21, 2017 at 06:27:49 AM PST

Nice share of information here. I really find this information really helpful for me. Thanks a lot, dude, for putting up this vital information on the internet for everybody to use. Rubix Project



Leaked Profits (none / 0) (#38)
by julianamartin on Sat Jan 21, 2017 at 07:07:09 AM PST

Effectively, the article is really the best theme on this registry related issue. I fit in with your decisions and will excitedly anticipate your next overhauls. Leaked Profits



JHON (none / 0) (#39)
by alikhan on Sun Jan 22, 2017 at 02:53:16 AM PST

Really a great addition. I have read this marvelous post. Thanks for sharing information about it. I really like that. Thanks so lot for your convene. Vending



Vena System (none / 0) (#40)
by julianamartin on Sun Jan 22, 2017 at 06:36:28 AM PST

First and foremost You got an extraordinary web journal .I will be intrigued by more comparative points. i see you got truly extremely valuable themes , i will be continually checking your web journal much obliged. Vena System



JHON (none / 0) (#41)
by alikhan on Mon Jan 23, 2017 at 08:56:39 AM PST

Super-Duper site! I am Loving it!! Will come back again, Im taking your feed also, Thanks. TV on the Wall



JHON (none / 0) (#42)
by alikhan on Sun Jan 29, 2017 at 04:58:47 AM PST

I think this is one of the most significant information for me. And i'm glad reading your article. But should remark on some general things, The web site style is perfect, the articles is really great : D. Good job, cheers arıza tespit cihazı



jhon (none / 0) (#43)
by alikhan on Sun Jan 29, 2017 at 09:48:58 AM PST

very interesting post.this is my first time visit here.i found so mmany interesting stuff in your blog especially its discussion..thanks for the post! minecraft story mode



JHON (none / 0) (#44)
by alikhan on Mon Jan 30, 2017 at 04:29:10 AM PST

Interesting post. I Have Been wondering about this issue, so thanks for posting. Pretty cool post.It 's really very nice and Useful post.Thanks Property in spain



JHON (none / 0) (#45)
by alikhan on Tue Jan 31, 2017 at 03:02:10 AM PST

I am continually amazed by the amount of information available on this subject. What you presented was well researched and well worded in order to get your stand on this across to all your readers. Maids



jhon (none / 0) (#46)
by alikhan on Tue Jan 31, 2017 at 03:52:13 AM PST

I haven't any word to appreciate this post.....Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us. Taxi Bern



JHON (none / 0) (#47)
by alikhan on Wed Feb 01, 2017 at 02:40:23 AM PST

I have bookmarked your blog, the articles are way better than other similar blogs.. thanks for a great blog! Amsterdam tattoo shop



JHON (none / 0) (#48)
by alikhan on Wed Feb 01, 2017 at 07:17:35 AM PST

I appreciate everything you have added to my knowledge base.Admiring the time and effort you put into your blog and detailed information you offer.Thanks. cccam server



great (none / 0) (#49)
by john464 on Wed Feb 01, 2017 at 08:11:24 AM PST

APK Apps Download , APK Play Store Free Download, Lyrics Songs Meaning, Dialogues Translate Meaning, Movers Packers in Dubai, Movers and Packers in Dubai, Match Prediction, Today Match Prediction



JHON (none / 0) (#50)
by alikhan on Wed Feb 01, 2017 at 09:36:35 AM PST

Thank you very much for this useful article. I like it. polls



JHON (none / 0) (#51)
by alikhan on Thu Feb 02, 2017 at 02:51:23 AM PST

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. Thanks... download movies



JHON (none / 0) (#52)
by alikhan on Wed Feb 15, 2017 at 03:34:53 AM PST

Impressive web site, Distinguished feedback that I can tackle. Im moving forward and may apply to my current job as a pet sitter, which is very enjoyable, but I need to additional expand. Regards. שיפוץ דירות בתל אביב



JHON (none / 0) (#53)
by alikhan on Sat Feb 18, 2017 at 06:01:18 AM PST

I recently found many useful information in your website especially this blog page. Among the lots of comments on your articles. Thanks for sharing. Grademiners.com



Nice post by you (none / 0) (#54)
by ampind on Sat Apr 15, 2017 at 02:05:17 PM PST

this is really a nice post by you. IPL Match Prediction 2017 Today IPL Match Prediction 2017 Match Predictions, Astrology, Sports News, Cricket, Football, Tennis Coupons, Offers, Promo Codes, Discount Coupons, Cashback Song Lyrics, Punjabi, Hindi, Bollywood, Hollywood Movies Songs, Actress Photos All India Tour Travel Blog, Trek, Camping Uttarakhand Tour Travel Photos Collection, Trek, Camping Exam Notification, Admit Card, Answer Key, Result, Recruitment 2017 PHP, Wordpress, Gadgets, Smartphone Reviews, Price, Key Features Website Development Design In Dehradun, India, Web Development Canda, US, Australia Free wordpress theme, template tips tricks plugins, magneto



asdfssd (none / 0) (#55)
by Skproduction on Tue Apr 18, 2017 at 06:14:36 AM PST

I'm keen a put up. It happens to be fantastic to ascertain most people verbalize out of your spirit not to mention ability on that fundamental topic area are generally comfortably found. ideas viewpoint online site. assistir filmes online



nothing men (none / 0) (#57)
by oceangames8 on Wed Jan 10, 2018 at 06:00:33 PM PST

Scoop now has the capacity for allowing users and administrators to upload files.  If you are interested in how to use this new feature, please download the ocean gamez



nothing men (none / 0) (#58)
by oceangames8 on Wed Jan 10, 2018 at 06:01:21 PM PST

Scoop now has the capacity for allowing users and administrators to upload files.  If you are interested in how to use this new feature, please download the Getintopc



Cash Advance (none / 0) (#59)
by Pervez on Sun Mar 25, 2018 at 11:01:57 PM PST

It's very hypnotic technique that you have spread on-line. Just maintain putting one's superb believed procedures and thus natural beef enjoy types analyzing. Currently just click right here Cash Advance Best of luck meant for enjoyable details.



MyBKExperience (none / 0) (#60)
by hinofevav on Sun Nov 18, 2018 at 03:45:15 AM PST

Burger King is one of the famous restaurants in the United States. MyBKExperience is an online survey conducted by burger king survey to get its customer's feedback.



Thanks (none / 0) (#61)
by enable12 on Sat Nov 24, 2018 at 09:14:36 AM PST

it's really nice and meanful. it's really cool blog. Linking is very useful thing.you have really helped lots of people who visit blog and provide them usefull information. No Credit Check Financing




MrMove| Cheap Moving Company (none / 0) (#62)
by altayyab on Mon Feb 18, 2019 at 05:20:03 AM PST

Getting the services of a professional moving and storage company is a must to assure superior service and maximum satisfaction. Are you looking for such a moving company in Dubai? If you are, then look no further. If you need your things stored or moved to a new location, Mr Move can help you. With years of experience in the industry, Mr Move has what it takes to ensure your things are stored and moved quickly and safely.



Best Office FitOuts Company UAE (none / 0) (#63)
by fitoutconceptsuae on Sat Feb 23, 2019 at 04:20:25 AM PST

Heavy Duty Supermarket Shelving in Dubai Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It's always nice when you can not only be informed, but also entertained!



best kitchen remodeling nyc (none / 0) (#64)
by Pervez on Sat Mar 02, 2019 at 04:15:44 AM PST

The fact is excellent content writing. The education is totally amazing keeping in mind not long ago I know there are many keeping in mind hopping in relation to better advantageous submitted. Devices follow-up best kitchen remodeling nyc Regards a good deal when considering excellent submitted.



dasad (none / 0) (#65)
by digitinc on Thu Jan 30, 2020 at 01:27:35 AM PST

I am appreciative of your 오션파라다이스게임 assistance and look forward to your continuing to work on our account. I really appreciate the kind of topics you post here. Thank you for the post.



qwqe (none / 0) (#66)
by digitinc on Fri Feb 21, 2020 at 10:06:43 AM PST

This post is very informative on 안전놀이터 this topic. I feel strongly that love and read more on this topic. I just tripped upon your blog and wanted to say that I have really enjoyed reading your blog stations. Thanks for sharing.



asad (none / 0) (#67)
by digitinc on Thu Mar 26, 2020 at 11:30:02 PM PST

This is very informative and you are obviously very knowledgeable in this area. You 릴게임 바다이야기 will find a lot of approaches after visiting your post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Thanks for sharing.



asad (none / 0) (#68)
by digitinc on Wed Apr 01, 2020 at 11:37:50 AM PST

It is a very excellent 릴게임 blog post. I really really love it. I hope that you continue to do your work like this in the future. Thanks for sharing this with us.



great (none / 0) (#69)
by rozirose124 on Fri Apr 17, 2020 at 04:51:32 PM PST

It's superior, however , check out material at the street address. 온라인카지노



great (none / 0) (#70)
by rozirose124 on Fri Apr 24, 2020 at 11:51:12 AM PST

Thanks for writing such a good article, I stumbled onto your blog and read a few post. I like your style of writing... 안전놀이터



great (none / 0) (#71)
by rozirose124 on Sun Apr 26, 2020 at 02:03:22 PM PST

I exploit solely premium quality products -- you will observe these individuals on: 발기부전



great (none / 0) (#72)
by rozirose124 on Thu May 07, 2020 at 11:49:37 AM PST

Interesting and interesting information can be found on this topic here profile worth to see it. เซ็กซี่บาคาร่า



great (none / 0) (#73)
by rozirose124 on Sun May 17, 2020 at 07:03:26 AM PST

On this subject internet page, you'll see my best information, be sure to look over this level of detail. daftar nova88



great (none / 0) (#74)
by rozirose124 on Sun May 17, 2020 at 07:32:16 AM PST

Glad to chat your blog, I seem to be forward to more reliable articles and I think we all wish to thank so many good articles, blog to share with us. บาคาร่าออนไลน์



mistre (none / 0) (#76)
by gimojob172 on Fri Dec 25, 2020 at 12:31:10 PM PST

The YouTuber, who's more than 6 feet tall, took aim at Mayweather's 5ft 8in frame in a doctored picture. Floyd vs Paul live



buy now pay later catalog instant approval (none / 0) (#77)
by jomM0923 on Wed Nov 17, 2021 at 04:26:20 AM PST

You can now visit a lot of buy now pay later catalog instant approval online. You can apply to us!



CREDIT CARDS FOR PEOPLE WITH BAD CREDIT+ (none / 0) (#78)
by jomM0923 on Sat Aug 13, 2022 at 09:27:24 PM PST

guaranteed approval unsecured credit cards for bad credit store credit cards for bad credit store credit cards with instant approval guaranteed approval credit cards how to get tradelines tradelines meaning trade lines of credit



Thanks (none / 0) (#79)
by robertholms on Wed Sep 07, 2022 at 03:54:17 AM PST

File uploads are a great way to quickly and easily add images or files to your Scoop posts. Just select the file you want to upload, and then click the "add file" button in the post's details section. Bad Credit Equipment Finance



How to use File Uploads in Scoop | 79 comments (79 topical, 0 hidden)
Display: Sort:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest © 1999 The Management

create account | faq | search