Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Getting general url

  • Participant
    Level: Initiated
    Posts: 4
    Thomas on #55907

    i am new to buddyboss and i need help.

    1. is there any code to add profile tab to member directory ?

    2. i am using amelia booking with buddyboss. i need help in getting the general url link.

    example: https://www.cabinet.speakexpress.ru/members/tomblack/bookEmployee/. – this booking link is just for a specific user. how can i get a general link. i tried using https://www.cabinet.speakexpress.ru/members/user/bookEmployee/. but it does not work.

    thank you.

  • Participant
    Level: Enlightened
    Posts: 60
    Alex on #55911

    Isn’t buddyboss a paid plugin and not offering support on this?

  • Keymaster
    (BuddyDev Team)
    Posts: 25251
    Brajesh Singh on #55914

    Hi Thomas,
    Thank you for the question.

    You can add the link https://www.cabinet.speakexpress.ru/members/me/ and It will redirect current logged user to their profile.


    @ajex

    Thank you for the reply(I understand you are trying to help us save time and I appreciate it). Let us help if we may do a bit on our part.

    Rgerad
    Brajesh

  • Participant
    Level: Initiated
    Posts: 4
    Thomas on #55918

    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.

You must be logged in to reply to this topic.

This topic is: not resolved