Replies
Thank you very much Brajesh Singh for the reply. this link “https://www.cabinet.speakexpress.ru/members/me/” will be directed to users own profile.
but this is my case – i am adding a button to the buddyboss profile via php snippet. i added this link (https://www.cabinet.speakexpress.ru/members/me/) to this php snippet and this link always redirect to own profile or 404.
this is the php snippet.(function my_custom_button() {
// your button here
echo ‘ <br/><div class=”mcb”>book now<div> ‘;}
add_filter( ‘bp_before_member_header_meta’, ‘my_custom_button’ ); )for example, when a student enters tutors profile and click on the button(book now). the button does not redirect the student to the tutor booking page. but ratter redirect to student own page. and since students dont have the booking function, it takes to the error page.
thank you
- This reply was modified 2 weeks, 3 days ago by
Thomas.
- This reply was modified 2 weeks, 3 days ago by