-
Nathan Allen started the forum topic Modifying the activity "read more" links animation in global.js in the group Creating & Extending 13 years ago
I love the [read more] feature in the activity stream, but the animation feels a bit buggy.
I noticed the code that causes the slideUp and slideDown animation is located on line 293 of global.js.
Is there any […] -
Nathan Allen posted on the forum topic Hiding "[User] joined the group [GroupName]" from group feeds without editing core files? in the group Creating & Extending: 13 years, 5 months ago
That plugin you mentioned appears to prevent saving of certain activity types. Since I still want “user joined the group” messages to appear on non-feed pages, that plugin doesn’t really help. In the end I came up with this code, which appears to work well so far: `function nla_bp_has_activities( $val ) { if( ! is_feed() […]
-
Nathan Allen posted on the forum topic Hiding "[User] joined the group [GroupName]" from group feeds without editing core files? in the group Creating & Extending: 13 years, 5 months ago
This is what I’ve got so far, but it’s not working…
function nla_bp_has_activities($val){
[Read more]
global $activities_template;$i=0;$a=array();
//var_dump($activities_template);exit();
foreach($activities_template->activities as $item){
if($item->type == "joined_group")… -
Nathan Allen started the forum topic Hiding "[User] joined the group [GroupName]" from group feeds without editing core files? in the group Creating & Extending: 13 years, 5 months ago
I’ve got group feeds being sent to Twitter and I don’t want ” joined the group ” messages to appear. The code that creates these feeds is located in
/wp-content/plugins/buddypress/bp-activity/feeds/bp-activity-group-feed.php
. I figured I could usepreg_match
withbp_get_activity_feed_item_title()
to selectively filter the output, but since there…[Read more] -
Nathan Allen posted a new activity comment 13 years, 5 months ago
You might like to check out the edit activity stream plugin.
-
nathanallen posted on the forum topic How are group rss feeds generated? in the group Creating & Extending: 13 years, 5 months ago
I thought that too, but I didn’t have any success with it. So I did some more digging and found what I was looking for:
/wp-content/plugins/buddypress/bp-activity/feeds/bp-activity-group-feed.php -
nathanallen started the forum topic How are group rss feeds generated? in the group Creating & Extending: 13 years, 5 months ago
Hi folks! I have a rss feed at /groups/group-name/feed/ – Does anyone know how this is generated? Which php files are involved in this? I’m trying to work out how to dynamically replace certain phrases within the feed, but have no idea where to start looking.
@nathanallen
Active 2 years, 10 months ago
Thanks
I do it.