Plugin: BuddyPress Media

Join this plugin group to follow comments, support topics and reviews.

Display All Album images on page w/ navigation (17 posts)

Started 1 year ago by: ignitionmedia

  • I found this very handy post about creating a page that displayed all members album uploads; http://www.zacharydenton.com/how-to-display-buddypress-album-images-anywhere/

    But, I cant get pagination to work on my page.. Its only displayed the first page of images

    Does anyone know how this would be done?

  • Profile picture of foxly foxly said 1 year ago:

    @ignitionmedia

    Somewhere in the template tags function file is a “display pagination links” function. Add that to your template, and it will build the correct URL’s for you to page through the images.

    ^F^

  • @foxly, where can I find the template tags function file?

  • Profile picture of karlschweigert karlschweigert said 1 year ago:

    @ignitionmedia check out plugins/bp-album/includes/bp-album-templatetags.php

  • Profile picture of karlschweigert karlschweigert said 12 months ago:

    I found this: function bp_album_picture_pagination in the templatetags.php file

    Where do I add it and what syntax must be used? I followed the instructions here: http://buddypress.org/community/groups/bp-album/forum/topic/universal-ablum-all-pics/?topic_page=2&num=15#post-93164 to get the page to work.

    Thanks!

  • Profile picture of karlschweigert karlschweigert said 11 months, 3 weeks ago:

    Does anyone know how to get all site images to show with pagination?

  • Profile picture of karlschweigert karlschweigert said 11 months, 3 weeks ago:

    Well, I added the function bp_album_picture_pagination to the custom page and all I got was an error message. Can anyone confirm whether or not it is possible to display all images with pagination links and if it is, how?

  • Profile picture of 4colourprogress 4colourprogress said 11 months ago:

    @karlschweigert just put <?php bp_album_picture_pagination(); ?> in the file you want to display the images. I’m also trying to get this sorted as the pages that it links too are invalid.

    @foxly Is there any chance on having something look at that function and sort something out?

  • Profile picture of foxly foxly said 11 months ago:

    @4colourprogress

    @fanquake is working on this one. It shouldn’t be too much work to get this sorted out.

    ^F^

  • Profile picture of dannesart dannesart said 5 months, 4 weeks ago:

    Anyone knows bp_album_picture_pagination_global(); works?

    I used it on my website, it renders a pagenavi but when you try to go to next page it says “page not found”

    http://warikko.com/galleria

    The pagenavi is in the left corner.

  • Profile picture of lawsie lawsie said 3 months, 4 weeks ago:

    That link in the first post is dead now. I’m having a bit of a noodle scratcher figuring out how to create a page that shows all uploaded images. Are there shortcodes I could use?

    It would also be neat to be able to drop something onto my homepage that shows the ten newest images.

    Other folk talk about a ‘media’ tab appearing on their site, but I can’t see this.

    I’m using a 100% compatible BuddyPress theme and Wordpress 3.3.1

    My site is here http://www.ipswichgigs.co.uk

  • Profile picture of foxly foxly said 3 months, 4 weeks ago:

    @lawsie

    http://code.google.com/p/buddypress-media/wiki/UsingTheGlobalMediaPage

    ^F^

  • Profile picture of dannesart dannesart said 3 months, 2 weeks ago:

    What about bp_album_picture_pagination_global(); ? How does it work?

  • Profile picture of foxly foxly said 3 months, 2 weeks ago:

    @dannesart

    I don’t think it works. I’m pretty sure we didn’t get that block of code finished.

    ^F^

  • Profile picture of dannesart dannesart said 3 months, 2 weeks ago:

    @foxly Ok, is there any other way to get a navigation to work with the albums on the public page?