Replies
- Brajesh Singh on March 1, 2016 at 10:02 pm in reply to: Show recent visitors only to me + images are not changing size #2851
Hi Jasmin,
Please upgrade to 1.3.1 and the issue will be fixedhttps://buddydev.com/plugins/recent-visitors-for-buddypress-profile/
Thank you
Brajesh Hi Piotr,
The comments are handled by activity and currently counting comments for gallery is not very efficient(and that’s why comment counts are not included).If you still need it, I will post the code but please do know that it is not efficient and not very scalable solution. It will be nice to keep a count in one of the metas in future and sync them.
- Brajesh Singh on March 1, 2016 at 6:54 pm in reply to: [Resolved] Mediapress – Media loop instead gallery loop #2844
Marking this thread as closed due to lack of replies and I feel the last post clarifies about template structure.
Hi Jon,
By RC, I meant Release candidate of the plugin.You may try it on a test server.
https://buddypress.org/2016/02/buddypress-2-5-0-release-candidate-1/Yes, the autologin will work.
Hope that clarifies.
- Brajesh Singh on March 1, 2016 at 6:49 pm in reply to: [Resolved] GETTING "AN ERROR OCCURRED IN THE UPLOAD. PLEASE TRY AGAIN LATER." #2842
Hi Jay,
I am sorry I was away from Desk while you messaged. That should work as a temporary fix. It is just hiding the notices.The best solution will be to supply the functions which is causing the error. Since Divi is a premium theme, I don’t have access and could not do much. hoping that ET guys will assist you.
Please do let me know how it goes.
Thank you
Brajesh - Brajesh Singh on March 1, 2016 at 6:46 pm in reply to: [Resolved] Custom Gallery From BuddyPress Fields #2841
Hi Paul,
Here is a completely working code that you can use. It is tested to work.function add_member_images() { //Include image.php for helper functions require_once ABSPATH . 'wp-admin/includes/image.php'; $title = 'Nature is great'; $content = 'checking this out'; $gallery_id = 292; //change $media_type = 'photo'; $type = 'image/jpeg'; $url = 'http://localhost/4.4.2/wordpress/wp-content/uploads/15-beach-sea-photography.jpg'; $file = '/wp-content/uploads/15-beach-sea-photography.jpg'; $status = 'public'; $component_id = 1; $component = 'members'; $media_data = array( 'title' => $title, 'description' => $content, 'gallery_id' => $gallery_id, 'user_id' => get_current_user_id(), 'is_remote' => false, 'type' => $media_type, 'mime_type' => $type, 'src' => $file, 'url' => $url, 'status' => $status, 'comment_status' => 'open', 'storage_method' => mpp_get_storage_method(), 'component_id' => $component_id, 'component' => $component, //'context' => $context, 'is_orphan' => 0, ); $id = mpp_add_media( $media_data ); } add_action('mpp_actions', 'add_member_images');
Please update the fields as you need. It was giving fatal error because we did not include image.php which has some required functions needed for processing media.
Hope that helps.
A fix is coming in BuddyPress 2.5 hopefully(not fully confirmed).
Also, BuddyPress 2.5 contains a very easy way to customize your emails(using theme customizer), so you won’t have to worry about including the login link. It is just a couple of weeks before the 2.5 stable coms out(RC is is already out).I am hoping that will resolve the issue for you.
- Brajesh Singh on March 1, 2016 at 7:50 am in reply to: [Resolved] GETTING "AN ERROR OCCURRED IN THE UPLOAD. PLEASE TRY AGAIN LATER." #2833
Hi Jay,
Can you please upgrade my account to superadmin. If I can look at that line in the file, I will be able to put a temporary solution. Hi Michael,
If you have issues translating the file, I will be happy to supply with the same. I am assuming your locale is en_US?Please do give a try to filters.
Thank you.
It looks awesome 🙂