Mathieu Viet
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Idea Stream] Can’t add commentsHow is it possible for me to help you with so few informations ???
1/ It you’re using a premium theme: Switch to a WordPress default theme
if the problem is still there go to point 2 else contact your Premium theme support2/ describe precisely what is going on, what is the WordPress version, information about your configuration like plugins activated, add screenshots…
3/ turn WP_DEBUG on, redo what’s not working to see if there are errors, if so share them here.
When you go to the Doctor are you just saying “I’m hurt, fix it!” ?
or simply take 30 seconds to read what’s in the yellow part of this page: https://wordpress.org/support/plugin/wp-idea-stream#new-post
Forum: Plugins
In reply to: [WP Idea Stream] Replace ratings with votes or likes> Following but also wondering about voting without logging in. Is that do-able?
No> like unlike, disable built in ratings using this code in mu-plugins/functions.php or the functions.php of your theme:
add_filter( 'wp_idea_stream_is_rating_disabled', '__return_true' );Forum: Plugins
In reply to: [WP Idea Stream] Show oEmbeds in IdeastreamHi, i think you can do it alone.
in your theme create the folder:
wp-idea-streamOnce created, copy the file
wp-idea-stream/templates/idea-entry.phpand paste it into thewp-idea-streamfolder you created in your theme. Into this file replacewp_idea_stream_ideas_the_excerpt()bywp_idea_stream_ideas_the_content()it should use the full content of ideas anywhere (including embeds).Forum: Plugins
In reply to: [WP Idea Stream] Commenting bug under BuddyPress groups (multisite)@jeffacubed thanks a lot for your investigations: very helpfull to fix the issue.
It will be fixed in 2.3.4. In the meantime, you can use this code:
https://gist.github.com/imath/97f98706dd42e58d6847a391c8f7f0c0Forum: Reviews
In reply to: [WP Idea Stream] BP users cannot post comment on IdeasIf you’re talking about this forum post: https://wordpress.org/support/topic/commenting-bug-under-buddypress-groups-multisite/
I only count 1 user + you.
But nevermind. It will be fixed in WP Idea Stream 2.3.4.
Thank you SO MUCH for your 1 star. I guess it’s the way you’ve found to express your disappointment about me: a guy who doesn’t earn anything from building WordPress plugins and tries to do his best with the time his everyday job leaves him.
A more interesting behavior, imho, would have been to hire a developer to make him fix the issue and share it into the support forum. It’s open source, you can contribute, it’s not forbidden!
This is not a Premium plugin, you can’t expect the same reactivity.
Forum: Plugins
In reply to: [WP Idea Stream] IdeaStream TagCloud in Public vs. Private BuddyPress GroupsHi @jeffacubed,
By default idea tags are using the
_update_post_term_countcallback which prevents the ‘private’ post status to be in the count.Now if you use a filter like this:
function jeff_tag_register_args( $args = array() ) { $args['update_count_callback'] = '_update_generic_term_count'; return $args; } add_filter( 'wp_idea_stream_tag_register_args', 'jeff_tag_register_args', 10, 1 );It should satisfy your “count” need.
To make the most common used tags for the WordCamp Paris, i’ve used this filter:
https://github.com/imath/wc-talk/blob/master/WP_PLUGIN_DIR/wp-idea-stream-custom.php#L908I think the only part you need to edit is the
'hide_empty'args, you’ll probably need to use the0value, because i doubt WordPress’sget_terms()function is checking for private posts.Forum: Plugins
In reply to: [WP Idea Stream] Status of ideasIf it’s something that should be done within the administration screen, you can probably get some inspiration from what we used to have a mini workflow for the WordCamp Paris 2016 :
See https://github.com/imath/wc-talk/blob/master/WP_PLUGIN_DIR/wp-idea-stream-custom.php#L1222
If you need post meta, the plugin comes with an API, so you can probably get some inspiration of what we did for the targeted Audience and the level required by the talk:
https://github.com/imath/wc-talk/blob/master/WP_PLUGIN_DIR/wp-idea-stream-custom.php#L962I also advise you to read this wiki page, it explains how to add custom functions to WP Idea Stream:
https://github.com/imath/wp-idea-stream/wiki/wp-idea-stream-custom.phpForum: Plugins
In reply to: [WP Idea Stream] Deletes without confirmationI think it’s behaving like WordPress posts. Deleted ideas should still be available in trash.
Forum: Plugins
In reply to: [WP Idea Stream] disable ratingHi @georgio-1
/** * Neutralize the built-in rating system */ add_filter( 'wp_idea_stream_is_rating_disabled', '__return_true' );You can put the above code inside a wp-idea-stream-custom.php file at the root of your /wp-content/plugins directory or if you are using a “mu-plugins” file, just add it there 🙂
There other snippets available here: https://gist.github.com/imath/672f3b81009a0f30c7b5#file-wp-idea-stream-custom-php
Forum: Plugins
In reply to: [WP Idea Stream] wp_idea_stream_get_category->idYou can use
wp_get_object_terms( $idea->ID, wp_idea_stream_get_category() )Forum: Plugins
In reply to: [WP Idea Stream] BuddyPress profile Ideas also loading Link Roundup PostsWhat is the post type name used by your plugin, if it’s “idea”, then you can change the one used for WP Idea Stream by filtering ‘wp_idea_stream_get_post_type’ and use the name of your choice.
Forum: Plugins
In reply to: [WP Idea Stream] Groups: allow only group admins, mods to createSure, you simply need to add a filter to edit the capability mapping. Here’s an example of filter for any groups:
function my_custom_cap_mapping( $caps, $cap, $user_id, $args, $group = null ) { if ( empty( $group->id ) ) { return $caps; } if ( 'publish_ideas' === $cap && ! groups_is_user_admin( $user_id, $group->id ) && ! groups_is_user_mod( $user_id, $group->id ) ) { $caps = array( 'do_not_allow' ); } return $caps; } add_filter( 'wp_idea_stream_buddypress_group_map_meta_caps', 'my_custom_cap_mapping', 10, 5 );Forum: Plugins
In reply to: [BuddyDrive] !important: i'll soon stop this plugin supportYes i’m stopping my contribution to this plugin, but don’t worry, i’m really happy the plugin will survive as someone has kindly adopted the plugin and will make it really great 😉
Forum: Plugins
In reply to: [BuddyDrive] !important: i'll soon stop this plugin supportTo change the name of the main BuddyDrive user nav, you need to change the title of the WordPress page used by the plugin.
Or you can use a filter like this one:
add_filter( ‘buddydrive_get_name’, function( $name ) {
return ‘whatever you want to use as the name’;
}Forum: Plugins
In reply to: [BuddyDrive] Doesn't activate att all on WPMUHi,
I know this setup can be problematic if instead of activating BuddyPress on the sub site you are using a constant to change the root blog.
See https://wordpress.org/support/topic/buddydrive-in-mulitiste?replies=4#post-8325927
I’ll try to fix this when i’ll find some time to.