-
Nahum started the topic Buddypress "Starter Theme" Template Pack in the forum Requests & Feedback 5 years, 5 months 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?
-
Nahum replied to the topic Site Directory shortcode ? in the forum How-to & Troubleshooting 5 years, 5 months ago
could try
https://codex.wordpress.org/Shortcode_API#Output
and -
Nahum started the topic How to make mini activities as regular activity entries in the forum How-to & Troubleshooting 5 years, 5 months ago
How to allow for mini activities to have inner content?
-
Nahum replied to the topic Get rid of gravatar option in the forum How-to & Troubleshooting 5 years, 5 months 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
-
Nahum replied to the topic I dont want buddypress to load on all pages in the forum Installing BuddyPress 5 years, 5 months 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.
-
Nahum started the topic Hiding Flashing Dynamic Nav Counts at 0 – Nouveau in the forum How-to & Troubleshooting 5 years, 5 months 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]
-
Nahum started the topic Automatic BP Setup Nav for public Custom Post Types in the forum Creating & Extending 5 years, 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]
-
Nahum started the topic How to only show profile tab if user has posts in the forum How-to & Troubleshooting 5 years, 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] -
Nahum replied to the topic Woocommerce Activity Entry Content & External Product URL in the forum Creating & Extending 5 years, 5 months ago
screen: https://ibb.co/FJYPhDx
I am able to get the button in the activity entry using bp_get_activity_content_body but that gets added outside my card.
-
Nahum started the topic Woocommerce Activity Entry Content & External Product URL in the forum Creating & Extending 5 years, 5 months ago
Trying to retrieve product url of external product for use in activity entry content. And it seems that the secondary_item_id isn’t available at the time the activity records. Image and title works normally but some reason I can get the product url. (If I use bp_activity_content_before_save and update the product, the product_url does record on…[Read more]
-
Nahum started the topic bp_before_activity_add_parse_args vs. bp_activity_content_before_save in the forum Creating & Extending 5 years, 5 months ago
bp_before_activity_add_parse_args vs. bp_activity_content_before_save
Which one is better for filtering content of blog posts activity entries? Considering that posts can be updated?
bp_parse_args only records first time and doesn’t update an activity entry content for blog components entries while bp_activity_content_before_save does both it…[Read more] -
Nahum started the topic How to use bp_after_has_activities_parse_args with activity filter by in the forum How-to & Troubleshooting 5 years, 6 months ago
function my_bp_activities_include_activity_types( $retval ) {
// only allow the following activity types to be shown
$retval['action'] = array(
'activity_update',
//'activity_comment',
'new_blog_post',
//'new_blog_comment',
//'friendship_created',
//'created_group',
);return…[Read more]
-
Nahum started the topic How to add class to actions generic button – Nouveau in the forum How-to & Troubleshooting 5 years, 6 months ago
<div class=" activity-meta action">
<div class="generic-button">{comment}</div>
<div class="generic-button">{favorite}</div>
<div class="generic-button">{delete}</div>
</div>to
<div class=" activity-meta action">
[Read more]
<div class="generic-button comment">{comment}</div>
<div class="generic-button favorite">{favorite}</div>
<div… -
Nahum started the topic How to remove delete from nouveau activity entry in the forum Creating & Extending 5 years, 6 months ago
add_filter('bp_nouveau_get_activity_entry_buttons', 'remove_delete_activity');
function remove_delete_activity( $return) {unset( $return['activity_delete'] );
return $return;
}
seems to work but is it right
-
Nahum started the topic How to set the default member directory Tab in the forum How-to & Troubleshooting 6 years ago
If using multiple new member types, how do we set the default to another member type tab instead of All Members?
-
Nahum replied to the topic How to Submit Registration and Redirect in the forum Creating & Extending 6 years ago
Thanks for the suggestion, I think I tried that and my problem there was getting what the user inputted username and email to add to the url in order to prepopulate the next form. I can’t auto log them in quite yet to get current user info.
What I ended up doing was this with a plugin:
<script…
[Read more] -
Nahum started the topic How to Submit Registration and Redirect in the forum Creating & Extending 6 years ago
Trying to pass some input info over to another form right after full registration that users need to fill out before being able to login to the site. The email and username are sent over to sync accordingly. I’ve gotten this far…but I guess the redirect cancels the form submit and the wp user needs to exist so they can login after the 2nd…[Read more]
-
Nahum started the topic Remove the no-js body class in the forum How-to & Troubleshooting 6 years ago
What’s the best way to remove the no-js body class?
function bp_remove_no_js( $bp_nouveau ) {
remove_filter( 'body_class', array( $bp_nouveau, 'add_nojs_body_class' ), 20, 1 );
}
add_action( 'bp_theme_compat_actions', 'bp_remove_no_js' );I was having trouble with bp and owl carousel’s no-js body class.
-
Nahum replied to the topic Nouveau Profile User Names Missing if Activity Component Turned Off in the forum How-to & Troubleshooting 6 years ago
I see thanks! I went ahead and did just that!
-
Nahum replied to the topic Nouveau Profile User Names Missing if Activity Component Turned Off in the forum How-to & Troubleshooting 6 years ago
In Nouveau, where is bp_displayed_user_username in members/single template? @prashantvatsh
- Load More
@nahummadrid
Active 2 years, 4 months ago