Replies
Hi,
Thank you.
That is fine, At least we are reaching somewhere. Please keep it as it is for now. Can you please send me your login.php by mail on brajesh@buddydev.com?I just need to check a few things and I can update accordingly.
Does you theme now have “blogin/login.php”
I mean in your theme, you have the “blogin” folder and there in he “blogin” folder you have the login.php, which you have replaced with the page.php content?
Hi Brandon,
Yes, Please move “blogin” folder to your theme. Then replace the content of login.php with that of page.phpThat should make it work.
Currently, single the plugin is not able to see this template, is using theme compat.
Hi Brandon,
Thank you.
Can you please give it a try again.1. Activate the plugin (Keep it active if it is already)
2. Visit BuddyPress->pages and Change the login page to this new page that you have created with shortcode.3. As I asked earlier, If you have updated the blog/login.php in your theme, do you have the post loop there? If yes, It should work.
I checked again and the page_id is set to 0 by BuddyPress but if there is a loop, It runs. Can you please try that.
Hi Brandon,
Thank you.I will work on it and will provide you some code to enable us use the visual editor for page content.
- Brajesh Singh on January 21, 2016 at 6:30 pm in reply to: [Resolved] Bug with featured image – BuddyBlog / Simple Front End Post. #2384
Hi Rodolfo,
Thank you. I am thinking about some possibilities. Is there any chance that you upgraded from older version of Simple front end post plugin? Hi Erich,
Though it is possible to filter nav menu and add Item, I will prefer another approach.I will create a page call it say “my-subscriptions” and then on “template_redirect” action check if the user is logged and is trying to visit this page redirect to the link you wanted to link earlier.
Something like this
add_action( 'template_redirect', 'buddydev_bbp_redirect_tosubscription_page' ); function buddydev_bbp_redirect_tosubscription_page() { if( ! is_user_logged_in() || ! is_page( 'my-subscription') ) { return ; } $url = bbp_get_user_profile_url( get_current_user_id() ) . 'forums/subscriptions/#bbp-author-unread-topics'; wp_safe_redirect( $url ); exit(0); }
Hope that helps.
Hi,
Perhaps there is an existing widget here
https://github.com/sorich87/buddypress-my-groups-widgetIf that does not suits you, can you please let me know what improvements can we provide if we have to create new widget?
Thank you
Brajesh- Brajesh Singh on January 20, 2016 at 10:08 pm in reply to: [Resolved] Bug with featured image – BuddyBlog / Simple Front End Post. #2375
Hi Rodolfo,
I am sorry but I am not able to produce any of these.I am on WordPress 4.4.1/BuddyPress 2.4.3 and using BuddyBlog 1.1,4 and BP Simple front end post 1.2.7
Can you please post a screenshot of your settings page for BuddyBlog?
- This reply was modified 9 years, 6 months ago by
Brajesh Singh.
- This reply was modified 9 years, 6 months ago by
- Brajesh Singh on January 19, 2016 at 9:01 pm in reply to: On activity stream image click does not open the lightbox #2370
Hi Leo,
Thank you for the details.I can understand it now. Since in MediaPress, The MPP_Media_Query and MPP_Gallery_Query extends WP_Query, any action/filter applied on the WP_Query also affects it.
There is an easy solution though.
function SearchFilter($query) { if ( $query->is_main_query() && $query->is_search) { $query->set( 'post_type', 'post' ); } return $query; } add_action( 'pre_get_posts', 'SearchFilter' );
Make sure to check for is_main_query() on the query object and it will not affect any other loop.
More details on MPP_Media_Query and MPP_Gallery_Quey below.
https://buddydev.com/mediapress/topics/api-reference/core/mpp_media_query/
https://buddydev.com/mediapress/topics/api-reference/core/mpp_gallery_query/Hope that helps
Thank you
Brajesh