-
nm replied to the topic Disable BP Tooltips in the forum How-to & Troubleshooting 12 hours, 6 minutes ago
After more trial it seems to be only within the bp wrapped body where activity stream and other components reside.
For example the RSS icon tooltip works but the activity entry buttons and timestamp tooltips do not
-
nm started the topic Disable BP Tooltips in the forum How-to & Troubleshooting 2 days, 12 hours ago
And replace with bootstrap tooltips
jQuery('.bp-tooltip').tooltip({
title: function(){
return jQuery(this).attr('data-bp-tooltip');
}});
doesn’t seem to work. I’ve removed all bp css for tooltips and can’t find anything else interrupting.
-
nm replied to the topic Choosing activity stream information in the forum How-to & Troubleshooting 3 days, 6 hours ago
Anyone might know why this won’t this also apply to the stream after selecting a filter tab like My Friends? Works on the main feed but not after selecting a tab?
-
nm started the topic Remove Rich Text Buttons from Message Compose in the forum How-to & Troubleshooting 5 days, 4 hours ago
Have tried ‘tinymce => false’ in wp_editor in js-templates/messages/index.php
but when this is disabled the messages do not send on clicking send.
Also tried user_can_richedit to false. But same issue, clicking send doesn’t do anything.
Console: Error
buddypress-messages.min.js?ver=5.0.0:1 Uncaught ReferenceError: tinyMCE is not defined…[Read more] -
nm started the topic bp_core_remove_nav_item is not for removing nav item tabs? in the forum How-to & Troubleshooting 5 days, 6 hours ago
What is the best way to remove user tabs? bp_core_remove_nav_item, after many years now, still doesn’t seem to be the solution. This method doesn’t only remove the link from the menu, it disables the component entirely unless I’m missing something because it seems to be offered up as the accept solution on several threads.
I’ve tried…[Read more]
-
nm replied to the topic Change Activity Filter Nav Items Text to Icon in the forum How-to & Troubleshooting 6 days, 6 hours ago
found where this was not being allowed.
in common/nav/directory-nav.php
changed
<?php bp_nouveau_nav_link_text(); ?>
to
<?php echo bp_nouveau_get_nav_link_text(); ?>
-
nm started the topic Change Activity Filter Nav Items Text to Icon in the forum How-to & Troubleshooting 6 days, 8 hours ago
Trying to add icon in place of text but html is not allowed. Any help on how to allow html here.
add_filter('bp_nouveau_get_activity_directory_nav_items', 'my_bp_nav_items_text');
function my_bp_nav_items_text($nav_items) {
$nav_items['all']['text'] = __( '<i class="fas fa-at"></i>', 'buddypress' );
return…[Read more]
-
nm started the topic Activity Page as Front Page, Edit Page, Multisite vs Single in the forum How-to & Troubleshooting 1 week ago
Came a across some curveballs when using multisite and putting activity page as static front page.
I’m seeing the following:
On a single install, when the activity page is set as the front page, the Edit Page link in the admin bar appears normally.
One multisite, when the activity page is set as the front page on the main site, the Edit Page…[Read more]
-
nm replied to the topic Filter activity from "Everything" only in the forum How-to & Troubleshooting 4 months, 1 week ago
I always reference this https://buddypress.org/support/topic/choosing-activity-stream-information/ but maybe something like, untested
add_filter( 'bp_before_has_activities_parse_args', function( $args ) {
if(bp_is_current_action( 'groups' )) {
$args['object'] = array('groups');
} else {
$filter_query = array(
array(
'column' =>…[Read more] -
nm replied to the topic Legacy and Nouveau Templates in One Theme in the forum Creating & Extending 4 months, 3 weeks ago
If the above is working with template files, why wouldn’t overwriting buddypress.css via /buddypress/bp-legacy/css be working like it would under /buddypress/css or /community/css?
-
nm replied to the topic Legacy and Nouveau Templates in One Theme in the forum Creating & Extending 4 months, 3 weeks ago
oops sorry I put in the wrong snip then I couldn’t edit…here’s what seems to be working for me.
add_filter( 'bp_get_template_locations', 'my_template_pack_stack' );
function my_template_pack_stack( $locations = array() ) {
if( bp_get_theme_package_id() === 'nouveau') {
$locations[] = '/buddypress/bp-nouveau';
} elseif(…[Read more]
-
nm started the topic Legacy and Nouveau Templates in One Theme in the forum Creating & Extending 4 months, 3 weeks ago
I have had a fear of missing out ever since nouveau came out and I’ve still been hung up on this question: https://buddypress.org/support/topic/bp-nouveau-vs-bp-legacy/
Is this the solution or on the right path?
function my_template_pack_stack( $stacks = array() ) {
[Read more]
$retval = array();
if( bp_get_theme_package_id() === 'nouveau') {… -
nm started the topic Buddypress "Starter Theme" Template Pack in the forum Requests & Feedback 4 months, 3 weeks ago
Is there anyone working on a starter pack in the way of underscores for more of a bare bones buddypress template pack. Is legacy meant to be the default template or nouveau?
Are there 3rd party template packs at all available?
-
nm replied to the topic Site Directory shortcode ? in the forum How-to & Troubleshooting 4 months, 3 weeks ago
could try
https://codex.wordpress.org/Shortcode_API#Output
and -
nm started the topic How to make mini activities as regular activity entries in the forum How-to & Troubleshooting 4 months, 3 weeks ago
How to allow for mini activities to have inner content?
-
nm replied to the topic Get rid of gravatar option in the forum How-to & Troubleshooting 4 months, 4 weeks ago
Find the /buddypress/members/single/profile/change-avatar.php file and place a copy in your child theme’s /buddypress/members/single/profile/ folder and modify that file by removing the parts about gravatar
or this maybe
-
nm replied to the topic I dont want buddypress to load on all pages in the forum Installing BuddyPress 4 months, 4 weeks ago
That is a path I have tried but I think it would be a little different for nouveau pack. I tried it but don’t fully know the downsides…I think mentions can happen from blog comments so I know that would not work with some of those dequeues. I can’t think of any other reasons where scripts would be needed…maybe if you use bp widgets on non bp pages.
-
nm started the topic Hiding Flashing Dynamic Nav Counts at 0 – Nouveau in the forum How-to & Troubleshooting 4 months, 4 weeks ago
Trying to get to the best way to avoid those flashing number counts in the activity navigation tabs when at 0.
What I ended up doing is overriding the /common/nav/directory-nav.php template from:
<?php if ( bp_nouveau_nav_has_count() ) : ?>
<span class="count"><?php bp_nouveau_nav_count(); ?></span>
<?php endif; ?>to
<?php if (…[Read more]
-
nm started the topic Automatic BP Setup Nav for public Custom Post Types in the forum Creating & Extending 5 months ago
Trying to automate the bp_setup_nav function to create the profile nav items and screens for any public custom post types available and have had some success to the point of getting the right templates to show. I have it working if I create bp_template_content function for each template and call them respectively via screen_function…so I’ve been…[Read more]
-
nm started the topic How to only show profile tab if user has posts in the forum How-to & Troubleshooting 5 months ago
Doesn’t work…thought it did at one point.
add_action('bp_setup_nav', 'mb_bp_user_posts' );function mb_bp_user_posts() {
global $bp;$user_post_count = count_user_posts(bp_displayed_user_id() , 'post' );
if($user_post_count) {bp_core_new_nav_item(
array(
'name' => 'Posts',
'slug' => 'posts',
'position' => 10,…[Read more] - Load More
@nahummadrid
active 12 hours, 11 minutes ago