-
Andrew Tegenkamp started the topic Private Member? in the forum Creating & Extending 8 years, 6 months ago
I was using the code example at https://codex.buddypress.org/developer/bp_user_query/#code-examples and found it works great for removing users from the Member’s Directory list based on an xprofile field.
However, when I change the order using the default Order By dropdown it seems the user that is removed comes back. I’m using the 2014 theme and…[Read more]
-
Andrew Tegenkamp replied to the topic [Resolved] BuddyBlog? in the forum Installing BuddyPress 11 years, 5 months ago
-
Andrew Tegenkamp posted an update in the group Buddypress Humanity 13 years, 1 month ago
A quick fix for multisite if Buddypress is not installed on the main site @ http://pastebin.com/7HGPfGnw
-
Andrew Tegenkamp joined the group Buddypress Humanity 13 years, 1 month ago
-
Andrew Tegenkamp replied to the forum topic Changing Group tab display defaults in the group How-To and Troubleshooting 13 years, 2 months ago
Also use this line in place of the 2 lines with 98 and activity log if you want to just remove the link from the bar (do know the /home/ URL like http://willowbilliards.com/groups/14-1-straight-pool-league/home/ […]
-
Andrew Tegenkamp replied to the forum topic Changing Group tab display defaults in the group How-To and Troubleshooting 13 years, 2 months ago
Ok, looks like 1.5 needs this code… should be working on your site too! You can change the 98 to any number really. It stars out at 10, with forum = 40 and members = 60, so just put the number to whatever you […]
-
Andrew Tegenkamp replied to the forum topic Changing Group tab display defaults in the group How-To and Troubleshooting 13 years, 2 months ago
That’s odd ~ are you using 1.5 or on the 1.2 branch? Guess I shoulda asked that before 😉
Regarding the forums, you may need to disable BuddyPress since the forum plugin bbPress uses the same code as […]
-
Andrew Tegenkamp replied to the forum topic Changing Group tab display defaults in the group How-To and Troubleshooting 13 years, 2 months ago
ok, let’s give this code a shot. I just tried it on a local dev and it worked well.
If that does not work for you can you kinda enable debug and comment out the /* and the //echo lines and see if you get […]
-
Andrew Tegenkamp replied to the forum topic Changing Group tab display defaults in the group How-To and Troubleshooting 13 years, 2 months ago
I’m getting an error on your site because you have my_bp_groups_forum_first_tab delcared in both bp-custom.php and functions.php. Go ahead and remove it from one (probably functions.php for now) because you will […]
-
Andrew Tegenkamp replied to the forum topic Changing Group tab display defaults in the group How-To and Troubleshooting 13 years, 2 months ago
Ok, let’s take this in two parts.
1) If the actual function code is appearing above your header, then make sure you have it inside PHP tags
2) If you are still getting the warning about “Cannot modify […]
-
Andrew Tegenkamp replied to the forum topic Changing Group tab display defaults in the group How-To and Troubleshooting 13 years, 2 months ago
@jad117, I hope this helps, and please let me know with another mention if not.
Basically the first step is to create a blank file called bp-custom.php and save it as /wp-content/plugins/bp-custom.php. You can […]
-
Andrew Tegenkamp posted a new activity comment 13 years, 9 months ago
FYI, I found a fix and updated the thread @ https://buddypress.org/community/groups/buddypress-followers/forum/topic/following-menus/
-
Andrew Tegenkamp posted on the forum topic Following menus in the group BuddyPress Followers: 13 years, 9 months ago
I’ve updated this change set to include a fix in the classes file regarding the count. For me, the original plugin was having the same issue for me so I think it is a problem where there is getting to be some duplication in the database. I’m not sure if my changes or the original […]
-
Andrew Tegenkamp posted on the forum topic Sort Groups Alphabetically by default (BP 1.2) in the group How-To and Troubleshooting: 13 years, 9 months ago
I forgot to check for just members/groups so here’s the corrected version…
function sort_alpha_by_default( $qs ) {
[Read more]
global $bp;
if (!$qs && ( $bp->current_component == BP_GROUPS_SLUG || $bp->current_component == BP_MEMBERS_SLUG ) )
$qs = 'type=alphabetical&action=alphabetical';
return $qs;
}
add_filter( 'bp_dtheme_ajax_querystring',… -
Andrew Tegenkamp posted on the forum topic Sort Groups Alphabetically by default (BP 1.2) in the group How-To and Troubleshooting: 13 years, 9 months ago
Old thread but good google result… this mod seems to work best for me
1) add selected to your theme/child theme and also put Alphabetical at the top.
2) add this function into your theme’s functions.phpfunction sort_alpha_by_default( $qs ) {
[Read more]
return ($qs) ? $qs : 'type=alphabetical&action=alphabetical';
}
add_filter(… -
Andrew Tegenkamp posted on the forum topic Following menus in the group BuddyPress Followers: 13 years, 9 months ago
Sure Harald, you can download the 4 files I changed at http://dl.dropbox.com/u/244479/wp/buddypress_followers_nav_changes.zip
I’m not 100% sure the counts are correct but it should use the same code so I think they’re ok but still testing that out on our church’s site.
Hope it helps,
Andrew -
Andrew Tegenkamp posted on the forum topic Following menus in the group BuddyPress Followers: 13 years, 9 months ago
@floris and others, I’ve done this in our setup while fixing another bug I found that was bothering me. If you’re still interested, let me know and I’ll post the changed files from the plugin. Hoping this is a core component in 1.3…
-
Andrew Tegenkamp posted on the forum topic How to display follow button only on specific profiles? in the group BuddyPress Followers: 13 years, 9 months ago
The issue is it’s a different function for every “Follow” button, so you’d have to do it in quite a few places. But here’s one idea if you’re interested… check out bp-follow-hooks.php and look for
function bp_follow_add_profile_follow_button
this is the function that shows that button and you can see it returns false if the user […] -
Andrew Tegenkamp posted on the forum topic BUG: Follow count doesn't update when a member is deleted from the site in the group BuddyPress Followers: 13 years, 9 months ago
@GooseNL, should just be able to add that into bp-custom.php or your theme’s functions.php file. It would only get called based on the actions which is when a user is deleted or made a spam user.
-
Andrew Tegenkamp joined the group BuddyPress Group Email Subscription 13 years, 9 months ago
- Load More
@andrewteg
Active 5 months ago