- This topic has 19 replies, 2 contibutors, and was last updated 9 years, 11 months ago by .
-
Question
Answers
- The question ‘Photos Tab Loop’ is closed to new replies.
BuddyBoss Home – Web › Support Forums › Plugins › BuddyBoss Media › Photos Tab Loop
When 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?
To 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!
I’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' ) ) : ?>
@mp3stevo I think this was reported, have you updated to the most recent version?
I updated today and had these issues. Thanks!
@mp3stevo does this happen with the parent theme or just your child theme? Perhaps your tinkering broke something?
I activated the parent theme (Buddy) and it still has the same issue.
@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?
Does BuddyBoss Media only work with BuddyBoss Wall then? I deactivated all the plugins except for BuddyPress… same result.
I 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.
EDIT: 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.
@mp3stevo are you using any custom tables or custom table prefixes?
I’m not using wp_ if that what you mean. It’s insecure.
What do you mean? When I installed WordPress instead of choose wp_ as the install prefix I chose something else.