Show Sidebar Log in
Commons In A Box Logo
  • Home
  • About
    • Project Team
    • Logos and Graphics
  • Showcase
    • CBOX Classic Showcase
    • CBOX OpenLab Showcase
  • Demo
  • Get Started
  • Documentation
    • Technical Guide
    • CBOX Classic Guide
    • CBOX OpenLab Guide
  • Support Forums
    • CBOX Classic
    • CBOX OpenLab
    • Developers Forum
  • News

Group Admins

  • Profile picture of Scott Voth

CBOX Classic Support

Public Group active 4 months, 4 weeks ago

This group provides support for Commons In A Box Classic, our original software for community-building. Register for an account or log in to commonsinabox.org, then join the group and post your question here.

Menu link to logged in user's profile

  • This topic has 2 replies, 2 voices, and was last updated 12 years ago by Tracy Renee.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • June 2, 2013 at 6:42 pm #2823
    Tracy Renee
    Participant

    Hello everyone 🙂  Thanks for takin the time to look this over.

    I’ve been corresponding today with a lovely person in the buddypress.org forums who’s been so very helpful yet the last code suggestion he made relies on me finding out what the name of that top navigation (over the header) is called in the code.  He tells me to look in my functions.php file to find it, but there’s just about no code in that file lol.

    Here’s the thread with him: https://buddypress.org/support/topic/url-for-menu-to-logged-in-users-profile-page/.  His code for adding “My Profile” worked like a charm EXCEPT it added it to EVERY menu lol.  So he wrote me up some new code that would put it only in the menu I want it in.

    I can’t get it to work though.  When I do what he suggests in that post, all my menu’s disappear.  I tried to gain the name of that menu area from inspecting the element in firefox.  Didn’t work.

    Is there maybe another way to do this? or does anyone have the answer to my conundrum?

    Thanks tons!

    June 2, 2013 at 7:29 pm #2826
    sam brown
    Participant

    Hi, I may have misunderstood the question, but if you are wanting logged in users to have their profile set as their default home page (as in Facebook) then I have used the ‘BP profile as homepage fork’ plugin. That way it does what it says: takes you to your profile automatically on log in and allows you to return to your profile at any time by pressing the home menu button.

    June 2, 2013 at 10:27 pm #2827
    Tracy Renee
    Participant

    oh no that’s not what i mean.  I mean, a “My Profile” link that leads to the logged in users profile.  Preferably I’d like to be able to have more control over where it is, but for now I can live with it plopping in at the end of the menu.  The one problem I have is this, the code the nice person in the buddypress forums gave me, puts “My Profile” in at the end of all of the navigation options (there are 4 spots considered navigation, and 3 of them are all surrounding the header so its 3 times in the header lol).

    The correction code, no matter what I do because I don’t’ know where to find it in this theme, I can’t get it to work, it just deletes all menus altogether lol.

    What you just suggested though is actually a rather brilliant suggestion!  I am going to give it some thought and might just do that 🙂  Sure would be great if it were easier huh? ha

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In
Group logo of CBOX Classic Support
  • Home
  • Forum
  • Announcements
  • Docs
  • Members 287
  • Send Invites

Groups

Newest | Active | Popular | Alphabetical
  • Group logo of CBOX Classic Support
    CBOX Classic Support
    287 members
  • Group logo of CBOX Pioneers
    CBOX Pioneers
    71 members
  • Group logo of CBOX Developers
    CBOX Developers
    40 members
  • Group logo of CBOX OpenLab Support
    CBOX OpenLab Support
    22 members
  • Group logo of CBOX-OL Testing Partners
    CBOX-OL Testing Partners
    12 members

CBOX has its roots in the CUNY Academic Commons, which in turn was made possible through funding from The City University of New York itself.

CUNY Logo

CUNY Academic Commons Logo

City Tech logo

The Commons In A Box was made possible through the generous support of the Alfred P. Sloan Foundation.

Alfred P. Sloan Foundation Logo

NEH Logo

The CUNY Graduate Center has directly contributed to the CUNY Academic Commons, housing the project since its inception, and has contributed to CBOX through its GC Digital Initiatives.

CUNY Graduate Center Logo

CUNY Graduate Center Digital Initiatives Logo

Powered by Commons In A Box
css.php
Skip to toolbar
  • About WordPress
    • WordPress.org
    • Documentation
    • Learn WordPress
    • Support
    • Feedback
  • Log In
  • Register