Replies
Hi Gregg,
can you please check it on a different installation or by changing the theme? I don’t see any issue on my local here.- Brajesh Singh on April 20, 2017 at 3:42 pm in reply to: Displaying title and user on shortcode pages #8686
You can put it in your theme’s functions.php or in the bp-custom.php in the plugin’s directory
https://buddydev.com/docs/guides/guides/buddypress-guides/what-is-bp-custom-php/
Regards
Brajesh - Brajesh Singh on April 20, 2017 at 2:27 pm in reply to: Displaying title and user on shortcode pages #8684
Hi Ryan,
The following code will add the gallery creator’s name in the gallery title at all places/** * Injects gallery owner's name in the gallery title * * @param $title * @param $id * * @return string */ function mpp_custom_add_owner_name_gallery_title( $title, $id ) { $gallery = mpp_get_gallery( $id ); if ( ! $gallery ) { return $title ; } //do you want to only filter for certain component? uncomment the below lines /* if ( 'sitewide' !== $gallery->component ) { return $title; } */ return $title . '<span class="gallery-owner-user">' .sprintf( ' by: %s', bp_core_get_userlink( $gallery->user_id ) ) .'</span>'; } add_action( 'mpp_get_gallery_title', 'mpp_custom_add_owner_name_gallery_title', 10, 2 );Hope that helps.
Regards
Brajesh - Brajesh Singh on April 20, 2017 at 1:13 pm in reply to: Displaying title and user on shortcode pages #8683
Thank you Ryan.
Please let me check and I will post back.
Regards
Brajesh - Brajesh Singh on April 20, 2017 at 1:09 pm in reply to: Make "My Friend's Activity" as default #8682
Hi Dandy,
Thank you.
I see that the cookies are not being set to make the “personal” as the default tab.I am not sure if I can be able to help much from here, you will need to troubleshoot why the cookie is not being set(Also, you will need to keep clearing cookies for each test, otherwise It won’t be visible).
BuddyPress uses cookie to determine the default tab on directory. Please try debuggin that.
Hi Kalpesh,
can you please tell me what do you mean by the menau? Do you mean the profile field groups? Or is it something elose?
If possible, Please link me to a screenbshot and I will be able to help. And, It does not matter how you have done it, It will always be possible to have different css.
Regards
Brajesh- Brajesh Singh on April 20, 2017 at 1:01 pm in reply to: [Resolved] Featured Members not displaying on Members page #8679
You are welcome. marking it as resolved. Please do open a new topic if you need any assistance in future.
Regards
Brajesh - Brajesh Singh on April 20, 2017 at 11:23 am in reply to: [Resolved] Plugin idea – Buddypress group and members shortcodes #8675
Just adding that we have something similar and more in Community Builder Theme.
Members shortcode:-
https://buddydev.com/docs/guides/community-builder/buddypress-shortcodes/buddypress-members-list-shortcode/Groups Shortcode:-
https://buddydev.com/docs/guides/community-builder/buddypress-shortcodes/buddypress-groups-list-shortcode/You can see all other BuddyPress shortcodes here
- Brajesh Singh on April 19, 2017 at 8:08 pm in reply to: [Resolved] Bp branded login and activation links #8672
Hi Daniele,
Hope you are doing well.did the update work for you?
Thank you
Brajesh Hi Per Hopen,
I am sorry for the delayed reply. I did see the problem on your site today. Will be trying to recreate and update you by day end today or tomorrow.Thank you
Brajesh