-
Brandon Allen replied to the forum topic WP & BP I cant create users or groups, reloads to blank page. in the group How-To and Troubleshooting 12 years, 6 months ago
Do you have cookies enabled?
-
Brandon Allen posted on the forum topic Call to arms – Own your task in the group Requests & Feedback: 13 years, 6 months ago
Yeah, it’s definitely not something I see happening before CTPs are mapped out. It’s a little too late in the game to try something that big for 1.3, and it would be a much easier transition to wait for CPTs. Just figured I would throw it into the mix.
-
Brandon Allen posted on the forum topic Call to arms – Own your task in the group Requests & Feedback: 13 years, 6 months ago
Also, I’ll work on phpDoc.
-
Brandon Allen posted on the forum topic Call to arms – Own your task in the group Requests & Feedback: 13 years, 6 months ago
If there are no objections, I’d like to work on moving all xprofile data into the user_meta table so we can make use of the WP_User_Query class. For many reasons, this would be for 1.4+.
-
Brandon Allen posted on the forum topic There was an error sending that message, please try again in the group How-To and Troubleshooting: 13 years, 6 months ago
BP requires this, because otherwise it would get complicated, both from a code and from a usability standpoint. While you can send an email without a subject, it’s not considered best practice.
The code won’t allow you to send a message without a subject, so I would go with r-a-y’s suggestion.
-
Brandon Allen posted on the forum topic How to have a view counter of the topic in the group How-To and Troubleshooting: 13 years, 6 months ago
I have not gotten to it yet.
-
Brandon Allen posted on the forum topic BP Fatal Error? in the group How-To and Troubleshooting: 13 years, 6 months ago
Are you using a custom template for this?
-
Brandon Allen posted on the forum topic bp_get_profile_field_data to filter custom members-loop in the group Creating & Extending: 13 years, 6 months ago
So, just a few hours ago, Boone just added a ticket with patch (https://buddypress.trac.wordpress.org/ticket/3205) to make this very easy. If any of you could go test this, then add any feedback, that would be great. The patch is for 1.3, but you should be able to make it work on 1.2.x.
-
Brandon Allen posted on the forum topic bp_get_profile_field_data to filter custom members-loop in the group Creating & Extending: 13 years, 6 months ago
This is most likely happening because you’re using it inside the members loop. The members loop contains a long list of users, but then you’re limiting the ones displayed using your code. You can try filtering the $sql statement with ‘bp_core_get_paged_users_sql’. Also, definitely stick with
bp_get_profile_field_data
if you decide to go that…[Read more] -
Brandon Allen posted on the forum topic BP Fatal Error? in the group How-To and Troubleshooting: 13 years, 6 months ago
@JamieWade Are you running the site with WP_DEBUG set to true?
-
Brandon Allen posted on the forum topic How To Remove Sub-Reply Button? in the group How-To and Troubleshooting: 13 years, 6 months ago
I haven’t been testing these. I’ll try to test tonight and get you a working one. A core hack the last thing you want to do.
-
Brandon Allen posted on the forum topic Sorry, but you are looking for something that isn't there in the group How-To and Troubleshooting: 13 years, 6 months ago
-
Brandon Allen posted on the forum topic Sorry, but you are looking for something that isn't there in the group How-To and Troubleshooting: 13 years, 6 months ago
To fix the front page, go to your WP dashboard Settings > Reading, and set the front page to activity stream, or anything else you’d like the front page to be. As far as _http://partofpeople.dk/geo, You’ll most likely need to set up a page through WP to get that to work.
-
Brandon Allen posted on the forum topic How To Remove Sub-Reply Button? in the group How-To and Troubleshooting: 13 years, 6 months ago
Try this:
function my_filter_activity_comment_reply_links( $content ) {
preg_replace( '/(<span class="acomment-replylink">)(.*)(</span>)/g', '', $content);return $content;
}Also, it should be noted that this code is not restricted to your bp-custom.php file. It can also go in your theme’s functions.php…
-
Brandon Allen posted on the forum topic Change Reply button on activty stream posting for Forums! in the group How-To and Troubleshooting: 13 years, 6 months ago
For anyone else with this question, the following code should work:
<a href="" class="acomment-view" id="acomment-comment-"></a>
<a href="" class="acomment-reply" id="acomment-comment-"> (<span></span>)</a>
function my_bp_activity_type_is_new_forum_post() {
if ( 'new_forum_post' == bp_get_activity_type() )…[Read more] -
Brandon Allen posted on the forum topic CSS Not Serving from CDN/Cloudfront in the group How-To and Troubleshooting: 13 years, 6 months ago
The css appears as you want on my end.
-
Brandon Allen posted on the forum topic How to make Activity Tab as default and remove home link from header. in the group How-To and Troubleshooting: 13 years, 6 months ago
@adrianmaggio and @agck I don’t know to what you’re referring, but I see go to Dashboard > Settings > Reading, and set the “Front page displays” setting to “A static page (select below)”, then choose “Activity Stream” from the “Front Page” drop-down menu. I even tried out a fresh 3.1.1 install. This is how you set […]
-
Brandon Allen posted on the forum topic suggestion: for removing activity, instead of "Delete", say "Hide" in the group Requests & Feedback: 13 years, 6 months ago
You would put
in place of
-
Brandon Allen posted on the forum topic suggestion: for removing activity, instead of "Delete", say "Hide" in the group Requests & Feedback: 13 years, 6 months ago
If that’s all you’re looking to do, you could use a function like this in your theme: `function my_reply_hide_text() { echo my_get_reply_hide_text(); } function my_get_reply_hide_text() { // Get activity type $activity_type = bp_get_activity_type(); // Set default text $text = ‘Reply’; switch ( $activity_type ) { // Activity types to “hide” case…[Read more]
-
Brandon Allen posted on the forum topic wpmu dev – GPL? in the group Miscellaneous: 13 years, 6 months ago
As @uloga said, it’s well within your legal rights (expect for custom js, css, and images if they have a separate license). However, just because you can, doesn’t mean you should.
- Load More
@cnorris23
Active 2 months, 2 weeks ago