Skip to:
Content
Pages
Categories
Search
Top
Bottom

New BP Album Version – Download and Test!

  • Avatar of foxly
    foxly
    Participant

    @foxly

    http://plugins.svn.wordpress.org/bp-album/branches/foxly/0.1.9.1/bp-album-alpha-2010-06-01.zip

    Here’s the latest version of BP Album+ for you guys to download and test. It’s a massive upgrade from the previous versions we’ve posted, and includes things like adaptive image caching and activity post item grouping.

    We want you to download this version and tell us what you think, and if it causes problems on your server, please give us a detailed bug report.

    This version should NOT be installed on a production server. It has hundreds of minor bugs. Don’t post reports like “when I click on X option, nothing happens” … we know… :)

    What we’re trying to achieve with this post is feedback on the UI, and file system debugging.

    Thanks!

    ^F^

Viewing 14 replies - 26 through 39 (of 39 total)
  • Avatar of Nm
    nm
    Participant

    @nahummadrid

    Tested it a few days ago and wondering if it might be good to breakout into individual plugins within BpAlbum for each media type…similar to the Forums Extras plugin set of plugins. This way we can pick/choose what media we want to make available. After seeing what was in there…it is quite amazing and alot of options but I have other ways to support different media for members and really would only like to keep the photo albums of bp-album+. And only want to have an Album/Photos tab not so much a “Media” tab, kinda got lost on that part, maybe good to also break out into a main tab for each media type. good job though.

    Avatar of thelandman
    thelandman
    Participant

    @thelandman

    @foxly Well, this version of BP is certainly beyond what I was expecting. Excellent work. I managed to upload 65MB of images which were roughly 2-3mb each without running into a problem. Uploading was a breeze.

    * Images appear in groups of 5 in the activity stream.
    * With comments enabled, users cannot comment on images with comments enabled. The following appears just below the image comment section: array(3) { [0]=> string(1) “2″ [1]=> string(4) “item” [2]=> string(2) “22″ } array(1) { [0]=> string(2) “22″ }
    * User tagging doesn’t seem to work.

    Either than that I’m sure you guys are aware of the majority of existing bugs. This is really quite a piece of machinery that you’re adding to buddypress. Wow.

    I can wait for the official release so no worries. My only question is, would it be safe for me to use the current template files (from this version) to build the interface I had previously designed or should I wait?

    Avatar of jamesjones
    jamesjones
    Participant

    @jamesjones

    Looks fanatastic – just got it onto my Dev server.

    Will report back if i sport anything

    Avatar of alanchrishughes
    alanchrishughes
    Participant

    @alanchrishughes

    I just installed it and it crashed the entire site (I deleted the plugin folder and everything went back to normal).

    It was a blank white screen that said “Parse error: syntax error, unexpected T_OBJECT_OPERATOR in ……..wp-content/plugins/bpalbum/includes/bp-album-core.php on line 686″

    Avatar of alanchrishughes
    alanchrishughes
    Participant

    @alanchrishughes

    I looked up that line and it is…..

    $term_name = ucwords(get_term_by(‘slug’,$bp->action_variables[0],$bp->bpa->taxonomy->taxonomies[$bp->current_action])->name);

    Avatar of foxly
    foxly
    Participant

    @foxly

    1) You cannot rename the BP Album plugin directory. It has to be “bp-album” you changed it to bpalbum.

    2) The error you have reported is usually caused by your FTP program corrupting files during upload.

    3) The code you quoted in the PHP error is not present on the line you specified. Please cut and paste ALL of the errors you get directly into your forum message.

    ^F^

    Avatar of alanchrishughes
    alanchrishughes
    Participant

    @alanchrishughes

    1. That is strange, I don’t recall renaming the folder or any reason why I would, but I un-zipped it again and you are right.

    2. I’ve never heard of that, is there any away to avoid that? You have to upload files one way or another (I’m using Filezilla)

    3. I doubled checked and that is the correct line (according to Dreamweaver CS4).

    4. I tried correctly renaming the file (no luck) deleted and re-uploaded (no luck). It is giving the same line 686 error.

    5. I’m working with my garbage work computer right now (a PC running Vista) and I am trying to run it locally with XAMP and it basically works, I’ve never seen this plugin before so I’m not sure what it is suppose to look like. When I check out the “Debug Tools” tab I get a giant page of code I’m not even trying to copy and paste here, it would probably crash buddypress.org haha.

    6. Looks like this plugin is going to be amazing though when the bugs get worked out.

    Avatar of foxly
    foxly
    Participant

    @foxly

    @alanchrishughes

    1) We’re working on adding code to the plugin to help people debug their web servers, because 95% of the time, problems are being caused by the web server, not the plugin.

    2) As a developer, I stopped using Adobe Dreamweaver last year and never looked back. If you’re working with WordPress templates, you need a *real* dev environment that properly highlights code and can do version control. Our development team uses NetBeans. You can get a copy for free here:

    http://netbeans.org/

    It does everything Dreamweaver does, minus graphical editing …which is impossible to do on dynamically generated pages anyway. Plus, it lets you connect directly to our SVN repository http://code.google.com/p/buddypress-media/source/checkout and download updated code in real time. And it handles error checking in mixed PHP and HTML syntax in real time, and it has live preview in 3 different web browsers at once, and you can set up the syntax coloring however you want, and it connects directly to the debugger on your web server so you can get useful errors. Seriously, if you’re still using Dreamweaver you’re in the stone age.

    3) You need to drop all your BP Album DB tables and delete all your uploaded items from the cache and content directories every time you upgrade to a new nightly build. That’s one place to start. Check if your server is running at least PHP 5.2, because that’s a requirement.

    As for line numbers, you might have different line numbers because I’m using the code from the SVN and you’re using a zipped nightly build that’s 2 days old. We’ve made approximately 400 changes to the plugin code in this space of time.

    So grab the latest version from the SVN, or post a copy of the entire file that the error is referring to (as a link, use pastebin).

    4) Debug tools is supposed to do that. It’s dumping the entire BP Media global variable for debugging purposes.

    Thanks!

    ^F^

    Avatar of alanchrishughes
    alanchrishughes
    Participant

    @alanchrishughes

    Thanks man, I’ll have to check out that netbeans program. I actually do most web stuff in Word Pad, I’ve been using a trial version of BBedit, my work bought Dreamweaver for me when I started this past winter. I’m mainly a graphic designer and front end developer.

    I think my problem was testing on a site hosted on godaddy and as far as I know they only go to php5. Locally though, it has been working “with errors” on XAMP and MAMP.

    Avatar of foxly
    foxly
    Participant

    @foxly

    Oh you poor thing!

    This is what *my* desktop looks like when I’m editing code, using NetBeans, and when I’m editing HTML it’s just as good:

    http://i29.tinypic.com/6sazuu.jpg

    The screen on the right is called a “diff” …NetBeans compares two different versions of a file and shows you all the changes. It’s *brilliant* for finding mistakes in template and CSS files, although the software automatically underlines most errors in red for you automatically. I’m using the “sunburst” color scheme with Bitstream Vera Sans Mono 15pt font.

    As for GoDaddy? Yes, *that’s your problem right there*. GoDaddy is marginal at best for running WordPress, and frequently causes problems because of the load BuddyPress places on the system. If you plan on having more than 25 users on your site, get off GoDaddy *now*. See wordpress.org for a list of hosting providers that have their systems set up properly.

    *Do not use GoDaddy for BuddyPress Websites*

    Now, as for errors running BP Media on your local XAMPP installation… that I am *very* interested in hearing more about. It should *not* be doing that.

    Please paste the entire PHP error message so we can take a closer look at that.

    Thanks!

    ^F^

    Avatar of alanchrishughes
    alanchrishughes
    Participant

    @alanchrishughes

    Yeah I remember when I first started learning about WordPress you had to comment out like 3 or 4 lines of php for it to work. But then they started running some Linux servers and WordPress at least worked fine.

    As far as errors on XAMP and MAMP. I was getting the left aligned page problem i’ve read a few other people were having. I could upload photos, but it was always display a message saying,

    There were problems updating the media item

    and then at the bottom of the page just above the Buddypress credits

    array(3) { [0]=> string(1) “2″ [1]=> string(4) “item” [2]=> string(1) “3″ } array(1) { [0]=> string(1) “3″ }

    It is also stuck on comments disabled, I go to the edit page and the enabled button is already checked. Also when I click the “Tag Yourself” button it says the page you were looking for is not found.

    The “Embeded Content” tab on the back end is just an empty page.

    The Debug Tools tab says:

    object(stdClass)#206 (9) { ["id"]=> string(5) “album” ["options"]=> array(172) { ["media_imagesEnable"]=> bool(true) ["media_audioEnable"]=> bool(false) ["media_videoEnable"]=> bool(false) ["embedmedia_enable"]=> bool(false) ["albums_albumsPerPage"]=> int(24) ["albums_maxNavTitleLength"]=> int(50) ["albums_ajaxPaginationEnable"]=> bool(false) ["albums_userSortEnable"]=> bool(false) ["albums_defaultSortMode"]=> string(4) “date” ["albums_defaultSortDirection"]=> string(3) “ASC” ["media_itemsPerPage"]=> int(24) ["media_maxNavTitleLength"]=> int(50) ["media_ajaxPaginationEnable"]=> bool(false) ["media_userSortEnable"]=> bool(false) ["media_defaultSortMode"]=> string(4) “date” ["media_defaultSortDirection"]=> string(3) “ASC” ["core_slug_base"]=> string(5) “media” ["core_slug_home"]=> string(10) “media-home” ["albums_slug_home"]=> string(6) “albums” ["albums_slug_create"]=> string(12) “create-album” ["albums_slug_edit"]=> string(4) “edit” ["albums_slug_items"]=> string(10) “edit-items” ["albums_slug_sort"]=> string(10) “sort-items” ["albums_slug_delete"]=> string(12) “delete-album” ["albums_slug_me"]=> string(9) “albums-me” ["media_slug_home"]=> string(5) “items” ["media_slug_single"]=> string(4) “item” ["media_slug_create"]=> string(9) “add-media” ["media_slug_edit"]=> string(10) “edit-media” ["media_slug_delete"]=> string(12) “delete-media” ["media_slug_tag"]=> string(9) “media-tag” ["media_slug_me"]=> string(8) “media-me” ["meta_slug_tagSelf"]=> string(8) “tag-self” ["meta_slug_unTagSelf"]=> string(10) “untag-self” ["meta_slug_tagMember"]=> string(10) “tag-member” ["meta_slug_unTagMember"]=> string(12) “untag-member” ["meta_slug_mediaOfMe"]=> string(11) “media-of-me” ["media_storage_userStorageQuota"]=> int(1000) ["media_storage_showRemainingQuota"]=> bool(true) ["albums_storage_maxItemsPerAlbum"]=> int(200) ["albums_storage_maxTotalAlbums"]=> int(50) ["albums_storage_maxPriv0Albums"]=> int(50) ["albums_storage_maxPriv1Albums"]=> int(0) ["albums_storage_maxPriv2Albums"]=> int(50) ["albums_storage_maxPriv3Albums"]=> int(0) ["albums_storage_maxPriv4Albums"]=> int(50) ["albums_storage_maxPriv5Albums"]=> int(0) ["albums_storage_maxPriv6Albums"]=> int(50) ["albums_storage_maxPriv7Albums"]=> int(0) ["albums_storage_maxPriv8Albums"]=> int(0) ["albums_storage_maxPriv9Albums"]=> int(0) ["media_upload_singleEnable"]=> bool(true) ["media_upload_singleMaxSize"]=> int(5000) ["media_upload_singleMaxStreams"]=> int(4) ["media_upload_multiEnable"]=> bool(true) ["media_upload_multiMaxSize"]=> int(5000) ["media_upload_multiMaxStreams"]=> int(1) ["cache_mode_L4"]=> string(6) “global” ["cache_size_L4"]=> int(0) ["cache_scrub_L4"]=> int(0) ["cache_path_L4Folder"]=> string(51) “C:xampphtdocsphotos/wp-content/uploads/bpa-media” ["cache_path_L4URI"]=> string(52) “http://localhost/photos/wp-content/uploads/bpa-media” ["cache_offset_L4Folder"]=> string(10) “/bpa-media” ["cache_offset_L4URI"]=> string(10) “/bpa-media” ["meta_memberTagsEnable"]=> bool(true) ["meta_memberTagsMax"]=> int(25) ["meta_memberTagsAutocomplete"]=> bool(true) ["meta_inboundMemberTagPolicy"]=> string(7) “friends” ["meta_inboundMemberTagAccept"]=> string(7) “friends” ["meta_outboundMemberTagPolicy"]=> string(7) “friends” ["meta_outboundMemberTagAccept"]=> string(7) “friends” ["taxonomy_keywordTagsEnable"]=> bool(true) ["taxonomy_keywordTagsInSearch"]=> bool(false) ["taxonomy_keywordTagsMax"]=> int(25) ["core_commentsEnable"]=> bool(true) ["core_comments_disableAction"]=> string(6) “delete” ["core_comments_acceptPolicy"]=> string(7) “friends” ["core_comments_urlPolicy"]=> string(8) “sanitize” ["core_comments_attachmentsEnable"]=> bool(true) ["core_comments_allowImages"]=> bool(true) ["core_comments_allowAudio"]=> bool(false) ["core_comments_allowVideo"]=> bool(false) ["core_comments_allowEmbedded"]=> bool(false) ["media_activity_images_userStreamEnable"]=> bool(true) ["media_activity_images_globalStreamEnable"]=> bool(true) ["media_activity_images_windowSize"]=> int(24) ["media_activity_images_maxPostsPerWindow"]=> int(10) ["media_activity_images_maxItemsPerPost"]=> int(5) ["media_views_itemCountEnable"]=> bool(false) ["media_views_itemCountMethod"]=> string(3) “all” ["media_views_itemCountShowTo"]=> string(3) “all” ["media_rating_itemRatingEnable"]=> bool(true) ["media_rating_itemRatingPolicy"]=> string(5) “loose” ["media_rating_itemRatingShowTo"]=> string(3) “all” ["core_notify_globalEnable"]=> bool(true) ["meta_notify_mediaTagAutoType"]=> string(5) “email” ["meta_notify_mediaTagAutoMsg"]=> string(35) “meta_notify_mediaTagAutoMsg message” ["meta_notify_mediaTagManualType"]=> string(5) “email” ["meta_notify_mediaTagManualMsg"]=> string(37) “meta_notify_mediaTagManualMsg message” ["meta_notify_mediaTagOwnerAcceptedType"]=> string(5) “email” ["meta_notify_mediaTagOwnerAcceptedMsg"]=> string(44) “meta_notify_mediaTagOwnerAcceptedMsg message” ["meta_notify_mediaTagMemberAcceptedType"]=> string(5) “email” ["meta_notify_mediaTagMemberAcceptedMsg"]=> string(45) “meta_notify_mediaTagMemberAcceptedMsg message” ["core_notify_mediaCommentPostedType"]=> string(5) “email” ["core_notify_mediaCommentPostedMsg"]=> string(41) “core_notify_mediaCommentPostedMsg message” ["core_notify_mediaResponsePostedType"]=> string(5) “email” ["core_notify_mediaResponsePostedMsg"]=> string(42) “core_notify_mediaResponsePostedMsg message” ["widgets_site_latestUploadsEnable"]=> bool(true) ["widgets_site_latestUploadsMax"]=> int(64) ["widgets_site_latestUploadsResizeX"]=> int(100) ["widgets_site_latestUploadsResizeY"]=> int(100) ["widgets_site_latestUploadsResizeMethod"]=> string(4) “crop” ["widgets_site_latestUploadsUseImages"]=> bool(true) ["widgets_site_latestUploadsUseAudio"]=> bool(false) ["widgets_site_latestUploadsUseVideo"]=> bool(false) ["widgets_site_latestUploadsUseEmbedded"]=> bool(false) ["widgets_site_latestUploadsSource"]=> string(7) “opt_out” ["widgets_site_latestUploadsSelectMethod"]=> string(4) “date” ["widgets_member_latestUploadsEnable"]=> bool(true) ["widgets_member_latestUploadsMax"]=> int(64) ["widgets_member_latestUploadsResizeX"]=> int(100) ["widgets_member_latestUploadsResizeY"]=> int(100) ["widgets_member_latestUploadsResizeMethod"]=> string(4) “crop” ["widgets_member_latestUploadsUseImages"]=> bool(true) ["widgets_member_latestUploadsUseAudio"]=> bool(false) ["widgets_member_latestUploadsUseVideo"]=> bool(false) ["widgets_member_latestUploadsUseEmbedded"]=> bool(false) ["widgets_member_latestUploadsSource"]=> string(7) “opt_out” ["widgets_member_latestUploadsSelectMethod"]=> string(4) “date” ["media_cache_images_thumbFileType"]=> string(3) “jpg” ["media_cache_images_thumbX"]=> int(60) ["media_cache_images_thumbY"]=> int(60) ["media_cache_images_thumbQ"]=> int(80) ["media_cache_images_thumbCrop"]=> bool(true) ["media_cache_images_thumbScale"]=> bool(true) ["media_cache_images_thumbDefaultImage"]=> string(95) “C:xampphtdocsphotos/wp-content/plugins/bp-album/includes/images/default_image_thumb_base.png” ["media_cache_images_albumDisplaySize"]=> string(7) “preview” ["media_cache_images_itemDisplaySize"]=> string(7) “preview” ["media_cache_images_singleDisplaySize"]=> string(6) “middle” ["cache_server_touchFiles"]=> bool(true) ["cache_mode_L0"]=> string(6) “global” ["cache_size_L0"]=> int(1000) ["cache_nodes_L0"]=> int(5000) ["cache_scrub_L0"]=> int(1) ["cache_path_L0Folder"]=> string(54) “C:xampphtdocsphotos/wp-content/uploads/bpa-cache/L0″ ["cache_path_L0URI"]=> string(55) “http://localhost/photos/wp-content/uploads/bpa-cache/L0″ ["cache_offset_L0Folder"]=> string(13) “/bpa-cache/L0″ ["cache_offset_L0URI"]=> string(13) “/bpa-cache/L0″ ["cache_mode_L1"]=> string(6) “global” ["cache_size_L1"]=> int(2500) ["cache_nodes_L1"]=> int(50000) ["cache_scrub_L1"]=> int(1) ["cache_path_L1Folder"]=> string(54) “C:xampphtdocsphotos/wp-content/uploads/bpa-cache/L1″ ["cache_path_L1URI"]=> string(55) “http://localhost/photos/wp-content/uploads/bpa-cache/L1″ ["cache_offset_L1Folder"]=> string(13) “/bpa-cache/L1″ ["cache_offset_L1URI"]=> string(13) “/bpa-cache/L1″ ["cache_mode_L2"]=> string(6) “global” ["cache_size_L2"]=> int(2500) ["cache_nodes_L2"]=> int(50000) ["cache_scrub_L2"]=> int(1) ["cache_path_L2Folder"]=> string(54) “C:xampphtdocsphotos/wp-content/uploads/bpa-cache/L2″ ["cache_path_L2URI"]=> string(55) “http://localhost/photos/wp-content/uploads/bpa-cache/L2″ ["cache_offset_L2Folder"]=> string(13) “/bpa-cache/L2″ ["cache_offset_L2URI"]=> string(13) “/bpa-cache/L2″ ["cache_mode_L3"]=> string(6) “global” ["cache_size_L3"]=> int(10000) ["cache_nodes_L3"]=> int(100000) ["cache_scrub_L3"]=> int(12) ["cache_path_L3Folder"]=> string(54) “C:xampphtdocsphotos/wp-content/uploads/bpa-cache/L3″ ["cache_path_L3URI"]=> string(55) “http://localhost/photos/wp-content/uploads/bpa-cache/L3″ ["cache_offset_L3Folder"]=> string(13) “/bpa-cache/L3″ ["cache_offset_L3URI"]=> string(13) “/bpa-cache/L3″ } ["cache_prefix"]=> string(9) “bp_album_” ["format_notification_function"]=> string(29) “bp_album_format_notifications” ["albums"]=> object(stdClass)#10 (1) { ["db_table"]=> string(18) “wp_bp_album_albums” } ["media"]=> object(stdClass)#179 (1) { ["db_table"]=> string(11) “wp_bp_album” } ["meta"]=> object(stdClass)#6 (5) { ["db_table"]=> string(16) “wp_bp_album_meta” ["cache_prefix"]=> string(9) “bp_album_” ["member_tags_suffix"]=> string(12) “_member_tags” ["meta_suffix"]=> string(5) “_meta” ["member_tags_policy"]=> string(5) “loose” } ["taxonomy"]=> object(stdClass)#7 (3) { ["owner_terms_cache_suffix"]=> string(5) “terms” ["object_type"]=> string(14) “bp_album_media” ["taxonomies"]=> array(1) { ["tags"]=> array(3) { ["name"]=> string(13) “bp_album_tags” ["sing_label"]=> string(3) “tag” ["pl_label"]=> string(4) “tags” } } } ["imageSize"]=> object(stdClass)#177 (3) { ["db_table"]=> string(22) “wp_bp_album_imageSizes” ["debug"]=> bool(false) ["per_page"]=> int(50) } }

    and the License & Credits page only says:

    Warning: include_once(C:xampphtdocsphotoswp-contentpluginsbp-albumincludes/admin/admin-credits.php) [function.include-once]: failed to open stream: No such file or directory in C:xampphtdocsphotoswp-contentpluginsbp-albumincludessub-admin-core.php on line 154

    Warning: include_once() [function.include]: Failed opening ‘C:xampphtdocsphotoswp-contentpluginsbp-albumincludes/admin/admin-credits.php’ for inclusion (include_path=’.;xamppphpPEAR’) in C:xampphtdocsphotoswp-contentpluginsbp-albumincludessub-admin-core.php on line 154

    Avatar of alanchrishughes
    alanchrishughes
    Participant

    @alanchrishughes

    This is using the latest version of WP and BP with the default theme, everything out of the box.

    Avatar of kalpna
    kalpna
    Participant

    @kalpna

    Comments on Media Single page are Not Working

    I am using WP 3.2.1, Buddypress plugin 1.5.1 and BP Album + alpha version 0.1.9 in my website.

    I am facing some issues with BP Album + alpha version:
    1) On media single page, comments feature is not working. It shows the message “Comments are disabled for this picture. Edit picture to enable them.” inspite the comments feature is already enabled for the particular media.

    2) Also, the tags of media displayed does not shows correct results on tag page.

    Please suggest a solution for this.

    Avatar of foxly
    foxly
    Participant

    @foxly

    This is a very old nightly build from an abandoned branch. Grab the latest versions here:

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

    ^F^

Viewing 14 replies - 26 through 39 (of 39 total)

You must be logged in to reply to this topic.