Thanks for all helps before and you are so kind to help me figure out all these issues.
Currently, I met an issue that I want to make “My Friend’s Activity” sub tabs as default tab when I open “Activity” tab. Actually I swapped over “Personal” and “My Friend’s Activity” in the /buddypress/activity/index.php. Somehow, when I click “Activity” tab, by default, it will still display “Personal”.
I’m wondering is there any way to change default sub tab from “Personal” to “My Friend’s Activity” because it will make more sense.
Thank you very much.
I posted a tutorial a few days ago for the same and have given exact same example there.
Please check out here
Hope that helps.
I see that the cookies are not being set to make the “personal” as the default tab.
I am not sure if I can be able to help much from here, you will need to troubleshoot why the cookie is not being set(Also, you will need to keep clearing cookies for each test, otherwise It won’t be visible).
BuddyPress uses cookie to determine the default tab on directory. Please try debuggin that.
You must be logged in to reply to this topic.