Replies
- Brajesh Singh on March 24, 2018 at 12:38 pm in reply to: images not uploading. on activity stream #14086
Last question answered here
https://buddydev.com/support/forums/topic/how-do-i-make-images-much-larger-on-the-activity-feed/I am not sure why the upload misbehaved but it is strange.
- Brajesh Singh on March 24, 2018 at 12:37 pm in reply to: how to add shortcode to top of activity feed #14085
Hi Peter,
This should do the jobecho do_shortcode( '[rev_slider alias="' . bp_get_displayed_user_username() . '-story"]' );Regards
Brajesh - Brajesh Singh on March 24, 2018 at 12:35 pm in reply to: how to set the Activity feed to ascending? #14084
Hi Peter,
Here is the updated code to show the updates by default on user profiles./** * List activities in ascending order. * * @param array $args activity args. * * @return array */ function buddydev_list_activities_ascending( $args ) { if ( bp_is_user_activity() ) { $args['sort'] = 'ASC'; if ( empty( $args['action'] ) ) { $args['action'] = 'activity_update'; } } return $args; } add_filter( 'bp_after_has_activities_parse_args', 'buddydev_list_activities_ascending' );Best regards
Brajesh - Brajesh Singh on March 24, 2018 at 11:36 am in reply to: [Resolved] how do I show full posts on the profile feed without 'read more'? #14082
Hi Peter,
I am marking it as resolved as it dealt with the original issue.For your last question, let us continue discussion at
https://buddydev.com/support/forums/topic/how-to-add-shortcode-to-top-of-activity-feed/Thank you
Brajesh Hi Madhavi,
I am sorry but I am unable to assist as I could not recognise the theme from the screenshot.Since t seems to be a custom theme, I will suggest you to use chrome developer tool to identify the element and then add proper css.
Best Regards
Brajesh- Brajesh Singh on March 24, 2018 at 11:31 am in reply to: [Resolved] how do i make images much larger on the activity feed? #14080
Hi Peter,
Hope you are doing well.
In case of MediaPress, we currently create 2 size of images– thumbnail
– mid
-largeand then there is the original fiull image
If you want to change the dimension for each of these sizes, you can do that from Dashboard->MediaPress->settings->General
The changes will apply to newer uploaded images only(which are uploaded after the settings change).
Now, in case of activity, we use the thumbnail size. The simplest way to change it will be to copy
wp-content/plugins/mediapress/templates/mediapress/default/buddypress/activity/views/grid-photo.php to
wp-content/themes/[Your-current-child-theme or theme]/mediapress/default/buddypress/activity/views/grid-photo.php
and then modifying this
<img src="<?php mpp_media_src( 'thumbnail' ); ?>" class='mpp-attached-media-item' title="<?php echo esc_attr( mpp_get_media_title() ); ?>"/>to
<img src="<?php mpp_media_src( 'mid' ); ?>" class='mpp-attached-media-item' title="<?php echo esc_attr( mpp_get_media_title() ); ?>"/>For example, we changed the size to mid.
Hope that helps.
Regards
Brajesh - Brajesh Singh on March 24, 2018 at 11:25 am in reply to: Can not upload images with Mediapress at BP activity page #14079This reply has been marked as private.
- Brajesh Singh on March 24, 2018 at 11:22 am in reply to: [Resolved] Urgent: Mediapress conflict with Gravityforms accessing admin "view entry" #14077
The fix is available as part of MediaPress 1.3.5 now. Please upgrade.
- Brajesh Singh on March 24, 2018 at 11:08 am in reply to: Can not upload images with Mediapress at BP activity page #14076
Hi Alex,
If you have some time, Please do check and let me know if the updates worked or not?Regards
Brajesh - Brajesh Singh on March 24, 2018 at 10:37 am in reply to: [Resolved] MediaPress – S2Member Storage Limit – storage limits by member level not working #14075This reply has been marked as private.