Skip to:
Content
Pages
Categories
Search
Top
Bottom

Calling the album loop on the User’s Profile

  • Avatar of Jeanmeslier
    jeanmeslier
    Participant

    @jeanmeslier

    Hello, I am using 1.8.7 and I’ve found how to call up the site-wide album on the user’s profile page, but what I would like to do is call up only the user’s album on the user’s page, and also have that particular album displayed even when the user is not logged in. It seems like it should be simple, since I would like to eliminate the album tab and focus on the album and some basic info for the user’s profile, but I can’t figure out how to do it. If anyone has any tips for me it would be much appreciated.

Viewing 1 replies (of 1 total)
  • Avatar of Jeanmeslier
    jeanmeslier
    Participant

    @jeanmeslier

    OK, so it was pretty simple actually. I just copied the album query template from bp-album/includes/template/album/all-images.php to the area I wanted it to appear and changed this:

    `$args = false; // Do *not* change this`

    to this:

    `$args = $currentuser;`

    where

    `$currentuser = bp_displayed_user_id();`

Viewing 1 replies (of 1 total)

The topic ‘Calling the album loop on the User’s Profile’ is closed to new replies.