Replies
- Brajesh Singh on April 13, 2017 at 1:55 pm in reply to: [Resolved] Alllow one more role than admin to see "private" gallaries #8589
Sorry, my bad.
I will need a little time on this one as it needs some UI change. Please give me a day.
Thank you
Brajesh - Brajesh Singh on April 13, 2017 at 11:28 am in reply to: [Resolved] Remove add friend button for member type on members page/members loop #8585
Hi Sadiqur,
Please open a new topic and we will post a solution.Thank you
Brajesh Thank you.
It is very strange(havew seen it for the first time).I am looking at it and will get back to you later today.
Thank you
Brajesh- Brajesh Singh on April 13, 2017 at 4:58 am in reply to: [Resolved] BuddyPress Limit Friendship Issue #8581
Hi Richard,
Sorry for the delayed example.here is an example code to limit based on role
/** * Limit BuddyPress friendship based on WordPress roles * * @param int $count how many * @param int $user_id for the given user. * * @return int allowed no. of friends */ function buddydev_limit_friendship_count_based_on_role( $count, $user_id ) { if ( user_can( $user_id, 'manage_options' ) ) { //site admin $count = 100; // 100 friends allowed } elseif ( user_can( $user_id, 'moderate_comments' ) ) { //editor } elseif ( user_can( $user_id, 'edit_published_posts' ) ) { //authors } elseif ( user_can( $user_id, 'read' ) ) { //subscriber $count = 3; // only 3 allowed for subscribers } return $count; } add_filter( 'bp_limit_friendship_count', 'buddydev_limit_friendship_count_based_on_role', 10, 2 );Hope it helps.
Regards
Brajesh - Brajesh Singh on April 13, 2017 at 4:19 am in reply to: Why not one Gallery (Folder) for files as expected by sitewide #8580
Hi Jaroslaw,
Thank you for posting.In case of MediaPress, by default each user have their own gallery for each type of media(wall gallery).
Are you using the shortcode to create sitewide gallery? Uploads from activity stream goes to personal gallery and not to sitewide gallery.
if it is happening for a user( say a user uploads 2 photos and there are 3 gallerires created, then it is an issue).
Now, If I look at your question, It seems you want a single shared gallery for all users to upload? It is possible using our Global Shared gallery addon and filtering on wall gallery to avoid create one for each. Please let me know if this is what you want?
Thank you
Brajesh Hi Thomas,
I am sorry that file is not opening for me.Thank you.
Can you please tell me from which page you are trying to upload? Is it the activity stream?Also, If it is not too much, please post me a screenshot(link to it).
Thank you
BrajeshHi Thomas,
Greetings.I am sorry but I am not able to understand the issue?
Have you had an earlier version of MediaPress earlier? Are you trying to upload from activity stream or using shortcoide for uploading?
Thank you
Brajesh- Brajesh Singh on April 11, 2017 at 10:06 am in reply to: [Resolved] Bp branded login and activation links #8563
hi,
Please upgrade to 1.3.2 and let me know if that works or not?the “rp” is for reset password link. On clicking the link, the user will get the password by email.
Thank you
Brajesh - Brajesh Singh on April 10, 2017 at 12:28 am in reply to: [Resolved] Bp branded login and activation links #8554
Hi Daniele,
I am sorry I was not able to do it on Saturday. I will be updating this plugin today(IST) for sure.Thank you
Brajesh