-
Author
-
July 28, 2017 at 18:06 #168856daveflookParticipant
Hello,
I have done some research into this (and have read many threads on this site) however I cannot find a solution that works.
I want to limit the activity stream so that it no longer displays new sign ups, new avatars etc. (it looks very cluttered).
I have determined that i need to add the following code to activity-.loop.php (replacing the has_activities line).
<?php if ( bp_has_activities( bp_ajax_querystring( ‘activity’ ).’&object=groups,friends,status,blogs’ ) ) : ?>
HOWEVER – I have changed it on activity_loop.php in the plugins folder AS well as activity-wall-loop.php in the SweetDate child theme. It is still showing the stream with the clutter etc.
Do you know what file I should be editing/which one determines the actual activity stream? And do you have any other tips about this/customized what is shown?
Thanks in advance for all your help. You would think it would be a stock option for Buddypress. WordPress can be such a pain in the ass sometimes especially if you are not a coder.
~ Dave
July 29, 2017 at 05:35 #168906Kieran_SQModeratorHi @Daveflook,
With your changes are you still seeing new unwanted items being created or is it just the old content that still exists?
If it is the latter it is because BuddyPress stores activity in an unusual way, you would have to manually delete previous “new members” etc
Thanks,
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
July 29, 2017 at 06:14 #168909daveflookParticipantHi Kieran,
Thanks for your reply – I will keep an eye on it. Never really considered that I might have to remove old posts – even after adding the code. That is a great tip and very helpful.
You have amazing tech. support by the way. Ive been running a web design company for over 15 years now and have dealt with dozens of joomla/wordpress businesses. Your attention to detail and willingness to help people is by far what makes you stand out and builds confidence in the users.
Good stuff!
NOTE – I just checked and it looks like it might still be creating new activity streams for new users etc. Can I get a confirmation that the activity-wall file in the sweetdate child activity folder is what is influencing the final site code? (if so then I will only focus on that one file – instead of the plug ins/main theme/ etc. )
~ Dave
July 29, 2017 at 07:03 #168911Kieran_SQModeratorHey,
Thanks for the compliment, we do try! I’m going to look into this for you because you shouldn’t need to edit any files other than functions.php to get this working. If I remember rightly Sarah Gooding wrote an article about this some time ago.
I will get back to you shortly with an update.
Thanks,
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
July 29, 2017 at 07:32 #168915Kieran_SQModeratorHi,
The method I used previously is no longer a solution.
Using this method https://premium.wpmudev.org/blog/how-to-customize-the-buddypress-activity-loop/ (which is the one I believe you to be working from) you will need to edit the following file as per their guidance.
/sweetdate-child/activity/activity-loop.php
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
July 29, 2017 at 09:01 #168916daveflookParticipantOnce again – thanks for the top notch customer service!
You are correct, that is the article I was working from. However, and herein lies my confusion….There isnt a file named -> /sweetdate-child/activity/activity-loop.php
There is one named -> activity-wall-loop.php which as far as I can tell has the same code. HOWEVER, when I modify the line below – I am still seeing updates from unwanted steams.
<?php if ( bp_has_activities( bp_ajax_querystring( ‘activity’ ).’&object=groups,friends,status,blogs’ ) ) : ?>
Once figured out fully – I would be more than happy to put together a brief step-by-step article for your tutorials. I think this is an important feature to figure out – since it makes cluttered site to a clean one.
Any ideas why its not sticking even though Ive modded the activity-wall-loop.php (cleared caches, hard refreshed, different browers on different network etc).
Cheers!
~ Dave
July 29, 2017 at 16:08 #168934Kieran_SQModeratorHi Dave,
Any chance you can share some FTP and site credentials with me in this ticket so I can look into this a bit more. I’m concerned that you do not have an activity-loop.php file within that folder as there should be, I confirmed this a few moments ago with a fresh download of the main theme files (see attached).
Thanks,
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Attachments:
You must be logged in to view attached files.July 30, 2017 at 05:51 #168999daveflookParticipantYou rock KieranSQ!!
Okay so is what I discovered. I was looking in the activity folder in the CHILD THEME and not the main Sweet Date parent Theme. This is easily done since there are literally 3 places where the activity-loop.php is in multiple places on the site (theme, child, plugins).
So, conclusively, I can assert that the activity-loop.php that changes the activity stream page is in the parent folder and that it can easily be customized. Use the following link for details:
https://premium.wpmudev.org/blog/how-to-customize-the-buddypress-activity-loop/
Perhaps I didnt check on the parent theme just the child but your last post made me clue in.
Thanks yall.. I left you a great review btw.
Cheers!
~ Dave
July 30, 2017 at 07:26 #169000daveflookParticipantTo make life a HELL OF A LOT EASIER. I just found a great plugin that works perfectly. Wish I found this before hehe… Why do they have to make wordpress so archaic and cumbersome to figure out simple things… 🙂
https://wordpress.org/plugins/bp-activity-filter/#description
July 30, 2017 at 16:00 #169026Kieran_SQModeratorThanks so much for the amazing review!
That plugin is getting bookmarked 😀 thanks for the share Dave!
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
-
AuthorPosts
You must be logged in to reply to this topic.