Replies
Hi Brajesh, by profile, I mean domain/members/member_name/, where the Send Private Message normally is displayed, in the div#item-buttons, in the div#item-header-content.
Thanks
Hi Brajesh, it’s site/members/member_name/visitors page which it involves.
I have been going through all relevant hooks but can’t find the right one, so the Send Private Message button only shows under the profile
Thanks
Hi Brajesh, just to clarify my question and why this is important. Of course it makes no sense to have a send private message button anywhere else than on profile page.
<?php bp_send_private_message_button(); ?> in the bp_after_member_body custom hook
Why is the button displayed in /visitors but not in /members directory, the hook must be the same for those two directories?
visitors directory
/visitors
https://imgur.com/8ShJ4Twmembers directory
/membersRegards
Carsten- calu on March 31, 2020 at 10:32 am in reply to: [Resolved] Redirection to the members directory on login #28432
Hi Brajesh, I came across this plugin ‘BP Login Redirect’, its working perfectly but again, it has not been updated for five years.
https://wordpress.org/plugins/buddypress-login-redirect/
Do you see any security issues using this plugin, and would you consider taking over this abdonned plugin maybe merging it with Login Redirect to Profile for adding more redirection options for it?
Regards
Carsten Another approach is this, from an 9 years old topic, would it work today?
https://buddypress.org/support/topic/icons-next-to-navigation/
Thanks
CarstenHi Brajesh, yes I understand, thanks
Hi Brajesh, thanks, its not clear if my theme supports this or not, but as the developer wrote, if it works with twenty series WP theme, it should work with my the also.
I have to investigate this further and find a solution with the theme developer.
Can I ask you to please clarify which #your-custom-id, you are referring to in this code, and where I find this?
div#item-nav ul #your-custom-id a:before { content: "\f24d"; /*replace the code with icon code from front awesome*/ }
Regards
CarstenHi Brajesh, thanks for your reply.
My point is, that the Send Private Message button with that hook is following the convention of only showing on profile pages, where it makes sense to send a message.
Not on users own profile page, the settings page, the members directory page, or any other BP page than the recent visitor page.
Not a big issue, I can probably hide it with css on recent visitors page.
Regards
CarstenHi again, I got this answer from my theme support, does this help?:
“GP doesn’t do anything special for BuddyPress. There are also no icons built-in other than the ones needed in the theme (menu toggle, drop down arrow etc).
If BuddyPress’s support can provide a solution that works with a twenty series WP theme, the same method should apply to GP as well.”
- calu on March 29, 2020 at 8:28 pm in reply to: [Resolved] Why are menu items pr default listed with dots? #28413
Hi Brajesh, thanks for your help, I will do that. Strange enough there are only two items in the list, but three dots?
Regards
Carsten