Mathieu Viet
Forum Replies Created
-
Forum: Plugins
In reply to: [Buddy-bbPress Support Topic] no status anywhereForum: Plugins
In reply to: [Buddy-bbPress Support Topic] no status anywhereweird..
could you temporarily add this code to the functions.php of your active theme :
function bpbbpst_debug_dropbox( $new_span, $args ) { var_dump( $new_span ); return $new_span; } add_filter( 'bpbbpst_support_admin_links', 'bpbbpst_debug_dropbox', 10, 2 );then check if some output is done in the topics single view
Forum: Plugins
In reply to: [Buddy-bbPress Support Topic] Hide topicHi,
Thanks for your feedback. i think what you’re asking for is bbPress territory. You should be able to edit a topic visibility from the topic Administration screen in WordPress backend.
Forum: Plugins
In reply to: [Buddy-bbPress Support Topic] "Support Topic Stats" Widget DisappearsHi could you be more specific about your bbPress config ?
because as i’ve alerted here a year ago, version 2.0 of the plugin :
No more support for BuddyPress group forums using bbPress 1.x
This means, you need to use the bbPress plugin, and not the BuddyPress legacy forums component which is listed in the retired components of the BuddyPress components administration panel.
If you’re still using the legacy forums, then you’ll need to use a previous version of the plugin.
Forum: Plugins
In reply to: [Buddy-bbPress Support Topic] no status anywhereThank you.
Could you check in each forum’s administration if in the support meta box one of the 2 first option is activated, for instance :
> https://cloudup.com/cMnpR30LUTbForum: Plugins
In reply to: [Buddy-bbPress Support Topic] no status anywhereHi could you be more specific about your bbPress config ?
because as i’ve alerted here a year ago, version 2.0 of the plugin :
No more support for BuddyPress group forums using bbPress 1.x
This means, you need to use the bbPress plugin, and not the BuddyPress legacy forums component which is listed in the retired components of the BuddyPress components administration panel.
Forum: Plugins
In reply to: [WP Idea Stream] using ideastream templatewhat if you create a specific sidebar eg: sidebar-ideastream.php and call it from your ideastream.php template using get_sidebar( ‘ideastream’ ). Is it working better ?
Forum: Plugins
In reply to: [WP Idea Stream] theme breadcrumbmy theme is using breadcrumbs
Then it seems to me, you first need to ask the theme author how to edit the breadcrumbs 🙂
I guess he might use the
get_the_title()function… If so, i think it might be better to use wp_title() (not sure though!)FWIW I’m using this function
wp_idea_stream_reset_post_title()to set the titles regarding contextsForum: Plugins
In reply to: [WP Idea Stream] Number of comments is wrongIt looks like the post ID of the idea is reset to 0. Very strange. Just tested and i don’t get this issue 🙁
Forum: Plugins
In reply to: [WP Idea Stream] Add back Add menu for contributor's roleAll users can submit an idea from the front office. In the Admin part, the administrator can manage votes for instance, and it could be problematic to let all users access to it..
But if you really want this to happen, you can use this code. Please note, i don’t recommand it, as a result, i will not provide any support if this breaks some functionalities of the plugin:
function allow_admin_access( $caps, $cap, $user_id, $args = array() ) { if ( is_admin() && 'edit_ideas' == $cap ) { // Use WordPress Default cap (contributor/author/editor/Admin) $caps = array( 'edit_posts' ); } return $caps; } add_filter( 'wp_idea_stream_map_meta_caps', 'allow_admin_access', 10, 4 );Forum: Plugins
In reply to: [WP Idea Stream] Hide Ideastream from logged out users and redirectThanks for your feedback @derhage
WP Idea Stream does not create / require any WordPress page. If you created a page named “ideastream” and the root slug of the plugin is “ideastream”, then if you go on the plugin’s settings page. You should have a slug conflict.
As a result, doing an
is_page( 'ideastream' )check to restrict the access to loggedin users only will logically have no effects.Below, you’ll find some code to restrict the access to BuddyPress and WP Idea Stream to loggedin users. I advise you to use 2 functions, this way if you deactivate BuddyPress or WP Idea Stream, you won’t have a “white screen of death” because one of the function is not available!
It’s also best to use the bp-custom.php / wp-idea-stream-custom.php file to put your custom code, as these two files won’t be loaded if the corresponding plugins are not activated.
/** * If BuddyPress is activated and you want * to restrict BuddyPress front-end access to * loggedin users only. * * Put this in a file named bp-custom.php in * your wp-content/plugins directory */ function buddypress_redirect_non_loggedin_user() { if ( is_buddypress() && ! is_user_logged_in() ) { bp_core_redirect( get_home_url() ); } } add_action( 'bp_actions', 'buddypress_redirect_non_loggedin_user', 1 ); /** * If WP Idea Stream is activated and you want * to restrict WP Idea Stream front-end access to * loggedin users only. * * Put this in a file named wp-idea-stream-custom.php in * your wp-content/plugins directory */ function wp_idea_stream_redirect_non_loggedin_user() { if ( wp_idea_stream_is_ideastream() && ! is_user_logged_in() ) { wp_safe_redirect( get_home_url() ); exit(); } } add_action( 'wp_idea_stream_actions', 'wp_idea_stream_redirect_non_loggedin_user', 1 );Forum: Plugins
In reply to: [WP Idea Stream] 2.0.0 UpgradeIf it’s canvas, as it’s a premium theme, i will not be able to look at it.
I’ll try to look at woo commerce this we. Thanks for your feedback
I’ve added you to my “thanks for contribution to the 2.0” release 🙂
http://imathi.eu/2014/11/01/buddy-bbpress-support-topic-2-0/
Forum: Plugins
In reply to: [WP Idea Stream] 2.0.0 UpgradeYes it’s working 🙂
So there might be a problem with canvas or woocommerce. I’m very interested to know if it’s the theme (canvas) or the plugin (woocommerce) that is generating the weird behavior you submitted at first place.
Thanks for your feedback.
Forum: Plugins
In reply to: [WP Idea Stream] 2.0.0 UpgradeHave you tried first this :
As you seem to have trouble, i advise you to do some local tests using a MAMP/WAMP/LAMP software. With no other plugin and default WordPress theme.
Try to refresh your permalink settings by hitting the save permalink settings.
If it doesn’t change anything :
Make a backup of your database and files.
Deactivate all plugins even WP Idea Stream
In Database remove all options beginning by ‘_ideastream’ in your wp_options table
Use a WordPress default theme such as twentytwelve
Activate WP Idea Stream only
Go to IdeaStream Settings submenu copy the url to the main archive page of the plugin without changing any settings.
Paste the url in the browser and check what’s going on.If it doesn’t work. Try with a new install of WordPress. If you run a multisite. Create a new blog to test.
PS: I’d appreciate you don’t comment my entries on my Google plus profile. Support is here or on the plugin’s github repository.