Remove listing tab

This topic contains 6 replies, has 3 voices, and was last updated by  Paolo 7 years, 11 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #325582

    Benjamin Schmitz
    Expired Member
    Post count: 59

    Hi, I’ve seen some similar topics but couldn’t find the actual solution.

    So I wanna remove the listings tab in BuddyPress profile tabs id user hasn’t submitted any listings.
    At first look, I think that buddypress listing section is called in gdbuddypress_functions.php around the line #548, right?

    Commenting the entire code till line #615 obviously removes the listing tab from the user profile tabs.

    So I would like to add an “if” clause to check if the user has published listings, and if returns false, don’t run the code below.

    Can you give me any help with that? Thanks

    That would offer a more personalized experience for paying users. Hope it makes sense.

    #325767

    Paolo
    Site Admin
    Post count: 31206

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #326854

    Kiran
    Moderator
    Post count: 7069

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #329091

    Benjamin Schmitz
    Expired Member
    Post count: 59

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #329092

    Paolo
    Site Admin
    Post count: 31206

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #329093

    Benjamin Schmitz
    Expired Member
    Post count: 59

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #329207

    Paolo
    Site Admin
    Post count: 31206

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

Viewing 7 posts - 1 through 7 (of 7 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount