Forum Replies Created
-
In reply to: Profiles
Jobs and businesses are not in the buddypress coding.
If you meant business as in a user profile administrating different capabilities like regular posts, custom posts and Buddypress groups, then WordPress itself has the means.
You can upgrade any user account as a site administrator to become, for example, an editor or author with more capabilities than a normal account.
In a Buddypress group you can manage who’s the groups administrator inside the group under “manage”.
Read about the WordPress roles here: https://wordpress.org/support/article/roles-and-capabilities/
Read about the Buddypress capabilities here: https://codex.buddypress.org/administrator-guide/groups/
In reply to: How to override member-header.php?Look at the bp-templates as pre-made themes for Buddypress pages. You can figure out what you’re currently using through your WordPress dashboard > settings > buddypress > options > template pack.
Legacy was the old templating system for Buddypress and a lot of websites still use it. Other new Buddypress installations use Nouveau which is now the default.
So in short, they’re not removing legacy due to many sites still using it, bp-default is there as a fallback should the other two fail and Nouveau is the current templating system for Buddypress.
In reply to: Restrict posting in activity feeds to admin onlyYou can find some answers here:
Keep in mind you’re using Youzer which is overriding a lot of the standard buddypress plugin’s templates, so you’d probably be better off asking in the Youzer forum.
Unless you have a theme or another custom plugin already overriding it somewhere else, here’s where you’ll find it inside the Buddypress plugin.
Legacy
buddypress > bp-templates > bp-legacy > buddypress > groups > single > members.phpNouveau
buddypress > bp-templates > bp-nouveau >buddypress >groups > single > members-loop.phpprofile field
<?php echo xprofile_get_field_data( 'profile field name', bp_get_member_user_id() ); ?>Remember to override the template with your own in your theme so plugin updates doesn’t override your changes.
In reply to: customizing members listIn Legacy the code for the member list is something like this
<?php while ( bp_group_members() ) : bp_group_the_member(); ?> <li> <a href="<?php bp_group_member_domain(); ?>"> <?php bp_group_member_avatar_thumb(); ?> </a> <?php bp_group_member_link(); ?> </li> <?php endwhile; ?>and to call the profile field data its
<?php echo xprofile_get_field_data( 'name of profile field', $user_id; ?>Where $user_id would be whichever user you’re handling.
These are just examples but maybe it could get you somewhere.
In reply to: Adding original post content in email notificationsCan you clarify your question? The {{usermessage}} already shows the content of the update and already “grabs the contents of the original update post”, like you’re writing.
Are you asking how to rename “Go To the Discussion” to the thread title?
Maybe you can find what you’re looking for in
In reply to: Mysterious user profile redirectDid you check if it’s theme related or some code bugging it in bp-custom.php?
In reply to: WC wishlist in BP groupYes there’s always a way! Personally I’d probably just make a new group tab and link the data from a good wc wishlist plugin on each member.
If you don’t know how to code you should probably find someone who can or start googling it.
In reply to: Solved – Change location of template noticesShould be this for legacy
<?php do_action( 'template_notices' ); ?>