hi @commoneasy,
anything concerning friends is in /buddypress/bp-friends folder.
It is unclear to me what you want to achieve exactly. Can you please explain the difference between what BP does natively with friends request and you want to get by having a sub-nav item leading to… what exactly ? How do you figure this out ?
Freend request is a more complex affair as simply getting the “request loop” on a separate template.
Hi danbp,
Thanks for your response! I have a custom nav-item “network” containing four sub-nav-items with friends, friends of friends and friends of friends of friends and as last all pending request (with a custom query). These loops are needed for the specific purpose of the website i’m working on. The reason why i don’t use the native “network” tab was because i added some custom styling which didn’t worked out well in combinations with the “sort by” button.
The problem is that i will be redirected to the native request page when i’m clicking on the friendship requested button on my custom requests page (or any other member loop). So my question is:
a) is there a way to show the accept and reject buttons on my custom request page and let the users be redirected to my custom request slug?
b) or show the native request loop on my custom request slug (under my custom network tab). This will mess-up the styling but i will find a solution for that.
c) maybe (or probably) there is a far more simple solution for what i want to achieve (3 loops F, FoF & FoFoF and requests).
I hope my question is clear now. if not, please let me know! and thanks again for your time!
Greetz
Can you pastebin the whole code you actually use and provide a screenshot of the output ?