This topic has 7 replies, 2 voices, and was last updated 9 years by Laura.

  • Author
  • #76293
     parousia
    Participant

    Hi!

    I’ve made some edits to activity.php in order too add some functionality to it So I can make it a second home page for logged in users. These were mostly html edits, calling of shortcodes and an if statememnt to check if the profile belongs to the logged in user.

    The problem is that when I click either of the sub menu links ( Personal, Mentions, Favourites, Friends, Groups) It takes me to a different page that ignores the edits in activity.php and due to my css changes it messes up the formatting. I’m unable to find the template files for any of these pages.

    Could you explain how these links work and if there’s any fix for this issue? I’ve been looking through files but my php knowledge is a little weak to piece it together.

    Ive attached two screen shots showing part of the changes I have made and the problem I have. If required I can paste my changes here.

    Thanks any help is greatly appreciated!

    Attachments:
    You must be logged in to view attached files.
    #76493
     Laura
    Moderator

    Hello, you will need to do the change to the other profile parts, activity.php is only for activity

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #76574
     parousia
    Participant

    I’ve looked but I cant find where the Mentions, Favourites, Friends, Groups template files are?

    #76871
     Laura
    Moderator

    Hello, depending on the changes you do, you can try by looking at members folder home.php , profile.php and in page-parts older you have 1 file for buddypress profile

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #77091
     parousia
    Participant

    Hi, unfortunately I can’t find any evidence of an activity feed for mentions, favourites, friends and groups in the files you mentioned? are they created on the fly? if so how?

    #77287
     Laura
    Moderator

    Hello, those files are the ones you need to edit, you’ll find the various files in the members/single folder. member-header.php and home.php are ones you should start with, in child theme

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #77312
     parousia
    Participant

    Hi, Thanks! sorry I’m still very new to php it took me a while to understand how it worked, I’ve moved my changes from activity.php too home.php 🙂

    #77461
     Laura
    Moderator

    Hello, so everything resolved? Great 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

Viewing 8 posts - 1 through 8 (of 8 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?