Replies
- Brajesh Singh on July 22, 2017 at 5:18 am in reply to: [Resolved] MediaPress Previous Next links #9996
Hi Graham,
You can do it easily in cssa.mpp-next { float:right;} /** We do no need to do anythign with the mpp-previous as it is already at left I am posting the selector here in case you want to add some styling etc. */ a.mpp-previous{ }Please add it(You my do via Customizer Additional Css) and It will do the needful.
Hope that helps.
Regards
Brajesh - Brajesh Singh on July 22, 2017 at 5:14 am in reply to: BuddyPress Editable Activity – not working #9995
Hi,
Sorry about the delay. It is coming today for sure. Hi Diana,
Will you like to use the field name or description as the placeholder? Please let me know and I will put some code. It should work.Thank you
Brajesh- Brajesh Singh on July 22, 2017 at 4:49 am in reply to: [Resolved] How to approve photos before be published in user's profile? #9993
Hi,
I am sorry, It is not yet polished enough to be in public domain(the plugin). Will release in next 3-4 days and link here.Thank you
Brajesh Hi,
That last modification makes it work.Here is a better version though
/** * Filter wall gallery title * * @param string $title name of the wall gallery. * @param array $args { * Context details. * @type string $component component name(e.g groups|members|sitewide) * @type int $component_id numeric component id( e.g group id or user id based on the component) * @type string $type media type(e.g photo, video,audio, doc etc) * * } * * @return string new title */ function mpp_custom_wall_gallery_name( $title, $args ) { // in this example, we are going to change the title for the groups wall gallery like this // <group name> wall gallery. if ( 'groups' === $args['component'] ) { $title = sprintf( '%s wall %s gallery', groups_get_group( $args['component_id'] )->name, strtolower( mpp_get_type_singular_name( $args['type'] ) ) ); } return $title; } add_filter( 'mpp_wall_gallery_title', 'mpp_custom_wall_gallery_name', 10, 2 );I have tested it and it works fine.
Hope that helps.Hi Andy,
The current dashboard add option is not properly designed for author or lower levels. We need to work on it a little bit. For now, Please let the users use front end gallery creation.We will make sure to put a new release next week and make the backend options proper for user with all kind of roles(based on the site policy)
Thank you
BrajeshHi Francoise,
I will test and report back. I see there is a typo in my above code$title = sprintf( '%s wall %s gallery', groups_get_group( $args['component_id']->name ), mpp_get_type_singular_name( $args['type'] ) );It should be
$title = sprintf( '%s wall %s gallery', groups_get_group( $args['component_id'])->name , mpp_get_type_singular_name( $args['type'] ) );Most probably taht is causing the issue. I will still test and report back.
Hi Diana,
Thank you for the kind words.To make the placeholder, Please copy the file ‘ajax-register-form.php’ from the ajax registration plugin to your theme.
Once you have done it, you will see some php code
You can add the placeholder attribute to the text fields. Please do note that it won’t be feasible for the dynamic profile fields(BuddyPress generates the actual html for that), but you can do it for the username, email, password etc as they are static fields.
Hope that helps.
Regards
Brajesh- Brajesh Singh on July 19, 2017 at 10:53 pm in reply to: BuddyPress Auto Activate Auto Login — Turn the activation email back on? #9980
Hi Ethan,
I am sorry I missed your post earlier.
Are you on multisite? If yes, you can add the following line to bp-custom.php to enable the default emailadd_filter( 'wpmu_welcome_notification', '__return_true', 111 ); add_filter( 'wpmu_welcome_user_notification', '__return_true', 111 );If you are not on multisite, BuddyPress does not send any welcome email. I had written a post long ao that allows doing it. You may find it useful
https://buddydev.com/buddypress/send-welcome-email-to-users-when-they-activate-their-account-on-wordpress-buddypress-based-social-network/Hope that helps.
Regards
Brajesh - Brajesh Singh on July 18, 2017 at 9:03 pm in reply to: Problems with the Photo, video, music and album pages #9978
HI Christian,
I am sorry but I am unable to properly understand. Please help me understand it better.1. Is it happened after the update of MediaPress? If yes, which version of MediaPress are you using currently?
2. Was it working earlier(with older version of MediaPress)?
3. If it is not the above two, which is the update you had done.4. if it is MediaPress update, Can you please delete MediaPress and reinstall.
5. Please visit Dashboard->MediaPress->Tools and post me the log.
Thank you
Brajesh