Search Results for 'buddypress'
-
Search Results
-
I don’t think I can find help here
I’ve rarely seen anything complicated as a buddypress and I’m just annoyed that I used it. Because you can neither find help nor look through the template structure.
Which template do I have to touch if I want to restructure the members overview page? It must be possible to insert a simple template in my theme directory. But it is not.
I like to have a simple I want a simple statement about which concrete template I have to use. Is that too much?
The site always wants to call PAGE.PHP. Good. But what exactly do I put in there to deal with the code structure of the member pages? What Loop?
***
Ich habe nur selten etwas kompliziertes gesehen, als Buddypress und ärgere mich gerade, dass ich es eingesetzt habe. Denn man findet weder Hilfe, noch blickt man durch die Template Sturktur durch.
Welches Template muss ich anfassen, wenn ich die Members-Übersichtsseite umstrukurieren will? Es muss doch möglich sein, ein einfaches Template in mein Theme-Verzeichnis einzufügen. Ist es aber nicht.
Ich möchte eine einfache Aussage, welches konkretes Template ich nehmen muss. Ist das zu viel verlangt?
Die Seite will immer die PAGE.PHP aufrufen. Gut. Aber was genau füge ich dort ein, um mich mit der Code-Struktur der Mitgliederseiten auseinander zu setzen? Welchen Loop?
I’m trying to set a default cover photo programmatically. It works the first time I delete the current profile cover photo. But when I refresh the page or go to another page, it disappears and is blank.
I am editing the file:
/wp-content/themes/aardvark-child/lib/inc/buddypress-functions.php
if ( ! function_exists( 'ghostpool_xprofile_cover_image' ) ) { function ghostpool_xprofile_cover_image( $settings = array() ) { $settings['default_cover'] = 'cover2-test3.png'; $settings['width'] = 1500; $settings['height'] = 300; return $settings; } }Of course I add the entire URL of the photo… not just cover2-test3.png.
If I inspect the page with the cover image there, I can see the URL in the html. But when I refresh it, it is gone.
Any help is appreciated, thank you.
Hello,
I have been having problems with the Appearance > Customise since the release on the 3rd of January.
Finally matched it to BuddyPress after long testing to see what was causing it.
Any help regarding this? The issue I am having is that when I am using the customizer it doesn’t “refresh” or show the “easy edit” fields for the header for example when I edit something or even publish.Thanks in advance, hope you can help me.
DanielHi,
I use WordPress 5.3.2
Buddypress 5.1.2Unfortunately, I have a problem and I ask for help.
Sometimes there is a error:
“Fatal error: Uncaught Error: Call to a member function get_page_permastruct () on null in
/wp-includes/link-template.php:376 Stack trace: # 0
/wp-includes/link-template.php(338): _get_page_link () # 1
/wp-includes/link-template.php(146): get_page_link () # 2
/wp-content/plugins/lh-login-page/lh-login-page.php(827): get_permalink () # 3
/wp-includes/class-wp-hook.php(288): LH_login_page_plugin-> wp_logout () # 4 /wp-includes/class-wp-hook.php(312): WP_Hook-> apply_filters () # 5
/wp-includes/plugin.php(478): WP_Hook-> do_action () # 6
/wp-includes/pluggable.php(581): do_action () # 7
wp-content / plugins / all-in-one-wp-security-and-firewall / wp-security-core.php (235): wp_logout () # 8 / wp-cont in / wp-includes / link-template. php on line 376This error disappears after reloading the page but it is still quite bothersome. How to fix this error?
Hi there, I would like to have custom members-loop in buddypress.
I want show users what have media (mediapress), have avatar and have not xprofile field “name” empty.
I have this in my members-loop.php
<?php while ( bp_members() ) : bp_the_member(); $mp = new MPP_Media_Query(['user_id' => bp_get_member_user_id()]); // mediapress media $user_id = esc_attr( bp_get_member_user_id() ); // user id $has_avatar = bp_get_user_meta( $user_id, '_has_avatar', true ); // have user avatar $_name = xprofile_get_field_data( 'Jméno' , bp_get_member_user_id() ); // have user xprofile field "name" if (!$mp->have_media() || empty($has_avatar) || empty($_name)) {continue;}?>this code working BUT – pagination is broken. On first page i see only 1 user, on second page i see 3 users etc…
Is there correct way?
Hello, team. I have one problem. could you help me to fix it? at the last time, i was working on gami press and buddypress plug in. i did some settings on it. after that, at my home page. asking ACTIVATE YOUR ACCOUNT and asking ACTIVATION KEY. but i never receive ACTIVATION KEY CODE. why it ask me activation key? how to fix it? could you help me? also i could’t access to my website using my admin access. my website is blocked due to this activation key. I don’t know what is activation key? Pls asap help me.
Thanks
Hello,
i need to add Members-grid page with filters and all things into buddypress tabs.
To do it I’m using INCLUDEME plugin to add php file like shortcode. My code is this one:
/* MEMBERS GRID SECTION */
add_action(‘bp_setup_nav’, ‘mb_bp_profile_menu_posts’, 301 );
function mb_bp_profile_menu_posts() {
global $bp;bp_core_new_nav_item(
array(
‘name’ => ‘Members Grid’,
‘slug’ => ‘members_grid’,
‘position’ => 1,
‘default_subnav_slug’ => ‘published’, // We add this submenu item below
‘screen_function’ => ‘mb_manage_members_grid’
)
);
}function mb_manage_members_grid(){
add_action( ‘bp_template_content’, ‘mb_show_members_grid’ );
bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘members/single/plugins’ ) );
}function mb_show_members_grid() {
echo do_shortcode(‘[includeme file=”‘.MEMBERSGRIDFILE.'”]’);
}where MEMBERSGRIDFILE is path of index.php file of member-loop.php into /plugins/buddypress/bp-templates/bp-legacy/buddypress/members.
I can show all ok but pagesnumber links or link to search not working … But If i open links into external tab o page they working fine. I don’t understand. Console error is:
admin-ajax: Failed to load resource: the server responded with a status of 400 ()
If I use this shortcode into a normal wordpress page it’s working ok so this error is about buddypress integration.
Some help?
Thank you.
I use buddypress for registration but this page not loading correctly!
Hello Buddybpress team
I want to create custom short code for buddypress registration from and i have follow below thing .
1) plugin -> bp-custom.php file in I’ve add copy register.php file code and create short code using same register page code but when i place that shortcode other pages not working .Is there any solution for that ?
Here my code :
function buddy_register_short(){
global $wpdb,$bp;?>
<div class=”bs-bp-container-reg custom-register-section”>
<div id=”buddypress” class=”buddypress-wrap extended-default-reg”>
<div id=”register-page”class=”page register-page”>
<form action=”” name=”signup_form” id=”signup_form” class=”standard-form” method=”post” enctype=”multipart/form-data”>
<div class=”register-section” id=”basic-details-section”><?php /***** Basic Account Details ******/ ?>
<div class=”form-group”>
<label for=”signup_username”><?php _e( ‘Username’, ‘buddypress’ ); ?> <?php _e( ‘(required)’, ‘buddypress’ ); ?></label>
<?php/**
* Fires and displays any member registration username errors.
*
* @since 1.1.0
*/
do_action( ‘bp_signup_username_errors’ ); ?>
<input type=”text” name=”signup_username” id=”signup_username” value=”<?php bp_signup_username_value(); ?>” <?php bp_form_field_attributes( ‘username’ ); ?>/>
</div><div class=”form-group”>
<label for=”signup_email”><?php _e( ‘Email Address’, ‘buddypress’ ); ?> <?php _e( ‘(required)’, ‘buddypress’ ); ?></label>
<?php/**
* Fires and displays any member registration email errors.
*
* @since 1.1.0
*/
do_action( ‘bp_signup_email_errors’ ); ?>
<input type=”email” name=”signup_email” id=”signup_email” value=”<?php bp_signup_email_value(); ?>” <?php bp_form_field_attributes( ’email’ ); ?>/>
</div><div class=”form-group”>
<label for=”signup_password”><?php _e( ‘Choose a Password’, ‘buddypress’ ); ?> <?php _e( ‘(required)’, ‘buddypress’ ); ?></label>
<?php/**
* Fires and displays any member registration password errors.
*
* @since 1.1.0
*/
do_action( ‘bp_signup_password_errors’ ); ?>
<input type=”password” name=”signup_password” id=”signup_password” value=”” class=”password-entry” <?php bp_form_field_attributes( ‘password’ ); ?>/>
<div id=”pass-strength-result”></div>
</div><div class=”form-group”>
<label for=”signup_password_confirm”><?php _e( ‘Confirm Password’, ‘buddypress’ ); ?> <?php _e( ‘(required)’, ‘buddypress’ ); ?></label>
<?php/**
* Fires and displays any member registration password confirmation errors.
*
* @since 1.1.0
*/
do_action( ‘bp_signup_password_confirm_errors’ ); ?>
<input type=”password” name=”signup_password_confirm” id=”signup_password_confirm” value=”” class=”password-entry-confirm” <?php bp_form_field_attributes( ‘password’ ); ?>/>
</div><?php
/**
* Fires and displays any extra member registration details fields.
*
* @since 1.9.0
*/
do_action( ‘bp_account_details_fields’ ); ?></div><!– #basic-details-section –>
<?php/**
* Fires after the display of member registration account details fields.
*
* @since 1.1.0
*/
do_action( ‘bp_after_account_details_fields’ ); ?><?php
/**
* BuddyPress – Members
*
* @package BuddyPress
* @subpackage bp-legacy
* @version 3.0.0
*//**
* Fires before the display of the registration submit buttons.
*
* @since 1.1.0
*/
do_action( ‘bp_before_registration_submit_buttons’ ); ?><div class=”submit text-right”>
<input type=”submit” class=”btn-primary” name=”signup_submit” id=”signup_submit” value=”<?php esc_attr_e( ‘Complete Sign Up’, ‘buddypress’ ); ?>” />
</div><?php
/**
* Fires after the display of the registration submit buttons.
*
* @since 1.1.0
*/
do_action( ‘bp_after_registration_submit_buttons’ ); ?><?php wp_nonce_field( ‘bp_new_signup’ ); ?>
</form>
</div>
</div>
</div>
<?php
}
add_shortcode( ‘buddypress_register’, ‘buddy_register_short’);?>
Thanks
ChavodTopic: Notifications not clearing
Hi there
I’ve been using Buddypress with Bbpress for the last two years on site that is based on the Godlike (NK) theme.
All plugins and themes are updated to their latest versions and I’m running Buddypress 5.1.2.
Since an update a few week ago the Notification feature of Buddpress (the blue number bubble in the admin bar) is no longer working as it used to.
I used to be able to mouse over the bubble, and click the reply link underneath and it would take me to the topic that the reply had been posted in and automatically clear the notification. When you had visited each of the links the bubble disappeared and all was clear.
Alternatively you could click the blue bubble and it would take you to your Buddypress progile notifications and you could check from there or simply mark them either in bulk or individually for clearing.
Now, the former method does not clear the notifications even after visiting the topics, they simply stay as if unread and the bubble does not go way.
Similarly going to the profile does not allow you to bulk select the notifications anymore, they all need to be ticked individually and then bulk cleared. Also if you have a site notification banner present there it can’t be cleared at all.
As I said this started happening with the most recent update and I’m at a loss to understand what I can do about it other than turn the notification module off.
Hi,
I’m having a few dozen database error entries in the apache log every day. First i thought the WP Cerber plugin could be the trouble maker. Since this entries are all connected with failed login attempts with wrong user names. Most probably Spambots. But the WP Cerber developer told me that this is a Buddypress issue. See this issue: https://wordpress.org/support/topic/wordpress-database-error-you-have-an-error-in-your-sql-syntax-5/#post-12366843
So i kindly ask for support here.
Such a log looks usually like this. A few attempts from always the same non existing user name before it gets locked by WP Cerber:
WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘WHERE active = 0 AND user_login = ‘AveryZem’ ORDER BY signup_id DESC LIMIT 0, 1′ at line 1 for query SELECT * FROM WHERE active = 0 AND user_login = ‘AveryZem’ ORDER BY signup_id DESC LIMIT 0, 1 made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, {closure}, cerber_wp_login_page, require(‘wp-login.php’), wp_signon, wp_authenticate, apply_filters(‘authenticate’), WP_Hook->apply_filters, bp_core_signup_disable_inactive, BP_Signup::get, referer: https://bforartists.de/bfa-login/
The page is unfortunately already productive. So i cannot turn off addons wildly anymore.
Could you please help me to get rid of this errors please? ????
Kind regards
Arunderan
Hi –
I used to have Ultimate Member, and there are pages that were auto-created with Ultimate Member such as a Login, Logout, and Register page. Those pages had the shortcode for the Ultimate Member forms.
My issue now that I am trying to switch to BuddyPress is that these pages are just showing [UltimateMember shortcode….] whatever it says. I don’t know how to create a Register or Login page through BuddyPress.
Please help! My site is http://www.over-booked.com. Right now I have the Ultimate Member plugin re-installed so I could have the login and register pages working…so if you see that they’re working that’s why. I want to have them created through BuddyPress.
Thank you.
Hi there, I’m having trouble with getting BP running. This are my stats:
+ WordPress 5.0.8
+ BuddyPress Version 5.1.2
+ Custom Template made by myself from scratch so I have no idea on what WP tags call the BP functions into display
+ I DONT use “the_content()” WP tag on the index because I load my content with the Ajax Load More plugin
+ I DO use “the_content()” WP tag on both -pages- and -single- post viewI would like to use the “members” BP on my current page template, must I do a hierarchical overload so that buddypress pulls a special template but only for the “members” BP page? because I mean, currently all pages pull the WP hierarchy php “page” files, but members dont seem to appear, maybe I’m lacking a special hierarcy BP “page” file so that BP recognizes it and displays the members table?
I would also like to use the BP profile on a “single post” template, like when someone presses a “view profile” link then user gets redirected to the profile page with the activity posts of that person, sort of like in facebook the profile page yo know? do I need to create a special php on the BP hierarchy logic so that it can display the profile (cover image, profile pic, extended profile data, posts-activity) inside the WP single page hierarcy template?
what WP fuction is it that BP uses to display its content? I guess its not “the_content()” right? because I do use that tag but nothing displays…
I hope I can get some support, I’ll make my best to explain myself if I wasnt being clear enough