Topic RSS
I have wordpress multisite up and running, and I recently added simplepress to it, to allow users to make their own forums. However I'm not to keen on allowing them to upload files/avatars/smileys. Is there any quick and painless way to give it a quota or just disable the whole set of uploads?
The default multisite quota doesn't seem to affect files uploaded via the plugin.
you can remove permissions to upload images, media and files…forum – permissions -manage permisions..
you can disable avatar uploading on forum – profiles – avatars…
only admins can upload smileys….
Thank you for the reply but I don't think you understand my question.
Main site (forum1)
-multisite 1(forum2)
-multisite 2(forum3)
-multisite 3(forum4)
-multisite 4(forum5)
As I understand the user in charge of each multisite will be the admin for each forum. I'd like to know if there's a super-admin option or known edit available to override each admin's options regarding file uploads.
No, there are no global main site settings that control network sites… each install of spf (ie each network site) has its own unique settings…
interestingly, we have never had this raised before… and I can see a reason for the question you are asking… I will open a ticket for us to consider adding some multisite global options… it is a major undertaking and restructuing as frankly, simple press wasnt originally designed for multisite (wpmu in the day) but we made it work due to sheer number of requests… but this could certainly be a useful capability in multisite…
as the super admin, you could go in a change the settings for them, but of course, they could go back and change again…
afraid I cant give you an estimate either when we may tackle something like this… as a two man dev team, we are limited in what we can do and are deep in the guts of a 5.0 design…
Thanks for letting me know. I'll try to play around with the code and if I manage to get something like that to work I'll pass it on.
I could tell you which sections to modify in the core code if you like to prevent uploads from being allowed… and certainly numerous hacks you could make… but would get the job done… just not options…
the 'major' part would come from the main site admin ui and then networks sites 'phone home' to check them…
Thanks,
So far I tracked down the custom smiley upload form and did this to it:
if(is_super_admin()){ …. }
Which seems to do the job.
Ideally I'l love it if all the files added by the plugin(auto-generated as well as uploaded) check with the global blog settings for maximum file size and maximum total size, but that seems rather daunting.
For the moment I'll just check for superadmin on all the upload forms. If you could point me in the right way to make uploads be disabled by default on each new installation I'd appreciate it.
Also if it's not too much, could you also point me to where the smileys check for paths? I figured that I could just keep a lot of them on the main site and people can use their options to use those. That way I could also add more on request.
sorry for the dealy… got hung up with family stuff…
go to file simple-forum/editors/tinymce/sf-tinyinit.php and around line 45, find and remove or comment out this code
if($canimage || $canmedia || $canfile || ($cansignature && $issignature))
{
echo '<script type="text/javascript" src="'.SFEDITORURL.'tinymce/plugins/filemanager/fm-tinymce.js.php"></script>'. "\n";
}without that code, the file upload manager will not start up…
Andrew. said:
Thank you for the reply but I don't think you understand my question.
Main site (forum1)
-multisite 1(forum2)
-multisite 2(forum3)
-multisite 3(forum4)
-multisite 4(forum5)
As I understand the user in charge of each multisite will be the admin for each forum. I'd like to know if there's a super-admin option or known edit available to override each admin's options regarding file uploads.
SuperAdmin automaticly has Admin privlages on any multisite blog. This was one of the security features installed pre-WP3.0
A new idea in Catiptalistic Ecology
Save the Planet – Earn some Green
http://PlanetGreenCentral.com/
Most Users Ever Online: 444
Currently Online: Yellow Swordfish, chaiavi, steve.engelking
77 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
-Radio-: 1251
Lee H: 606
Luffer: 535
Conrad_Farlow: 502
jim: 478
neon: 263
ovizii: 240
Tal: 240
Member Stats:
Guest Posters: 2625
Members: 7361
Moderators: 1
Admins: 2
Forum Stats:
Groups: 5
Forums: 16
Topics: 10890
Posts: 79531
Newest Members: ndc, MacBravO, irlandes1, triphop, betokan, Jonathan Yovani Muñoz, somosguatemala, ahcreate, eatonrabbit, prasanna
Moderators: Brandon C (162)
Administrators: Yellow Swordfish (22211), Mr Papa (23688)
Log In
Register
Home
Add Reply
Add Topic
Offline
Quote




Visit

Privacy Policy
Yellow Swordfish


