Replies
- Brajesh Singh on October 23, 2019 at 5:19 am in reply to: Change behaviour inside the lightbox #26093
Hi,
Please copy plugin/mediapress/templates/mediapress/default/buddypress/activity/views/grid-photo.php to
Your theme/mediapress/default/buddypress/activity/views/grid-photo.phpNow, you will see somethin like this
<a href="<?php mpp_media_permalink(); ?>"change the
<?php mpp_media_permalink(); ?>with
<?php mpp_media_src( 'original' ); ?>Regards
Brajesh - Brajesh Singh on October 23, 2019 at 5:08 am in reply to: Change behaviour inside the lightbox #26091
Hi elias ,
Welcome to BuddyDev.Please visit Dashboard->MediaPress->settings->Theming
Please adjust the lightbox settings there(enable/disable etc).Currently, we do not have the option to link to media.
If you want to do it, you will need to override a template file? Please let me know if you are comfortable with that and I will share how to do it.
Regards
Brajesh Hi Rafi,
Welcome to BuddyDev.Do you want to rename it(change label) or do you want to mix it with profile updates?
Currently, mixing it with profile update is not feasible as we use a different action type.
If you want to change the label, Please use any translation tool to do it.
Regards
Brajesh- Brajesh Singh on October 23, 2019 at 3:39 am in reply to: [Resolved] Buddypress member type registration doesn't work. #26088
Hi Frank,
Thank you for sharing. Makes sense.I am glad you resolved it and shared with us.
Best regards
Brajesh - Brajesh Singh on October 23, 2019 at 3:31 am in reply to: [Resolved] Hide tabs and profile for custom roles #26087This reply has been marked as private.
- Brajesh Singh on October 23, 2019 at 3:27 am in reply to: [Resolved] BuddyPress Moderation Tools Report Button – Modal Pop-up Window #26085
Hi John,
Thank you for using Moderation tools.You can place the button anywhere.
Using the function
echo bpmts_get_report_button( $args );is the way to go.
You need to pass this function 4 arguments.
item_id, item_type are used to identify items. Context helps us understand where the action took place.
To see how we are adding the button, please check src/reportable-types/ directory.
There, you will see a directory for each component we support.Look for that directory/handler/class-prefix-ui-helper.php
For example, for user, It is reportable-types/user/handlers/class-user-ui-helper.php
For activity it is reportable-types/buddypress/activity/handlers/class-activity-ui-helper.phpYou will find there what we are using to generate the button in various contexts.
Please try using them.
Hope this helps.
Regards
Brajesh - Brajesh Singh on October 22, 2019 at 2:46 pm in reply to: [Resolved] Using BuddyPress Member Types as profile field Visibility Levels #26075
You are welcome.
Hi Nik,
You are welcome.The default privacy for each upload is that of its parent gallery.
On the edit media page, you can override that. So, It will have effect. It allows you to override the privacy of each media individually.
Regards
Brajesh- Brajesh Singh on October 22, 2019 at 2:29 pm in reply to: [Resolved] Some help needed with xProfile field privacy #26072
Hi Hans,
This is expected behaviour.BuddyPress does not enforce profile field visibility if you are using xprofile_get_field_data.
The visibility is only enforced in the view/edit profile page. This is how BuddyPress works.
Regards
Brajesh - Brajesh Singh on October 22, 2019 at 2:28 pm in reply to: [Resolved] Custom Link in BP Profile by user role #26071
Hi Frank,
I am sorry I am not able to understand you issue. Can you please help me understand it better?Also, In future, Please open new topic for new issues. That way it helps all.
Thank you
Brajesh