Replies
Hi 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 - Brajesh Singh on July 18, 2017 at 7:56 pm in reply to: Problems with the Photo, video, music and album pages #9974
If it started looking like that, please use the older version. Is working fine for other BuddyPress user page?
- Brajesh Singh on July 18, 2017 at 6:45 pm in reply to: Problems with the Photo, video, music and album pages #9969
Hi Christian,
Welcome to BuddyDev.Are you using the customizr theme from wp.org? Is it the latest? Please let me know. I will need to download and test in order to assist you.
Thank you
Brajesh - Brajesh Singh on July 18, 2017 at 12:38 pm in reply to: [Resolved] Show gallery owner when using [mpp-list-gallery] #9965
Thank you Kjell 🙂
- Brajesh Singh on July 18, 2017 at 4:26 am in reply to: BuddyPress Moderation – Report Users/Groups #9963
Hi Graham,
Thank you for posting.
Do you mean creating a new plugin for this purpose or using the existing one?Thank you
Brajesh With version 1.1.6 and above, there is a better way to do it.
https://buddydev.com/support/forums/topic/rename-wall-photo-gallery-2/#post-9961
Hi,
Please upgrade to 1.1.6 and then you can put the following code in your bp-custom.php/** * 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 ), mpp_get_type_singular_name( $args['type'] ) ); } return $title; } add_filter( 'mpp_wall_gallery_title', 'mpp_custom_wall_gallery_name', 10, 2 );That will do it.
Regards
Brajesh