Search Results for 'buddypress'
-
Search Results
-
Hi there
I’m new to the Web Dev game, and I am looking for someone who is well versed in TutorLMS, BuddyPress & Paid membership Pro integrations please? I’m unsure how it all fits together.
Topic: Group Creation glitch
When I try to create a new group on “Group” on the side bar, it takes me to the payment section of Memberships of Paid membership Pro, even when I’m logged in as the WordPress admin. I’m running a TutorLMS site.
Please help.
http://www.dynamicdevelopment.today
Latest WordPress & Buddypress versionsI’m building a new wordpress site with buddypress and have just noticed that when I have the Nouveau template active, the “Add Friend” buttons disappear from the site. When I switch it to the legacy template, the “Add Friend” button reappears. When using the Nouveau template, the send public message button appears just fine in the member profile page.
If it is helpful, I’m running WordPress 6.4.1, using the Astra theme, and BuddyPress 11.4.
Hello, I’ve installed several plugins (according to internet) to do this but I can’t find anywhere how to allow members to create their store.
The profile only displays their order. No information on how to create a store with products.
How can I do this?
My plugin :
BuddyBoss Platform
BP Classic
BuddyCommerce
BuddyPress Integration for WooCommerce
WC Vendors MarketplaceHi, I have managed to get a xprofile field (checkbox with three options) to be displayed with a count as tabs next to the “all members” tabs. It’s similar to what @danbp hast done and is working in this Post: 2.2 Member Types – Setting user member types during registration (xProfile)
Now I am stuck with the filtering of the members-list according to the Tabs when I click on one of the tabs.
Maybe someone can help me out here.
Here is the code for creating the tabs so far:
Function for getting the child values of my checkbox for each Member
function get_xprofile_child_fields($parent_field_id) { global $wpdb; $child_fields = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}bp_xprofile_fields WHERE parent_id = %d", $parent_field_id ) ); return $child_fields; }Function to count how many members have the individual options set
function get_xprofile_field_member_count($field_id, $field_value) { global $wpdb; $count = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id = %d AND value LIKE %s", $field_id, '%' . $field_value . '%' ) ); return $count; }Create the tabs with a counter
function custom_xprofile_child_field_directory_tabs() { $parent_field_id = 28; // Replace with your parent xProfile field ID $child_fields = get_xprofile_child_fields($parent_field_id); $tab_values = array(); // Store unique field values if (!empty($child_fields)) { foreach ($child_fields as $child_field) { $field_id = $child_field->parent_id; $field_value = $child_field->name; // Check if the field value is unique if (!in_array($field_value, $tab_values)) { $tab_values[] = $field_value; $child_count = get_xprofile_field_member_count($field_id, $field_value); // Use a combination of field_id and field_value as the id $tab_id = 'members-' . esc_attr('field_' . sanitize_title($field_value)); ?> <li id="<?php echo $tab_id; ?>"> <a href="<?php echo bp_members_directory_permalink(); ?>"><?php printf( '%s <span>%d</span>', esc_html($field_value), $child_count); ?> </a> </li> <?php } } } } add_action('bp_members_directory_member_types','custom_xprofile_child_field_directory_tabs');Thanks for any help on this 🙂
Hi,
is there any chance to transform/change the regular filter dropdown options (recently active, newest members and alphabetical) to buttons that sit next to each other?
I have achieved to make the dropdown into buttons, but the logic and filtering functionality are gone.This is teh directory template where I replaced the dropdown:
<?php
/**
* BuddyPress Members Directory
*
* @version 3.0.0
*/
?><?php
/**
* Fires at the beginning of the templates BP injected content.
*
* @since BuddyPress 2.3.0
*/
do_action( ‘bp_before_directory_members_page’ );
?><div class=”members-directory-wrapper”>
<?php
/**
* Fires before the display of the members.
*
* @since BuddyPress 1.1.0
*/
do_action( ‘bp_before_directory_members’ );
?><div class=”members-directory-container”>
<?php if ( function_exists( ‘bp_disable_advanced_profile_search’ ) && bp_disable_advanced_profile_search() ) { ?>
<div class=”subnav-search members-search”>
<?php bp_nouveau_search_form(); ?>
</div>
<?php } ?><?php
/**
* Fires before the display of the members list tabs.
*
* @since BuddyPress 1.8.0
*/
do_action( ‘bp_before_directory_members_tabs’ );
?><?php if ( ! bp_nouveau_is_object_nav_in_sidebar() ) : ?>
<?php bp_get_template_part( ‘common/nav/directory-nav’ ); ?>
<?php endif; ?>
<?php
/**
* Fires before the display of the members content.
*
* @since BuddyPress 1.1.0
*/
do_action( ‘bp_before_directory_members_content’ );
?><div class=”flex bp-secondary-header align-items-center”>
<div class=”push-right flex”>
<div class=”bp-profile-filter-wrap subnav-filters filters no-ajax”>
<!– Replace the dropdown filters with buttons –>
<button class=”filter-button” data-filter=”recently-active”>Recently Active</button>
<button class=”filter-button” data-filter=”newest-members”>Newest Members</button>
<button class=”filter-button” data-filter=”alphabetically”>Alphabetically</button>
<!– Add more buttons for other filter options as needed –>
</div>
<div class=”bp-members-filter-wrap subnav-filters filters no-ajax”>
<!– You can add more buttons here if needed –>
</div><?php bp_get_template_part( ‘common/filters/grid-filters’ ); ?>
</div>
</div><div class=”screen-content members-directory-content”>
<div id=”members-dir-list” class=”members dir-list” data-bp-list=”members”>
<div id=”bp-ajax-loader”><?php bp_nouveau_user_feedback( ‘directory-members-loading’ ); ?></div>
</div><!– #members-dir-list –><?php
/**
* Fires and displays the members content.
*
* @since BuddyPress 1.1.0
*/
do_action( ‘bp_directory_members_content’ );
?>
</div><!– // .screen-content –><?php
/**
* Fires after the display of the members content.
*
* @since BuddyPress 1.1.0
*/
do_action( ‘bp_after_directory_members_content’ );
?></div>
<?php
/**
* Fires after the display of the members.
*
* @since BuddyPress 1.1.0
*/
do_action( ‘bp_after_directory_members’ );
?></div>
<?php
/**
* Fires at the bottom of the members directory template file.
*
* @since BuddyPress 1.5.0
*/
do_action( ‘bp_after_directory_members_page’ );
?>Hello,
I have added an extra profile group to members profile page with a URL group field.
When I enter https://www.example.org into the URL group field and save it, the url with https is saved correct in my database.
But when I go to the profile site to check, the LINK TEXT is without s; only http.
The LINK URL itself is correct with https.Does anybody has an idea how to solve it?
I really tried for hours.
In the class-bp-xprofile-field-typ-url.php is function to catch submitted URL values, and if
the http protocol is missing, buddypress prepends ‘http://’ before passing to
is_valid().Could this might be the issue?
Or does somebody know how I can change the link text from http to https?
I am only a php beginner.
Thanks a lot.
Hi,
I am trying to display more member cards in each row in the member directory.
The member cards take up way too much space, I could easily fit more in one row.
However it seems as there are other templates or stylesheets that make this task almost impossible.
To be more precise: The member cards consist of several layers and not just a simple box container.
Even though, I can play around with margins and padding.
I even found this item which would fit way more member cards into a single row:#buddypress .members-list > li {
min-width: 275px;
}If I use max-width instead it would work, however, once I save it (even with !important) the directory automatically reverts back to its orignal state. Meaning, my change just wont be applied, no matter what.
I just cannot find any rule or stylesheet that takes precedence for this line of code to play with that one.Any help or suggestion is very welcome 😉
Hello BuddyPress,
First of all thank you for your work on creating the plugin.
Second, I have a problem with a client’s website I’m currently building. We have run into an issue that when, uploading avatars by mobile, it compresses down the picture so much that it becomes blurry. It is not because of the image used. I have made sure I’ve uploaded a huge resolution photo to discard that.
Where I see the problem is, BuddyPress somehow compresses the image to make it fit the phone screen, (it maybe makes it 150×150 for what I’ve read so far in the documentation), and then gives you the option to crop the image.
The expect behaviour should be that the image retains the original “full” size, but shrinks down so it fits the mobile screen and you can crop/select whatever you desire.
I hope I am explaining myself.
I see that this bug is not new and has been around for several years, and so far, I haven’t been able to find any fix other than what is explained here, but then it stops the image from being responsive. (Anything further than 600 breaks the image hence you can’t see what you’re cropping).
Is there a way to fix this, so the image retains the full quality when uploaded? I’ve set in place filters to retain 100% of quality image so wordpress doesn’t reescale them either (But you can give me more tips regarding this as well). An alternative solution would be to just disable the cropping part when uploading avatar.
Currently I’m using the theme called Gwangi, but it doesn’t matter, because it also happens with Twenty-Twenty-One, and the forked version of buddypress Buddyboss. I’m guessing all the webpages built with buddypress have the same issue, as the ones I’ve checked so far run into the same problem. I’ve disabled CDN and everything else that could cause caching and rendering of images.
Thank you for your time.
Topic: Restoring Tables
Hi all,
So I deleted some of the Buddypress core tables. Long story. But can’t figure out how to get them back. Trying to reinstall the plugin didn’t work.
I’ve installed the Buddypress plugin on the site: https://app.veteransignup.com
Using theme: PopularFX w Pagelayer Plugin
I do not have the ability to do simple things, like:
a) login to profile
b) direct to profileI’m under the impression the buddypress pages should load as menu options, which are not loaded (meaning I cannot create links to profile or login pages).
Likewise, there are no basic lists of short codes (which seems to be pretty fundamental?).
Topic: SHORTCODES
Why is this such a difficult question to answer?
a) does buddypress publish shortcodes?
b) why do none of the threads address this in a simple manner?
c) why is it do difficult to direct login to member’s profile?seems pretty fundamental, after hours of searching, nothing