Forum Replies Created
-
In reply to: Does BuddyPress works?
Did you read this:
In reply to: How to edit the blog displayYou can create template overloads of the files you want to change.
The single group templates are here:
buddypress\bp-templates\bp-legacy\buddypress\groups\single\I’m not aware of any way to filter / remove the admin notices.
Even though you don’t need them, have you tried creating pages for Activate and Register?
In reply to: Editing group role permissionsCreate a template overload of this file:
buddypress\bp-templates\bp-legacy\buddypress\groups\single\activity.phpIn the overload, change this:
<?php if ( is_user_logged_in() && bp_group_is_member() ) : ?>to this:
<?php if ( is_user_logged_in() && bp_group_is_admin() ) : ?>In reply to: Problem with link to user profileThis doesn’t directly solve your problem, but…
You shouldn’t use ‘admin’ as a user name.
https://codex.wordpress.org/Hardening_WordPress#Security_through_obscurityIt sounds like the requests are being generated by a plugin or some other custom code – probably related to registration.
Try turning off all plugins except BuddyPress and see it the issue persists.In reply to: Automatic links in profile fieldsTry this in your theme/functions.php or in bp-custom.php
function klosurdo_unlink_fields( $field_value ) { $no_link_fields = array( 'Photographer Bio' ); $bp_this_field_name = bp_get_the_profile_field_name(); if ( in_array( $bp_this_field_name, $no_link_fields ) ) $field_value = strip_tags( $field_value ); return $field_value; } add_filter( 'bp_get_the_profile_field_value', 'klosurdo_unlink_fields', 99, 1 );This may help on your second item:
https://buddypress.org/support/topic/sorting-by-last-name-goes-wrong-when-having-multiple-words-as-last-name/In reply to: Adding xprofile data to the Activity StreamAs it says in that thread – to
entry.php
Specificallybuddypress\bp-templates\bp-legacy\buddypress\activity\entry.phpAnd of course create a template overload of that file.
In reply to: wp_redirect() breaks buddypress commenting?Try:
if ( current_user_can('subscriber') && ! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) { wp_redirect( home_url() ); exit; }In reply to: Activity loopif ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&per_page=5' ) ) :In reply to: order member list by register dateIn reply to: Activity Feed not showing new membersI think you’re missing some fields in your
bp_activity_addcall.In reply to: [Resolved] Featured image not displaying on pageLook at this file:
buddypress\bp-templates\bp-legacy\buddypress\groups\index.phpNote the 3 action hooks near the top.
Use one of them to add your image.
For example:function sstan_add_img() { echo '<img src="url to your image">'; } add_action( 'bp_before_directory_groups', 'sstan_add_img' );In reply to: Hide Pending Registrations from Site ActivityYou really should ask the plugin authors this question using their support forum:
https://wordpress.org/support/plugin/bp-registration-optionsI’ve never used their plugin, but do you have ‘moderation’ turned on?
From their readme file:* Hide “Person became a registered member” from activity stream if moderation is turned on until person is approved.
This will prevent new registrations from showing in site activity, regardless of whether you’re using their plugin… but maybe you need something else?
remove_action( 'bp_core_activated_user', 'bp_core_new_user_activity' );In reply to: Sitewide MessagingTo send a message to all users, go to your profile > Messages > Compose
and select the checkbox that says “This is a notice to all users”.It will send a message, not a notice.
I agree that the use of the word notice is rather confusing.In reply to: How can users create topics via the toolbar?Your question is specific to bbPress.
You may want to ask on the bbPress support forum.In reply to: bp_has_members returns nothing$memberArray = get_users( 'fields=ID' );
https://codex.wordpress.org/Function_Reference/get_usersIn reply to: Private Message REPLIES not working in Premium themeSince your issue is specific to your theme, you probably won’t find an answer here unless somebody else has that theme.
Your best bet is to ask the One Community theme author.
In reply to: Default landing tab on site-wide activityYou make a good point.
It definitely should be exposed as aDEFINE, similar todefine('BP_DEFAULT_COMPONENT', 'profile' );I suggest you create an enhancement ticket. Use the same user / pw that you use here.
In reply to: New to BP and need adviceNote that BP installs usually use bbPress for forums.
Integrating BP and Simple Machine Forum may not be easy or even possible.The best approach is to clone your site as a dev site and try things out.
In reply to: PHP ErrorYour question is better asked on the bbPress support forum.
The fix is simple – open to the file and go to the line in question and change
function display()tofunction display($group_id = NULL)In reply to: FATAL ERROR: BuddyPress 2.2.3 – Security ReleaseBuddyPress does not call
class phpmailerExceptionso the error is from something else on your site.What version of BP are you using?
I have copied home.php file from “single” directory to “community” directory I created in my child theme
So does the file structure in your community dir look like this:
community/members/single/home.php