0

I am looking for a way to allow my visitors to share content between each other in an organized fashion. Essentially the ability to upload files or browse/download files that others have contributed.

These are just XML configuration files that contain a plethora of settings for a 3D printers, so at the core they are really nothing more than just text.

Before I go reinventing the wheel though, is there anything like this already available for Wordpress? If not, what would be my best option? I am thinking perhaps a custom post type, but giving anyone the ability to add them seems difficult.

closed as off-topic by Jacob Peattie, Krzysiek Dróżdż, Jack Johansson Mar 22 '18 at 13:23

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

1

I suggest using BuddyPress groups with the BuddyPress Docs plugin (attachments enabled).

You need to allow XML uploads with:

add_filter('mime_types', 'custom_upload_xml');

function custom_upload_xml($mimes) {
    $mimes = array_merge($mimes, array('xml' => 'application/xml'));
    return $mimes;
}

Not the answer you're looking for? Browse other questions tagged or ask your own question.