-
Author
-
October 18, 2015 at 00:31 #82960IDBashParticipant
I am trying to make it so that the default choice, which is currently “All Members”, truly shows all content available to the user, not just public. Should I look at modifying the queries, or is there a very simple way to do this?
October 18, 2015 at 02:14 #82976sharmstrModeratorHere’s the buddypress documentation on the activity loop: https://codex.buddypress.org/developer/loops-reference/the-activity-stream-loop/ If you need assistance, its best to ask on the buddypress forum since its their function you’ll have to filter (not Kleo) https://buddypress.org/support/
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 19, 2015 at 21:09 #83235IDBashParticipantThe problem I am having is that the kleo activity stream has been completely customized to allow for the endless scrolling. I am as a result having trouble identifying the variables used to select the appropriate filters so I can modify them.
October 19, 2015 at 21:41 #83239sharmstrModeratorThere is a load more button which is standard buddypress. Enable the WP 2015 Theme and you’ll see that its the same as Kleo. It hasnt been highly customized in that sense at all. Only styling has been applied to the feed. If you look at the activity-loop.php template file that Kleo overrides, you’ll see that its using the same exact query string (bp default query).
COPY CODEif ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) )
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 19, 2015 at 21:52 #83242IDBashParticipantI have located the filter mechanism, and it is outside the Activity-loop.php all together. It seems the object generation strings are in the index.php of the activity page, but I am still having trouble figuring out how it is designed. Below is the chunk of code that generates the activity data that is polled during the activity loop. All I want to do is make the
bp_activity_directory_permalink()
output all data accessible to the user.October 19, 2015 at 22:17 #83270sharmstrModeratorDo you have code that *should* work but doesnt because of Kleo? In other words, do you have a solution that works with the 2015 Theme?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 19, 2015 at 22:26 #83275IDBashParticipantI just followed the slugs and realized you are not generating your own lists, you are pulling the premade ones on our profiles! Clever! So now I just need to add the groups data to the regular.
https://codex.buddypress.org/developer/function-examples/bp_activity_add/
This is the way of crafting a custom set of data which Kleo does not use. So I now get to figure out how to do that without breaking Kleo. I will post here if I have any updates to it, and I would suggest you add it to the Kleo since the current setup is extremely nonintuitive where the rest of Kleo is highly intuitive.
-
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.