WordPress.org

Ready to get started?Download WordPress

Forums

BuddyPress Custom Profile Menu
Links in menu not working (14 posts)

  1. applegateian
    Member
    Posted 9 months ago #

    Hi there

    I've set up a custom menu, and the links I add to this menu are being added to the profile menu drop down, which is what I want.

    However, the links are being appended with the member URL, rather than the absolute URL.

    So for example, in the menu I have a page called My Projects.

    The URL is http://architectsrepublic.com/my-projects/ however it is being added to the menu as http://architectsrepublic.com/members/practicetest/my-projects/

    This is happening to any link I add.

    Any ideas?

    Thanks,

    Ian

    http://wordpress.org/plugins/buddypress-custom-profile-menu/

  2. applegateian
    Member
    Posted 9 months ago #

    OK I have just bought the pro version to see if this would help, it hasn't - please can I get a response on this?

    Thanks

  3. sensibleplugins
    Member
    Plugin Author

    Posted 9 months ago #

    Hi Ian,

    This is the way BuddyPress works. All these tabs are BuddyPress member profile tabs after all, and if you check all the other standard BuddyPress tabs, you'll find the same pattern.

    Hope this helps :-)

  4. applegateian
    Member
    Posted 9 months ago #

    Not really no. My url is absolute in the menu, you don't say anywhere (that I could find) on your documentation that I couldn't link to a custom url from here. I paid for the pro version thinking it might help. There must be a way to get around this?

  5. sensibleplugins
    Member
    Plugin Author

    Posted 9 months ago #

    Your URL is absolute in the WordPress menu, but not in the BuddyPress profile menus. If you select the BuddyPress user profile and hover your mouse on any of the tabs, you'll find that they all start with http://architectsrepublic.com/members/practicetest/...

    Is how the URL is formatted your only problem, or are you trying to achieve something else here?

  6. applegateian
    Member
    Posted 9 months ago #

    I'm trying to add one custom link that goes to a page called 'my projects'

    It's not part of buddypress, it's a custom page - mysite.com/my-projects

    It's unique for each user, but the url is the same

    how can I add a link under that menu to go there? It makes sense to be part of the profile menu.

  7. sensibleplugins
    Member
    Plugin Author

    Posted 9 months ago #

    Our plugin has something called the iframe tab, which will display your custom link inside the tab using an iframe. To create an iframe tab, simply add a link to your menu from the WordPress menu editor (under Appearance->Menus, select your menu and open the group called Links on the left. Enter a link and click Add)

  8. applegateian
    Member
    Posted 9 months ago #

    Hi there

    Tried that and it still comes out as:

    http://mysite.com/members/username/my-projects/

    Doesn't seem to create an iframe?

  9. sensibleplugins
    Member
    Plugin Author

    Posted 9 months ago #

    Are you linking to an external site? Some sites (such as google.com) do not support being displayed in an iframe.

  10. applegateian
    Member
    Posted 9 months ago #

    it's the same site - just an absolute url in my site

    Should I do it /my-projects ?

  11. sensibleplugins
    Member
    Plugin Author

    Posted 9 months ago #

    I have no idea why isn't the iframe displaying. Does it work if you set the link to http://sensibleplugins.com ?

  12. applegateian
    Member
    Posted 9 months ago #

    No, it does the same thing.

    Tried reverting to default theme too.

  13. sensibleplugins
    Member
    Plugin Author

    Posted 9 months ago #

    That's strange...I'd recommend you make sure you're correctly adding the custom link menu. Here is a video that explains this in detail: http://www.youtube.com/watch?v=Zg9R4l3Eu18

  14. applegateian
    Member
    Posted 8 months ago #

    I've checked that video and yes I am adding them correctly. I've removed and done it again and I am still getting the same issue.

    Thanks.

Reply

You must log in to post.

About this Plugin

About this Topic