Mathieu Viet
Forum Replies Created
-
Forum: Plugins
In reply to: [BuddyDrive] Adding a role capability to view group buddydriveHi Anne,
I think it’s a question of capability mapping and the particular capability to map should be a BuddyPress one :
bp_moderateI think this is not specific to BuddyDrive but more to BuddyPress.
Basically the mapping function could be something like :
function histrat76_map_meta_caps( $caps = array(), $cap = '', $user_id = 0, $args = array() ) { if ( 'bp_moderate' != $cap ) { return $caps; } // Allow Editors to "BuddyPress moderate" return array( 'manage_categories' ); } add_filter( 'map_meta_cap', 'histrat76_map_meta_caps', 10, 4 );See this codex page for the capabilities list by role :
http://codex.wordpress.org/Roles_and_Capabilities#Capability_vs._Role_TableHi @geohi
This would be :
<?php if ( bp_is_my_profile() ) : ?>But i advise you not to edit core files of the plugin..
Forum: Plugins
In reply to: [BuddyDrive] User specific sharingHi Eric,
I think it can be achieved using a password protection sharing options, then share the password with the needed specific users.
Forum: Plugins
In reply to: [BuddyDrive] Privacy type One of my groups – Members or PublicHi anfevp,
Thanks for your feedback. I’m not sure to understand..
isn’t that already the case ?
As far as i remember :
Public group :
Only members can upload, but everyone can downloadPrivate/hidden groups :
Only members can upload and download.Forum: Plugins
In reply to: [BuddyDrive] Available space limitation not workingThanks for the report. I’ll check this asap.
Forum: Plugins
In reply to: [BuddyDrive] Display User Quota on a custom pageSorry for my late reply, the answer is Yes 🙂
Here’s an example you can use for the loggedin user :
<?php buddydrive_user_used_quota( false, bp_loggedin_user_id() ) ; ?>So far the administrator is the only one to view all files from the Back end. I need to work on a better capability system, so i’ll take this with me in https://github.com/imath/buddydrive/issues/12 and will see what i can do.
Thanks for your feedback.
Forum: Plugins
In reply to: [BuddyDrive] Uploading 5GB with Buddydrive is possible?I’d answer, as BuddyDrive mainly relies on WordPress upload features, that if it’s possible for WordPress, then BuddyDrive should be ok 🙂
Forum: Plugins
In reply to: [BuddyDrive] Document ViewerI must say i’m not confident about this. But if you find a way that works on any OS/Browser without requiring specific add-ons please pull a request here :
https://github.com/imath/buddydriveThanks for your feedback and sorry for my late reply.
It’s not possible right now, but i will work on it for next upgrade. I will close this topic, but you will be able to follow my progress here :
https://github.com/imath/buddydrive/issues/12Forum: Plugins
In reply to: [BuddyDrive] Share with more than one groupHi @cemfundog
Sorry for my late reply and thank you for your feedback about it.
I agree it’s an interesting feature. I will close this topic, but you’ll be able to follow my progress about it here :
https://github.com/imath/buddydrive/issues/10Forum: Plugins
In reply to: [BuddyDrive] NotificationsI don’t think i’m using notifications for BuddyDrive at all. I will check it soon. What would be the object of notifications ?
i can see: “A friend shared an item with you”
Do you have other ideas about it ?
Hi @sepidpooy
Sorry for my late reply. That’s not very easy. I rely on WP_Query and for this part more precisely on Meta Queries. I need to check the improvements made by core since WordPress 4.1 in this area.
I apologize if it’s taking some time to make it happen. I know it’s an interesting feature that a lot of users would love the plugin to introduce. I will do my best to include it in next upgrade.
I will close this topic, but you will be able to follow my progress here :
https://github.com/imath/buddydrive/issues/6Forum: Plugins
In reply to: [BuddyDrive] Security and server recommendationsHi @kadymahinder,
Thanks for your feedback and sorry for my late reply.
BuddyDrive relies on WordPress built-in allowed mime-types. In the BuddyDrive settings (WordPress Administration > Settings > BuddyDrive) you will find this list of mime-types which are all enabled by default. You can choose to deactivate the ones that you don’t want to allow for your site.
BuddyDrive also relies on the WordPress max upload file size limit setting. You can also add a more restrictive value for it from the same place.
Forum: Plugins
In reply to: [BuddyDrive] Allow Admins to edit and upload to other users' buddydrives?No, it’s not possible right now. Sorry. I think it’s an interesting idea. I will close this ticket but will include the need in my workflow. Thanks for your feedback.
Use https://github.com/imath/buddydrive/issues/11 to follow the progress of your request.
