Skip to:
Content
Pages
Categories
Search
Top
Bottom

friend request under another subnav-item


  • CommonEasy
    Participant

    @commoneasy

    Hi there,

    is there a way to put the friend request loop under a different subnav-item? I’m looking for the screen_function which i can use in the bp_core_new_subnav_item() function. I gues i also have to change the redirect to the original request page to my new subnav-item, any tips? Also i;m curious where i can find the template file for the original request loop. Any help is much appreciated 🙂

    Greetz,
    Easy

Viewing 3 replies - 1 through 3 (of 3 total)

  • danbp
    Moderator

    @danbp

    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.


    CommonEasy
    Participant

    @commoneasy

    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


    danbp
    Moderator

    @danbp

    Can you pastebin the whole code you actually use and provide a screenshot of the output ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘friend request under another subnav-item’ is closed to new replies.
Skip to toolbar