-
Boone Gorges posted on the forum topic Forum Attachments for BuddyPress: only admins can attach docs in the group How-To and Troubleshooting: 14 years, 1 month ago
Awesome, good to know – I’ll have a more proper fix for the plugin sometime soon, but this will definitely work as a stopgap.
-
Boone Gorges posted on the forum topic Forum Attachments for BuddyPress: only admins can attach docs in the group How-To and Troubleshooting: 14 years, 1 month ago
Can I get a bit of clarification on what “can’t” means in “users can’t upload”? Does it mean that the upload field isn’t showing up at all for non-admins? Or does it mean that they get an error when they do try uploading? If it’s the former, try pasting the following lines into the very […]
-
Boone Gorges posted on the forum topic "Create a Blog" Initial Message in the group How-To and Troubleshooting: 14 years, 1 month ago
No, it looks like there’s no way to do it. It shouldn’t be that way, though – would you mind filing an enhancement ticket at trac.buddypress.org?
-
Boone Gorges posted on the forum topic bb_attachments roles for uploading in the group How-To and Troubleshooting: 14 years, 1 month ago
Your wish is my command ๐
-
Boone Gorges posted on the forum topic Forum Attachments for BuddyPress: only admins can attach docs in the group How-To and Troubleshooting: 14 years, 1 month ago
Actually, you should try setting them all to ‘read’. It’ll still be limited to logged in users in virtue of the fact that BP itself only allows members to post in forums.
I’m not near a computer at the moment, but I’ll try to figure it the problem as soon as I can.
-
Boone Gorges posted on the forum topic Getting rid of Gravatars … in the group Requests & Feedback: 14 years, 1 month ago
Cool, I’m glad the first part worked! Here’s a thrown-together-in-five-minutes filter to replace missing avatars with BP’s default mystery man. This probably won’t differentiate between user and group avatars, which you’ll have to sniff out of the $params array (in sort of the same way that I do with width and height). The basic idea […]
-
Boone Gorges posted on the forum topic bb_attachments roles for uploading in the group How-To and Troubleshooting: 14 years, 1 month ago
I think that ‘read’ is what you’re looking for, though I must admit that I haven’t put much thought into the way that the bbPress permissions translate in BP. That part of the plugin could use some real adaptation to BuddyPress, so that it uses things like
groups_is_user_mod()
rather thanbb_current_user_can()
– or at least […] -
Boone Gorges posted on the forum topic How to show code in forum posts? in the group How-To and Troubleshooting: 14 years, 1 month ago
Here’s the code that does it on buddypress.org. It’s basically repurposed from bbPress. I had to replace the actual backtick with the phrase
so that it would render properly on this forum. Make sure to correct that in your version. `// Borrowed from bbPress function bporg_encodeit( $matches ) { $text = trim($matches); $text = […]
-
Boone Gorges posted on the forum topic Custom CSS Changes in the group Creating & Extending: 14 years, 1 month ago
Are you sure that your custom-sample.css file is actually being included? With a file name like ‘custom-sample’, I’m guessing that it might not be. Check out the theme’s main style.css, and see if there’s an @import rule for custom-sample.css (or if there is a rule in any other imported stylesheet). I’m not sure how bp-social works […]
-
Boone Gorges posted on the forum topic Detecting if user is Moderator and other template tags in the group How-To and Troubleshooting: 14 years, 1 month ago
groups_is_user_mod( $user_id, $group_id )
groups_is_user_admin( $user_id, $group_id )
Check out their definitions in bp-groups.php. They check whether the user is a mod/admin of a particular group. But that won’t work all that well on a profile page, because a user could be a member of a number of groups, so you won’t have a specific […] -
Boone Gorges posted on the forum topic Detecting User ID of a poster of a forum topic in the group How-To and Troubleshooting: 14 years, 1 month ago
Try bp_get_the_topic_poster_id().
bp-forums-templatetags.php has all of those functions. If there isn’t a template tag for the data you need, make your own – you can use those as a pattern (getting the value out of an appropriate global).
-
Boone Gorges posted on the forum topic Reply to forums through Email in the group Creating & Extending: 14 years, 1 month ago
I would love this, and it’s something I’ve thought of building myself. I’ve been waiting, hoping that the rumored post/comment-by-email core WP plugin would materialize and provide a foundation on which to build the BP functionality. I’ll poke around to see if I can find a good starting place. If anyone else finds anything, be […]
-
Boone Gorges posted on the forum topic Getting rid of Gravatars … in the group Requests & Feedback: 14 years, 1 month ago
At the moment, there is no easy way to turn off Gravatar. I agree that there should be an easy way, as there can be performance concerns, as @mistercyril. (Though I find “I’m starting to think I’m the only one concerned with performance” unnecessarily confrontational.) I’ve had issues with it in the past myself. I’ve just […]
-
Boone Gorges posted on the forum topic looking for some help with jquery, Iโm really getting lost with thisโฆ in the group Creating & Extending: 14 years, 1 month ago
jquery should already be loaded on all Dashboard panels, I think. You may still need to load jquery-ui. In that case, your method looks like it should work. The only possible snag I can see is that is_admin() might return false until after the ‘init’ action. In that case, try just doing
add_action('init', 'load_js');
and […] -
Boone Gorges posted on the forum topic @mentions show up on personal activity streams like they do here on BP.org? in the group Creating & Extending: 14 years, 1 month ago
Here’s how buddypress.org does it, with a filter that essentially adds a search term ‘ @username‘ to the bp_has_activities filter: `function bporg_activity_with_others_filter( $qs ) { global $bp; $user_id = ( bp_displayed_user_id() ) ? bp_displayed_user_id() : bp_loggedin_user_id(); /* Only filter on directory pages (no action) and the following…[Read more]
-
Boone Gorges posted on the forum topic Buddypress Template Pack and Buddypress 1.2.6 โ things break but I have a solution in the group How-To and Troubleshooting: 14 years, 1 month ago
Ping @djpaul
-
Boone Gorges posted on the forum topic Change another user's avatar in the group How-To and Troubleshooting: 14 years, 1 month ago
Heh heh. I was looking for “change avatar” under the edit profile section. Dang wording threw me off ๐
-
Boone Gorges posted on the forum topic Change another user's avatar in the group How-To and Troubleshooting: 14 years, 1 month ago
Actually, you should be able to do this out of the box, there’s just no link for it. To change a user’s avatar, visit the link
http:///members//profile/change-avatar -
Boone Gorges posted on the forum topic Disable name change for users in the group How-To and Troubleshooting: 14 years, 1 month ago
Try this on for size. Hackish but functional, until real exclude arguments exist (they’re coming in 1.3, I promise!) Put it in your bp-custom.php `function bbg_disallow_name_edit( $has_profile ) { global $profile_template, $bp; if ( ‘edit’ != $bp->current_action || !bp_is_my_profile() ) return $has_profile; foreach(…[Read more]
-
Boone Gorges posted on the forum topic New avatars after installing latest BP? in the group How-To and Troubleshooting: 14 years, 1 month ago
Try dropping this in bp-custom.php:
function bbg_remove_secondary_avatar() {
return false;
}
add_filter( 'bp_get_activity_secondary_avatar', 'bbg_remove_secondary_avatar' ); - Load More
@boonebgorges
Active 1 year, 4 months ago