Skip to:
Content
Pages
Categories
Search
Top
Bottom

create my own home page

  • @jane_135

    Participant

    I want to create my own home page where I can see all the messages, wire, activity and wathever I want.

    I´ve noticed that for example when I go to members/admin/activity, in some where is set $GLOBALS[“plugin”] = bp-activity.php

    Where is set this?????

Viewing 4 replies - 1 through 4 (of 4 total)
  • @lancewillett

    Participant

    Hi Jane_135,

    You can add the messages, activity, and wire areas as Widgets to any page you want. Look at the file called “home.php” in your home theme to see an example of how BuddyPress does this by default on the home page.

    If you don’t have a home theme, read up on the installation process at https://codex.buddypress.org/getting-started/installing-individual-components/ — look for the “Installing the default home theme” and follow the directions there.

    Also, the explanation of how the themes work (and how the Widgets within the home page file work) see https://codex.buddypress.org/getting-started/using-the-buddypress-themes/.

    @jane_135

    Participant

    But I don´t want to add widgets to my home page…(There is no messages widget)

    I want to create a new file as bp-activity.php called bp-myownhome.php and include what I want reestructuring the buddy press code…

    @burtadsit

    Participant

    I really don’t understand what you are trying to do. You want to create a new member theme?

    https://codex.buddypress.org/developer-docs/creating-a-custom-buddypress-theme/

    @jane_135

    Participant

    I´ve done something but I think I need quite work…

    First, I´ve created a new file:

    \\bp\\wp-content\\mu-plugins\\myownpage.php

    This file is where I redirect when I access to admin area

    If I access to http://localhost.localdomain/bp/members/admin/myownpage/

    The file is loaded…

    I want to make a \”home admin page\” in which I put some information:

    -Last entries unreaded

    -Private messages

    -A brief profile

    -Some html

    -Brief Activity

    -Brief Wire

    I need to load bp-activity, bp-messages, bp-profile,… classes…

    Do you know?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘create my own home page’ is closed to new replies.
Skip to toolbar