-
Boone Gorges posted on the forum topic Trying to modify the group loop [SOLVED] in the group Creating & Extending: 13 years, 9 months ago
I think you might be barking up the wrong tree. Since you want to repurpose an existing query (the ‘my groups’ query) you don’t really need to alter the querystring. Instead, you should be altering the behavior of the query itself, which happens at the level of the bp_has_groups() function, as found in bp-groups/bp-groups-templatetags.php. One […]
-
Boone Gorges posted on the forum topic Trying to modify the group loop in the group Creating & Extending: 13 years, 9 months ago
Check out the function bp_dtheme_ajax_querystring() in bp-themes/bp-default/_inc/ajax.php. That’s where most of the bp_ajax_querystring() magic is happening. Essentially, it looks first in the $_POST (for a new value via AJAX) and from there in the $_COOKIE for the current page view.
-
Boone Gorges posted on the forum topic OpenSocial for BuddyPress in the group Creating & Extending: 13 years, 9 months ago
There’s an issue tracker at trac.buddypress.org (same username:pw as you use here), where you should feel free to open tickets for ways that BP needs to be changed in order for your Open Social add-on to work. For more general discussions – when you are talking about extending BP rather than modifying it – this […]
-
Boone Gorges posted on the forum topic Will BP adminbar survive WP 3.1? in the group How-To and Troubleshooting: 13 years, 9 months ago
It’s possible that there will be a version of the BP buddybar that is built into the WP 3.1 admin bar by the time the next version of BuddyPress comes out. However, I do not think that the BP Buddybar will be taken out of BP in the next version in any case, as it […]
-
Boone Gorges posted on the forum topic OpenSocial for BuddyPress in the group Creating & Extending: 13 years, 9 months ago
Yeah, @modemlooper what are you using for your iPhone app in the absence of REST? Or are you requiring a BP plugin to make it work?
-
Boone Gorges posted on the forum topic OpenSocial for BuddyPress in the group Creating & Extending: 13 years, 9 months ago
Hey Carl – Here are a couple considerations. – WordPress (which BP runs on top of) already has support for XML-RPC. Here’s the spec: https://codex.wordpress.org/XML-RPC_wp Of course, the details of this spec are not much good for BuddyPress, since for the most part, BuddyPress data objects are different from WP data objects. But the gateways […]
-
Boone Gorges posted on the forum topic Refactoring BuddyPress plugin / add on template files. in the group BP-Default: 13 years, 9 months ago
I think there are a couple things that could be done to improve the situation with respect to themability and plugins. Right now, bp-default contains two generic plugin templates: /members/single/plugins.php and /groups/single/plugins.php. These do, essentially, exactly what @modemlooper suggests in the OP: they provide a shell (header, footer,…[Read more]
-
Boone Gorges posted on the forum topic Security Feature Suggestions? in the group Requests & Feedback: 13 years, 9 months ago
Please don’t bump your own posts more than once every 24 hours.
-
Boone Gorges posted on the forum topic Security Feature Suggestions? in the group Requests & Feedback: 13 years, 9 months ago
Sorry to jump in on what is apparently just a semantic issue, but I want to point out that BuddyPress is actually quite *secure*, taking advantage of a wide array of security features in WordPress intended to prevent against various kinds of mischief (SQL injection, XSS, CSRF, etc) and in some cases inventing its own. […]
-
Boone Gorges posted on the forum topic code to add activity filter in the group BP Group Reviews: 13 years, 9 months ago
Thanks! If I remember, I will add this to the plugin itself.
-
Boone Gorges posted on the forum topic Some questions about BuddyPress friendships in the group How-To and Troubleshooting: 13 years, 9 months ago
Ah, yeah, if you are trying to access things in an ajaxy way, and you’re not hooking into WP in the right way, you might hit some problems because BP and other plugins might not be fully loaded. Were you using a wp_ajax_ hook? Generally speaking, you can’t simply include BP files manually and have […]
-
Boone Gorges posted on the forum topic Some questions about BuddyPress friendships in the group How-To and Troubleshooting: 13 years, 9 months ago
Sorry we couldn’t be of more help. I am really perplexed about your situation. There must be a conflict with something else in your setup, as I have never heard of this kind of problem before. If you ever feel like sharing the code you wrote to replace it, feel free.
-
Boone Gorges posted on the forum topic suggestion in the group BP Group Reviews: 13 years, 9 months ago
It was a mistake, which has been fixed in https://github.com/boonebgorges/bp-group-reviews/commit/527a4ffb88c2c48d26a2f1dcdf39034714dd8fc2 and version 1.2
-
Boone Gorges posted on the forum topic Number of reviews next to stars is incorrect in the group BP Group Reviews: 13 years, 9 months ago
This has been fixed in 1.2. Thanks for the feedback!
-
Boone Gorges posted on the forum topic reviews per user in the group BP Group Reviews: 13 years, 9 months ago
This is possible, though you’ll have to code some of it yourself. First, you’ll have to apply the change I just made to one of the functions (which will be released in the next version) https://github.com/boonebgorges/bp-group-reviews/commit/54b6a648393afec39740fb3e797acb2f35b4614c Then, you’ll have to filter the output of that function (using
add_…
[Read more] -
Boone Gorges posted on the forum topic Feature suggest: ratings in Group Directory in the group BP Group Reviews: 13 years, 9 months ago
Wow, that’s a really interesting idea. Technically, it would be possible to do this now. Ratings are linked to activity items, and activity items are dated. So you could build a tool that gets activity items between a certain set of dates, and calculates ratings based on that. To make it more efficient, you could […]
-
Boone Gorges posted on the forum topic Get member ID when viewing member page in the group How-To and Troubleshooting: 13 years, 9 months ago
Try
query_posts( 'author=' . $bp->displayed_user->id )
-
Boone Gorges posted on the forum topic Avatar Crop Page Header and Background Image don't load in the group How-To and Troubleshooting: 13 years, 10 months ago
Do you have a link and maybe a dummy login? If it’s a js/css problem, it shouldn’t be too hard to figure out from the front end.
-
Boone Gorges posted on the forum topic My 2 Cents in the group Requests & Feedback: 13 years, 10 months ago
1. If you don’t want the nav bar, you can suppress it with the following line in your wp-config.php file:
define( 'BP_DISABLE_ADMIN_BAR', true );
or you can manually unhook it with the following lines in your theme’s functions.php:remove_action( 'wp_footer', 'bp_core_admin_bar', 8 ); remove_action( 'admin_footer', 'bp_core_admin_bar' );
No need…[Read more] -
Boone Gorges posted on the forum topic Some questions about BuddyPress friendships in the group How-To and Troubleshooting: 13 years, 10 months ago
I doubt it’s a problem with prepare() itself, since that method is used on nearly every query in BuddyPress and I have never heard of this problem before.
It could be the case that $loggedin_userid and $possible_friend_userid are improperly cast. Try switching %d with %s in check_is_friend() and see what happens.
- Load More
@boonebgorges
Active 1 year, 4 months ago