Replies
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, 7 months ago by
Brajesh Singh.
- This reply was modified 9 years, 7 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 Hi Brandon,
I am sorry, I was not able to assist yesterday.Here is what I consider the best strategy.
Empty blogin/login.php (in your theme’s copy).
Now, copy the content of your defuault page.php from your theme and put it in this file.Now, you can visit the backend and add the shortcode etc. If that does not work(BuddyPress resets page id, so content may not be visible), We may need to use the php code in the template like
<?php echo do_shortcode( ' [some_shortcode]' );?>
Also, If you want to go with the look of wpmetalist, It will be very easy to do so.
Hi,
I am sorry but I haven’t reworked on it. Spent last few days preparing MediaPress for WordPress.org submission and the documentation. Have finally submitted it.I won’t be able to work on it today but will start working on it tomorrow and keep you updated. 2-3 days should be more than enough to have this plugin now.
- Brajesh Singh on January 19, 2016 at 7:35 pm in reply to: On activity stream image click does not open the lightbox #2366
Hi Leo,
Are you using some custom code for MediaPress media status or preventing access. Everything seems fine to me but whenever I try to access the lightbox, the server is sending empty list( most probably permission issue with media visibility).Also, I am not able to visit my own media in my personal galleris.
There can be only 2 reasons.
1. Either there is some custom code preventing the media from being listable/accessible or
2. the _mpp_is_mpp_media meta is not being stored.I doubt it is the first issue.
Have you made any changes/upgrades or custom code?
- Brajesh Singh on January 19, 2016 at 12:18 pm in reply to: On activity stream image click does not open the lightbox #2362
Hi Leo,
Most prbably the response from server is not valid json. Is it happening on the same server where we were testing or somewhere else?