Image upload restriction?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
puuhapete80

Image upload restriction?

Post by puuhapete80 »

Hello everybody!!!

Is there such a restriction (to put on) that the user or group does not have permission to add images to sites (and change headlines)? User could only add and modify content of text when logged to sites!!!

One possibility is to set a restriction which doesn't allow user to upload images from own computer, only images uploaded already by the admin or limiting the size of the image upload at least.

The reason for deny adding images is simple: too much stuff on the server.
User avatar
deejmer
Forum Members
Forum Members
Posts: 69
Joined: Thu Jan 11, 2007 7:32 pm

Re: Image upload restriction?

Post by deejmer »

You could always make the uploads/images directory unwritable.  They'd go throught the process of uploading, but would get an error message when they try to send the file to the server.

Although not recommended, I guess you could always dig throught the core code and pull any navigation to the image editor?

Anyone have a more eloquent way to do this?  I don't see this as an option in the Group Permissions dialog....
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Image upload restriction?

Post by calguy1000 »

Well, other than Tiny.... there are permissions to control things.  I even think there's a permission to access imagemanager and file manager.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: Image upload restriction?

Post by kermit »

puuhapete80 wrote: The reason for deny adding images is simple: too much stuff on the server.
get a bigger plan? ;)

educate your editors?

max upload size of 1 byte? or
disable server write permissions on uploads or uploads/images? (either of which can be changed temporarily if YOU want to upload stuff)

hack the code?

by 'headlines' do you mean page titles?  just use something like {title} just before {content} and the page title as configured for the page will be inserted automagically, no need for a 'title' at the top of a page's content then.
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
Locked

Return to “CMSMS Core”