-
Henry Wright replied to the topic Assign a user another user to talk to and they can only talk to that person. in the forum How-to & Troubleshooting 10 years, 9 months ago
You will need to go through all of the BuddyPress communication channels available:
1. Private messaging
2. Public messagingetc
Then when a user attempts to send a message to a user they have not been assigned to, disallow it to happen via one of the hooks BuddyPress makes available.
With reference to assigning a user to a user, this could be…[Read more]
-
Baden updated the BP PHPDoc Inline Documentation page, on the BuddyPress Codex 10 years, 9 months ago
Introduction
BuddyPress strives for the most complete internal documentation possible. When contributing patches to BuddyPress, you are highly encouraged to document your code using our standards. We also […] -
Henry Wright replied to the topic bp-custom.php causes category problem in the forum How-to & Troubleshooting 10 years, 9 months ago
I use a bp-custom.php file in the plugin folder
Do you mean like this
plugins/buddypress/bp-custom.php?If so, that’s the wrong place. It should be here:
plugins/bp-custom.php -
modemlooper replied to the topic What does Site Tracking do? in the forum How-to & Troubleshooting 10 years, 9 months ago
yes, sorta a misplaced admin option. its not a component at all. should be a setting and only show if activity is enabled.
-
Derek's profile was updated 10 years, 9 months ago
-
Henry Wright replied to the topic Chart in Profile in the forum Creating & Extending 10 years, 9 months ago
You could use a server side library such as PHP GD to generate the chart from database data.
-
Davidson Law's profile was updated 10 years, 9 months ago
-
Henry Wright replied to the topic Checkbox enabled by default Alternative Public Group Control plugin in the forum Ideas 10 years, 9 months ago
You could open an issue and ask that question here.
-
Henry Wright replied to the topic Is it possible? in the forum Miscellaneous 10 years, 9 months ago
1. Which forum are you using? If you migrated your forum content to bbPress, you’d have one login shared across both your forum and your (WordPress) website. Is that an option you’d consider?
-
bhinoj perti1's profile was updated 10 years, 9 months ago
-
shinoi ghono's profile was updated 10 years, 9 months ago
-
Angelo Rocha replied to the topic Group Category in the forum Creating & Extending 10 years, 9 months ago
Is possible create a loop to display only groups with certain terms?
I try:
[Read more]
$args = array(
'posts_per_page' => '-1',
'tax_query' => array(
array(
'taxonomy' => 'bp_group_tags',
'field' => 'slug',
'terms' => '3d',
),
),
$query = new WP_Query($args);
?>
<?php if( $query ->… -
Henry Wright replied to the topic WMT show increase of 404 errors. where are they coming from? in the forum How-to & Troubleshooting 10 years, 9 months ago
I’m not sure but perhaps it’s related to the private messaging component? I know those URLs look like /members/username/messages/etc..
-
Henry Wright replied to the topic how to check if the length of field is too long? in the forum How-to & Troubleshooting 10 years, 9 months ago
Yes, I think you can. Try this:
function my_username_validation() {
if ( strlen( $_POST['signup_username'] ) > 16 ) {
global $bp;
$bp->signup->errors['signup_username'] = __( 'Put your error message here.', 'buddypress' );
}
}
add_action( 'bp_signup_validate', 'my_username_validation'… -
Henry Wright replied to the topic WMT show increase of 404 errors. where are they coming from? in the forum How-to & Troubleshooting 10 years, 9 months ago
You could configure your robots.txt to exclude the /messages/ directory:
User-agent: *
Disallow: /messages/With time, Googlebot should stop hitting that area of your website and the 404 errors will disappear?
-
Henry Wright replied to the topic restrict friend requests in the forum How-to & Troubleshooting 10 years, 9 months ago
Have you tried the BuddyPress Limit Friendship plugin?
-
Henry Wright replied to the topic how to check if the length of field is too long? in the forum How-to & Troubleshooting 10 years, 9 months ago
You will need to make use of hooks and the strlen() function.
For example, at registration, in order to validate the username so that it isn’t longer than 16 characters, you can do this:
function my_username_validation() {[Read more]
// Perform validation here using the strlen() function to check the field length.
}
add_action( 'bp_signup_validate',… -
Henry Wright replied to the topic Private Message Pagination in the forum How-to & Troubleshooting 10 years, 9 months ago
@danbp I needed your answer 1 year 6 months ago 🙂
-
Kailan Wyatt replied to the topic i want to, nobody can not change own gender. in the forum Miscellaneous 10 years, 9 months ago
You can try this plugin by BuddyDev
-
Henry Wright replied to the topic [Resolved] Problem with duplicate content in the forum How-to & Troubleshooting 10 years, 9 months ago
Great 🙂
- Load More