Mathieu Viet
Forum Replies Created
-
Forum: Plugins
In reply to: [BP Reactions] A few requests…About 1. Are we talking about this:
https://cldup.com/p00vWmeNFl.pngBecause if that’s the case, BuddyPress doesn’t provide a title attribute into its navigation API. So it seems difficult to accomplish as there’s no hover text at all.
About 2. The only ‘do_action’ available in BuddyPress is after the delete button unfortunately. So unless you’re doing some funky stuff in JS, or override the activity entry into your theme, seems difficult to accomplish.
About 3. I guess you can always use specific CSS rules.
About 4. From the BuddyPress options you can use a unique Reactions subnav. Else you can always use this kind of code:
function bryanbatcher_hide_subnav() { if ( ! function_exists( 'bp_reactions' ) ) { return; } bp_reactions()->temp_hide = array( 'favorite' => true ); foreach ( bp_reactions()->temp_hide as $key => $hide ) { if ( ! isset( bp_reactions()->reactions[ $key ] ) ) { continue; } bp_reactions()->temp_hide[ $key ] = bp_reactions()->reactions[ $key ]; unset( bp_reactions()->reactions[ $key ] ); } } add_action( 'bp_activity_setup_nav', 'bryanbatcher_hide_subnav', 9 ); function bryanbatcher_restore_reactions() { if ( ! function_exists( 'bp_reactions' ) ) { return; } bp_reactions()->reactions = array_merge( bp_reactions()->reactions, bp_reactions()->temp_hide ); } add_action( 'bp_activity_setup_nav', 'bryanbatcher_restore_reactions', 11 );Forum: Reviews
In reply to: [BP Reactions] Great plugin, works perfectly.Thanks a lot for your review 🙂
Forum: Plugins
In reply to: [BP Reactions] Display the reactions differentlyNo, i’m sorry it’s not possible right now, as clicking on the React button is ajax requesting them the first time.
Forum: Plugins
In reply to: [BP Reactions] Use only emoji autocompleteFirst, i will never add a setting to disable the main purpose of the plugin !!!
The emoji autocomplete was added for fun and is not really important. Anybody can build their own emoji autocomplete..
Anyways, if you really want to only use the emoji autocomplete, then you can put this code into a bp-custom.php file:
https://gist.github.com/imath/d50ffad10d13616d6d307bb7bdc3877bForum: Plugins
In reply to: [Rendez Vous] Aucun utilisateur trouvéHello,
sorry for my late reply. Have you tried to deactivate all plugins except BuddyPress and rendez-vous ?
If not try this and see if that fixes the issue, if so reactivate plugins till you find the one that is causing the issue.Forum: Plugins
In reply to: [BuddyDrive] Ajax LoadingHi thank you.
Yes this is typically the scenario that must not be great for BuddyDrive as it loads using Ajax and Javascript itself.
I think i’d try to adapt the native app to extend BuddyDrive’s Javascript. Or if it’s possible, avoid loading BuddyDrive inside another Ajax request 😉
Forum: Plugins
In reply to: [BuddyDrive] Email Notifications for BuddyDriveHi,
Screen or email Notifications are not implemented yet. This is something i still need to work on for a future release.
If you are a developer, you could probably contribute and try to pull a request on the plugin’s github repository. I guess this could be achieved with this kind of function (not tested):
function ctaylor_notify_user( $file_id, $params = array() ) { if ( ! empty( $params['parent_folder_id'] ) ) { $parent_folder = buddydrive_get_buddyfile( $params['parent_folder_id'], buddydrive_get_folder_post_type() ); // Notify if the one who put a file is not the owner of the folder if ( ! empty( $parent_folder->user_id ) && (int) $params['user_id'] !== (int) $parent_folder->user_id ) { // your code to send an email/screen notification. } } } add_action( 'buddydrive_add_item', 'ctaylor_notify_user', 10, 2 );Forum: Plugins
In reply to: [BuddyDrive] Upgrade from v1.3.2, migration issueHi,
The migration step is upgrading the post status of the BuddyDrive files and folders. So an easy way to see if everything is ok is to check in your database that there’s no more “publish” in the post_status field of the BuddyDrive Post types.
You can also check by using this gist. If some BuddyDrive items need an upgrade you will get the list of IDs concerned.
Finally, you can also check your error log file, you should find the BuddyDrive items for which the routine wasn’t able to perform upgrade: It should look like this:
The item ID [ID of the BuddyDrive Item] could not be updated to the status [Post Status of the BuddyDrive Item].Forum: Plugins
In reply to: [Rendez Vous] Installation "rendez-vous" : BuddyPress me pose des problèmesYou need to make sure:
– BuddyPress 2.5.+ is activated
– Rendez-vous is activated the same way than BuddyPress. For instance if BuddyPress is network activated, Rendez-vous should be network activated.Rendez-vous can be created from the Users front end profiles.
Hi,
You can probably use an alternative translation file. Or use this filter:
function akshatkharbanda_get_component_name( $name ) { return 'Whatever'; } add_filter( 'rendez_vous_get_component_name', 'akshatkharbanda_get_component_name', 10, 1);Forum: Plugins
In reply to: [WP Idea Stream] Change the word IdeaYes, there’s a lot of filters to help you do this.
See this example where ‘idea’ has been replaced by ‘talk’
https://github.com/imath/wc-talkForum: Plugins
In reply to: [WP Idea Stream] User Ideas Feed Filled with other Content TypesI’ve quickly checked the badgeOs code and don’t see a custom post type names ‘ideas’ so i’m a bit surprised.
Can you test this filter to make sure it’s a post type name conflict?
function dwb325_get_idea_post_type( $post_type ) { return 'dwb325_ideas'; } add_filter( 'wp_idea_stream_get_post_type', 'dwb325_get_idea_post_type', 10, 1 );Forum: Plugins
In reply to: [BuddyDrive] Conflict with WPMLOk thanks, it was worth checking, you can remove the filter if you haven’t done it yet.
WPML is a premium plugin, so i can’t test it. If you are sure the problem is due to this plugin, i advise you to ask for their support.
Sorry i can’t help you more on this problem.
Forum: Plugins
In reply to: [BuddyDrive] Conflict with WPMLWhat happens if you bring back the old UI using this filter :
add_filter( 'buddydrive_use_deprecated_ui', '__return_true' );in a bp-custom.php file for example ?
Forum: Plugins
In reply to: [BuddyDrive] Show public files in a specific page2.0.0 introduced a new UI. First i needed to make sure everything was working great for the defaults behaviors of BuddyDrive with no regressions.
What you describe is not a default behavior, so if you want to keep using it, you’ll need to use the old UI. To do so, you can use this filter:
add_filter( 'buddydrive_use_deprecated_ui', '__return_true' );Even if it’s pretty easy to list all public files with the new UI, i still need to run some tests. If anyone wants to contribute > https://github.com/imath/buddydrive PR are welcome.