Skip to:
Content
Pages
Categories
Search
Top
Bottom

Author's posts in his profile


  • nickrita
    Participant

    @nickrita

    Hello, I have disabled acitivity function and want to show a list auf an author’s posts in his profile.

    How do I manage this?

    Thanks for help

    Rita

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

  • blgdra
    Participant

    @blogadera

    We are trying the same thing…


    Patrik
    Participant

    @patrikp

    I have the same problem, instead of everyone having their own blog the main blog will act as a multi author blog. But on the profile page I want to see the posts from that user and also, the posts she has commented.

    Anyone know how to do this? Help would be very appreciated.


    Roger Coathup
    Participant

    @rogercoathup

    you can do this with your own custom activity loop.

    Filter on blog posts and user ID.

    https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/


    Patrik
    Participant

    @patrikp

    I have bin looking at that page and it seems simple, but I still don’t understand what to do. Can you be more specific?

    Thanks for the help, and please forgive me for my stupid questions ;)


    Roger Coathup
    Participant

    @rogercoathup

    Hej Patrik – are you building your own theme for this (writing PHP, HTML templates, etc.)?

    You’ll have to modify the templates for your profile page (e.g. members/single/home.php in the default theme) to include your custom activity loop.

    You can access the current user_id within that page, and pass it to your custom loop.


    Patrik
    Participant

    @patrikp

    I think I understand it better now! Thanks a lot, will give it a try when I get some time :)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Author's posts in his profile’ is closed to new replies.
Skip to toolbar