Skip to:
Content
Pages
Categories
Search
Top
Bottom

Modifying Activity Page


  • lil_bugga
    Participant

    @lil_bugga

    Site:http://www.vwrx-project.co.uk Using WordPress 4.6 and BuddyPress 2.6.2

    I’ve just installed BuddyPress as I want to create a community based website within WordPress.

    My end goal is to have a site where multiple users can add content regarding their car project/build, where each update they add is displayed on the homepage of the site, but where viewing a users profile you could, should you wish, view someones project in its entirety with all posts and content or view just the images they’ve uploaded.

    I’m in the process of creating my own theme for this website but I’m having a hard to changing anything within BuddyPress.

    I’ve copied the entire BuddyPress plugin directory into my theme and then each document I edit I make a note of, so then I can remove any files I haven’t touched. I wanted to start with something simple before moving onto bigger modifications so opted to try and change the Site-Wide Activity title that displays.

    I have found bp-activity-actions.php line 450 & class-bp-activity-component.php line 125 and edited, saved and uploaded/overwrote these files into my themes version of Buddypress but can’t get the title to change.

    Once I’d done that I was hoping to edit the activity page to remove almost everything, the only part I really wanted to keep was the activity feed itself so that anyone visiting my sites homepage will see the most recent updates etc.

    Have I missed/overlooked something silly. I’m more accustomed to creating websites myself with CSS and PHP etc but as I want this site to be easy to use and accessible to multiple people adding content I felt this would be a better route to take.

Viewing 2 replies - 1 through 2 (of 2 total)

  • danbp
    Moderator

    @danbp

    I can’t read the codex at your place but if you really did this:

    I’ve copied the entire BuddyPress plugin directory into my theme

    you started on the wrong side.

    BP Plugin directory ? Really ? Or bp-templates/bp-legacy/buddypress/ directory ?
    Also you already hacked core files. This is not recommended at all anyway, and on a CMS, the form (template) is separated from the content (core)….

    BuddyPress Theme Development


    lil_bugga
    Participant

    @lil_bugga

    I copied the entire directory with all of it’s components, with the intention of deleting any file that remained unchanged. My thinking was this way I was not messing with the core files but a copy of them so I could always revert back should I need to.

    In order to change the Site-Wide Activity title on a page where would I start if not the core files? I searched for each file that contained the phrase “Site-Wide Activity” and those were the instances I’d found.

    I can’t modify page.php in my theme when BuddyPress seems to insert it’s own content during the page load.

    When I installed BuddyPress I was expecting unique pages that could be duplicated and modified to include/exclude the elements wanted within the page and to style those pages with ease, a bit more like a standard theme I guess.

    What do I do now, my guess is start of by deleting my duplicated directory.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar