Mathieu Viet
Forum Replies Created
-
Forum: Plugins
In reply to: [BuddyDrive] Not showing menu, so I can't upload anythingHi @freetheweb
I’m really sorry to read there are difficulties with BuddyDrive and Theme X. Unfortunately i cannot afford to buy each premium theme to understand what’s going wrong with BuddyDrive. However if the Theme X team is ok to give me a free copy of the theme, i’ll be happy to fix the issue with BuddyDrive.
Thanks a lot for your interest in this plugin. BuddyPress introduced really interesting thing into this area with the BP Attachments API, next version of BuddyDrive will use it. I know there are a lot of requests for a media component that would be included in BuddyPress, i’m pretty sure one day or another something will be built in this area by the core team.
Forum: Plugins
In reply to: [BuddyDrive] changing http:// to https://Ok i’ve been testing in
httpsi can’t reproduce your trouble, everything works fine. You must have a trouble in your config.Forum: Plugins
In reply to: [BuddyDrive] Search BuddydriveSearch is possible within the administration of the plugin because the user has the capibility to view and manage all files.
What you’re asking for is potentially breaking the file’s privacy. So it must be done with some precautions. That’s the reason why i haven’t worked on it so far.
When i’ll do, it will be in user’s profile or in groups, but never across all files.
I don’t know about a plugin extending BuddyDrive to match your need, sorry.
Forum: Plugins
In reply to: [BuddyDrive] Not showing menu, so I can't upload anythingYou should really test with another theme (eg: twentyfifteen) with no other plugins activated than BuddyPress and BuddyDrive & rendez-vous 🙂
Then reactivate your theme, if the problem happens, there’s a problem with your theme, else reactivate the other plugins one by one to find which one is problematic.
Forum: Plugins
In reply to: [BuddyDrive] Upload box twice – plupload problemHave you tried using BuddyDrive with only BuddyPress activated and a “twenty” theme eg: twentyfifteen ?
Forum: Plugins
In reply to: [BuddyDrive] durability of filesThanks for your feedback 😉
I think, i would use WordPress Cron API for this need see https://codex.wordpress.org/Function_Reference/wp_schedule_event
You should be able to add a daily event that would loop in BuddyDrive file post types to get the needed IDs using WP_Query see http://codex.wordpress.org/wp_query#Date_Parameters
To get the BuddyDrive post type “id”, you can alternatively use
buddydrive_get_file_post_type()or directly ‘buddydrive-file’So i guess the query could look like this :
$args = array( 'post_type' => buddydrive_get_file_post_type(), 'date_query' => array( array( 'after' => 'January 1st, 2013', 'before' => array( 'year' => 2013, 'month' => 2, 'day' => 28, ), 'inclusive' => true, ), ), 'posts_per_page' => -1, ); $query = new WP_Query( $args );Then after i guess you can loop throught results to get the IDs and user_ids and do something like for each item :
buddydrive_delete_item( $result->ID, $result->user_id ).Forum: Plugins
In reply to: [BP Avatar Suggestions] Does not display Avatar ChoicesHere’s the default settings for media in WordPress
https://cloudup.com/c8_WY-ExoBjWhat you’ve described :
1)The Thumbnail is set at: WIDTH: 150 HEIGHT: 150 and the crop images to dimensions is unchecked. There are not dimensions for Medium or Large.
means a plugin or a theme is overriding WordPress default settings, because as you can see:
- “crop images to dimensions” are not the words WordPress is using, it’s using ‘Crop thumbnail to exact dimensions (normally thumbnails are proportional)’
- You should have the medium size and large size
2)Yes, thumbnail size is available.
3)I get one file per image in its original size and format.When i’m asking ‘Is the thumbnail size available?’ I was meaning: are thumbnails generated. It appears it’s not the case as you only get the original size uploaded. If Thumbnail size was available you would have :
– image.png
– image-150×150.pngSo my question is who’s (plugin or theme) playing in this area ? It would really be awesome if you could find this reply to help me find a fix.
Forum: Plugins
In reply to: [BP Avatar Suggestions] Does not display Avatar ChoicesOk, then if you uploaded an image > 150px x 150px, this means a plugin or a theme (or you) might be playing with WordPress thumbnail image size.
1/ What do you have in Administration / Settings / media ?
2/ Is the thumbnail size available ?
3/ When you upload an image in WordPress media library what are the different files you get ?Forum: Plugins
In reply to: [BuddyDrive] changing http:// to https://Hello,
1/ The ‘https’ thing is surprising me. BuddyDrive is using
bp_get_root_domain()which is usingget_home_url()to build the urls. So the https url scheme should be used.If you add this code somewhere you know you will only be the one to access to
<?php var_dump( bp_get_root_domain() ) ;?>What is the url output ?
2/ I’m afraid i have no idea 🙁
Yes i’ve updated it yesterday night, it should be fixed now.
Forum: Plugins
In reply to: [BP Avatar Suggestions] Does not display Avatar ChoicesIf you make sure to upload images having dimensions > 150×150 px, is the issue still there ?
1.2.1 should fix the issue. Thanks everyone for your help.
Forum: Plugins
In reply to: [BP Avatar Suggestions] admin-ajax.php loads as many times as the avatars@lenasterg version 1.2.1 should fix the issues you reported.
Thanks for your help.
Forum: Plugins
In reply to: [BP Avatar Suggestions] Does Not Display Avatar Suggestions On Front EndCould you try to upload images having dimensions > 150×150 px ?
Forum: Plugins
In reply to: [BP Avatar Suggestions] admin-ajax.php loads as many times as the avatarsOk i see what the problem is. I’ll upgrade the plugin asap to fix this issue. Thanks a lot for your feedbacks.