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,
ClaireHi 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
BrajeshHi 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
BrajeshHi Brajesh,
I know I already said thank you but again thank you ^^
Did you find a way to fix the pagination?Best regards,
ClairePS.: 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?
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
BrajeshHi 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,
ClairePS. : 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 ^^
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.