Mathieu Viet
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Idea Stream] Update "Add New" textYou can use a specific language pack and put it in /wp-content/languages/wp-idea-stream
Or filter ‘wp_idea_stream_reset_post_title’ and rebuild the entire title eg:
function gdOg_archive_title( $title, $context ) { if ( 'archive' !== $context ) { return $title; } if ( wp_idea_stream_user_can( 'publish_ideas' ) ) { // Your custom text $custom_text = "Whatever you prefer"; $title = '<a href="' . esc_url( wp_idea_stream_get_root_url() ) . '">' . wp_idea_stream_archive_title() . '</a>'; $title .= ' <a href="' . esc_url( wp_idea_stream_get_form_url() ) .'" class="button wpis-title-button">' . $custom_text . '</a>'; } return $title; } add_filter( 'wp_idea_stream_reset_post_title', 'gdOg_archive_title', 10, 2 );Forum: Plugins
In reply to: [BuddyDrive] download pdf not workYou plugin shows as being incompatible
I’d say “it seems there’s a problem with your configuration and the BuddyDrive plugin”. Because for me, BuddyDrive is fully compatible with latest WordPress and BuddyPress releases.
I can post BuddyPress activities, i have no errors.
Forum: Plugins
In reply to: [BuddyDrive] Root folder is all that is showingUsing latest WordPress (4.3), BuddyPress (2.3) and BuddyDrive (1.3) with the twentytwelve theme, just over the “Root folder”, i have and you should have the toolbar to add/edit files or folders.
Forum: Plugins
In reply to: [WP Idea Stream] how can I show Idea's title on members list bbpHi, if i understand well: you are looking for a way to display the latest idea a member posted inside the BuddyPress members loop.
here’s how you could do :
function natty_latest_idea_in_members_directory() { // Ideally, there should be a cache strategy to improve performance. $idea = wp_idea_stream_ideas_get_ideas( array( 'author' => bp_get_member_user_id(), 'per_page' => 1, ) ); if ( empty( $idea['ideas'] ) ) { return; } $latest_idea = reset( $idea['ideas'] ); if ( ! is_a( $latest_idea, 'WP_Post' ) ) { return; } // always use this function to build the idea permalink! $latest_idea_link = wp_idea_stream_ideas_get_idea_permalink( $latest_idea ); ?> <p>Latest idea: <a href="<?php echo esc_url( $latest_idea_link );?>" title="<?php echo esc_attr( $latest_idea->post_title );?>"><?php echo esc_html( $latest_idea->post_title );?></a></p> <?php } add_action( 'bp_directory_members_item', 'natty_latest_idea_in_members_directory' );You must know this will bring you some overload in the display of the members directory. There should be a cache strategy to avoid to request for posts at each member. So i think, i wouldn’t advise you to use this as is, but i would advise you to ask a WordPress/BuddyPress developer to build the feature so that it doesn’t overload too much the loading of this specific page.
Forum: Plugins
In reply to: [BuddyDrive] BuddyDrive in BP Group MenuHi, you should be able to achieve this really soon. I’ll include a filter in next minor upgrade which should be available before the end of the week.
See https://github.com/imath/buddydrive/commit/a00ae61890fbb3b1b581941a99ca0f0f1ce85518
Forum: Plugins
In reply to: [BuddyDrive] User Permissionbuddydocs.
Are you sure you’re in the right place ? BuddyDocs makes me think about the BuddyPress Docs plugin
Forum: Plugins
In reply to: [BuddyDrive] download pdf not worki have no idea. Everything works fine for me. The server is Apache, IIS or Nginx ?
Forum: Plugins
In reply to: [WP Idea Stream] Error: Something went wrong while trying to save your idea.Ah.. is it possible to have infos about your config ?
Forum: Plugins
In reply to: [WP Idea Stream] Change Some Words without Hacking the Pluginyw 🙂
I haven’t downloaded it, but have you tried to name your file wp-idea-stream-de_DE.po/mo. Because the plugin will look for this kind of name (eg: wp-idea-stream-fr_FR is loading because it’s prefixed ‘wp-idea-stream-‘).
Forum: Plugins
In reply to: [WP Idea Stream] no "add new" buttonForum: Plugins
In reply to: [WP Idea Stream] more than 1 idea per useIt’s at the right part of the ideas archive page title, or you can use the nav widget to put it in your sidebar
Forum: Plugins
In reply to: [WP Idea Stream] Change Some Words without Hacking the PluginAbsolutely. I think you can also put it in wp-content/languages/wp-idea-stream
Forum: Plugins
In reply to: [WP Idea Stream] Showing Blog Posts Instead of Ideas on Archive PageNo, i’ve just tested it and it’s working fine for me.
Ah! yes i hope i will last the longest possible 🙂
Maybe you can paste a link to the file here?