public galleries: buddypress-media VS. buddypress-album
-
site: http://allnaturalartists.com
goal: embed a user’s uploaded media on their profile page *must be PUBLICLY viewable*
wordpress version: 3.4.1
buddypress version: 1.6
buddypress theme: custom-community (some modifications)
bp-media version: 2.0I appreciate the hard work of both of these projects. Thank you for your contributions to the community.
I installed the buddypress-album plugin several weeks ago and had little difficulty getting it set up on my site (http://allnaturalartists.com). With the help of Zach Denton’s blog post (http://www.zacharydenton.com/how-to-display-buddypress-album-images-anywhere/), I was able to display all user images in a simple jquery slideshow.
When the site owner requested video support, I figured it would be a piece of cake to find a plugin that could do the job. Little did I know the weeks of searching and testing it would take to find the buddypress-media plugin.
From the start, the distinction wasn’t clear between the two projects: bp-album and bp-media. Partially due to what seems like multiple “project homes”. There is the plugin homepage as listed in the wordpress plugin page (http://rtcamp.com/buddypress-media/) with it’s own support forum, there’s the bp-media developer site (http://code.google.com/p/buddypress-media/) that I found through google searches and there’s the buddypress.org project forum on which I’m now writing this post (the url suggests bp-album, but the forum itself is called ‘plugin: buddypress media’).
From these three primary sources, I’ve learned about nightly builds, I’ve installed the newly released bp-media 2.0 plugin by rtCamp, I’ve learned why my video uploads are not working even for .MP4 videos encoded with the H.264 codec. I’ve even had to take a crash course in buddypress learning how to customize the member user interface.
What I have not yet discovered, is how to publicly display uploaded media publicly with the bp-media plugin. As I mentioned before, I was able to do this for the bp-album plugin both with Zach Denton’s custom loop as well as the ‘Featured Content Loop’ (http://code.google.com/p/buddypress-media/wiki/UsingTheFeaturedContentLoop) and ‘Global Media Page’ (http://code.google.com/p/buddypress-media/wiki/UsingTheGlobalMediaPage). None of the solutions that worked for the bp-album plugin are working for me with the bp-media plugin installed. I can only assume that the two plugins take a different approach in displaying members’ uploaded media.
The most Progress I was able to make was to take a few lines of code from the bp-media-screens.php file and add them to my theme’s profile.php file:
` global $bp;
bp_media_set_query();
bp_media_images_screen_content();`The bp_media_images_screen_content function produces the error: “Sorry, no images were found.” even though the “images” sub-tab on the user profile shows all of the images they uploaded. Is there some global variable I’m not setting? Am I setting the query incorrectly? or maybe there’s some simpler way the development team has already put in place to perform this task.
I understand your team is busy. If I’ve missed this question being answered on another thread, please direct me there.
Thank you
You must be logged in to reply to this topic.