BuddyDev

Search

Help with BuddyPress User Profile Tabs Creator Pro

Tagged: , ,

  • Participant
    Level: Initiated
    Posts: 13
    Claire on #55664

    Hi Brajesh,

    No worries, it’s kind enough to try to help!

    1. I created the bp-custom.php in wp-content/plugins as I didn’t had one and add your code in between <?php ?>
    2. Then I re-created the tab mes-discussions and use the shortcode.

    It’s there alright but when I click on it, the display toggle in mobile display with an error. 😮 And I see a 500 error in console on the URL forums/mes-discussions

    (You should be able to still connect with the ID I gave you if you wanna check.)

    I’ll understand if you want to stop trying to help me, really no worries.
    Thanks a lot anyway!
    Best regards,
    Claire

  • Keymaster
    (BuddyDev Team)
    Posts: 25090
    Brajesh Singh on #55665

    Hi Claire,
    Thank you.
    Something is causing fatal error there. Can you please delete the bp-custom.php that you created and let me know(keep the tabs).

    I see you have snippets plugin enabled, I would add it to the snippets plugin. That should make it work.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25090
    Brajesh Singh on #55666

    Hi Claire,

    I saw that you removed the code. I have added it in snippets and I still see the fatal error on the tab screen.
    This means when the topic is being rendered, there is something causing fatal error after the first topic. I believable on your site, there is some functionality enabled(in BuddyBoss) which will not work outside their well known places.

    If feasible, Can you provide me the contents of debug.log from wp-content(after enabling WP_DEBUG) and visiting the tab. That will give us exact idea what is the issue there. For my local install, the same shortcode is working(I have a very basic setup with defaults).

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 13
    Claire on #55667
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25090
    Brajesh Singh on #55675
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25090
    Brajesh Singh on #55676
    This reply has been marked as private.
  • Participant
    Level: Initiated
    Posts: 13
    Claire on #55679

    Hi Brajesh,

    I know I already said thank you but again thank you ^^
    Did you find a way to fix the pagination?

    Best regards,
    Claire

    PS.: Don’t you have a way to chat with BuddyBoss so they’ll fix what seems to be their bugs instead of busting your head off to find a workaround?

  • Keymaster
    (BuddyDev Team)
    Posts: 25090
    Brajesh Singh on #55680

    Hi Claire,
    Thank you for the reply.

    1. I was able to change pagination url by filtering on bbp_get_topics_pagination_base. The problem is it does not work with default tab and passing the complete base url(hardcoded) may have trouble with canonical redirect(for some reason, that was not the issue on your site). I can share the code where you might have to update 1 line with your tab/sub tab slug(e.g. /forums/mes-discussions/) and it should work.

    We do not have a direct channel with BuddyBoss currently. From the past client experience, we find it faster to resolve issue on our own when feasible to save time. You may approach them if you have a valid license and check their feedback for the same.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 13
    Claire on #55684

    Hi Brajesh,

    Please do share the code and tell me where I need to update the URL. I’ll use your shortcode only on the “Mes discussions” tab and it won’t be the one by default.

    Thank you,
    Claire

    PS. : thanks for the information about BuddyBoss Platform, I’m already on a bug with them since several weeks so I won’t add another one right now ^^

  • Keymaster
    (BuddyDev Team)
    Posts: 25090
    Brajesh Singh on #55690

    Hi Claire,
    Thank you.

    Please use this and let me know if it works or not?

    https://pastebin.com/raw/4ZtiJN6x

    You will need to replace the old code with it. It has your tabs slug hardcoded. Please check it if it is causing 404 on pagination.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved