BuddyBoss Home – Web › Support Forums › Plugins › BuddyBoss Media › Photos Tab Loop
- This topic has 19 replies, 2 contibutors, and was last updated 9 years, 10 months ago by Alyssa.
Question
January 9, 2015 at 3:53 pm #34548@mp3stevoWhen I go to the photos tab in the member’s profile, it includes all of the user’s activities in the loop and not just the photos. Should it not only just show the uploaded photos?
And is there a way to do a template override?
Answers
January 9, 2015 at 4:17 pm #34551@mp3stevoTo note, I have the “grid” option selected for the layout. I just created an album (which when created does not honor the WP time offset) and when I go to add photos to it, it still shows my complete activity feed underneath it. Shouldn’t this part just be blank except for the photos uploaded to this album?
Would it be good for when people upload photos in the activity feed that they go directly into an album called “Timeline Photos” like how Facebook does it?
Thanks!
January 9, 2015 at 4:21 pm #34552@mp3stevoI’m sorry for the constant replies. Maybe the component name in the _bp_activity could be “photo” instead of “activity” and then filter it on /templates/activity/buddyboss-media-activity-loop.php to say
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ).'&object=photo' ) ) : ?>
January 9, 2015 at 5:56 pm #34566@alyssa-buddyboss
AlyssaParticipant@mp3stevo I think this was reported, have you updated to the most recent version?
January 9, 2015 at 6:34 pm #34569@mp3stevoI updated today and had these issues. Thanks!
January 10, 2015 at 12:26 pm #34598@alyssa-buddyboss
AlyssaParticipant@mp3stevo does this happen with the parent theme or just your child theme? Perhaps your tinkering broke something?
January 10, 2015 at 7:39 pm #34614@mp3stevoI activated the parent theme (Buddy) and it still has the same issue.
January 11, 2015 at 9:57 am #34622@alyssa-buddyboss
AlyssaParticipant@mp3stevo I’m unable to reproduce these results on my dev server. Do you have any additional plugin enabled you can try disabling to see if they are conflicting?
January 11, 2015 at 11:01 am #34630@mp3stevoDoes BuddyBoss Media only work with BuddyBoss Wall then? I deactivated all the plugins except for BuddyPress… same result.
January 11, 2015 at 11:24 am #34632@mp3stevoI think the devs could fix this by just changing the activity component to “photo” instead of “activity” and then in the loop call only the type of “photo”.
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ).'&object=photo' ) ) : ?>
It’s also a concern that when I’m editing an album I still see my full activity stream where I should only see the pictures from the album.
January 11, 2015 at 11:54 am #34635@mp3stevoEDIT: Nevermind. Once I added a regular status update it went back to what it was originally. Issue persists. 🙁
I truncated some tables and it fixed it. Sorry for this.
January 11, 2015 at 4:31 pm #34641@alyssa-buddyboss
AlyssaParticipant@mp3stevo are you using any custom tables or custom table prefixes?
January 11, 2015 at 4:59 pm #34645@mp3stevoI’m not using wp_ if that what you mean. It’s insecure.
January 12, 2015 at 9:09 am #34665January 12, 2015 at 9:10 am #34666@mp3stevoWhat do you mean? When I installed WordPress instead of choose wp_ as the install prefix I chose something else.
- The question ‘Photos Tab Loop’ is closed to new replies.