Skip to:
Content
Pages
Categories
Search
Top
Bottom

Guide on how to link to different user pages

  • @toregus

    Participant

    Perhaps you’re rebuilding the BP-theme to your liking and find that you want to link to specific pages for the user. This is how you do to get the users to those pages:

    <a href="<?php global $bp; echo bp_core_get_userurl($bp->loggedin_user->id); ?>profile/change-avatar">Change avatar</a>

    You can change profile/change-avatar to the pages in the bp-theme.

    activity/

    just-me

    my-friends

    profile/

    change-avatar

    edit

    index

    settings/

    general

    notifications

    With this you can for example put everything from “settings” on the user profile page. That way you’ve got one page less and one thing less on your userbar.

    You can make things dissapear from the userbar/optionsbar with using the css-command display:none. Google for it.

    KISS!

Viewing 2 replies - 1 through 2 (of 2 total)
  • @erich73

    Participant

    1)


    @Tore
    ,

    I think this is a great idea ! All the “Settings Stuff” should be in the User-Profile-section.

    This would make a lot of sense !

    2)

    Also thinking about Jeffs “Privacy Settings”-plugin: this should also find its place within:

    “MY / Profile / Privacy Settings”

    @toregus

    Participant

    Hi again!

    This is a picture of how it looks in my page right now:

    http://skitch.com/tore/nnsxq/profile-page

    [Ändra profile] [Byt bild] [Allmänna inställningar] [Epost-notiser]

    means

    [Change profile] [Change avatar] [General settings] [Email notifications]

    You can set any name and skinning of course.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Guide on how to link to different user pages’ is closed to new replies.
Skip to toolbar