Search Results for 'buddypress'
-
Search Results
-
Normally we will have the structure of a profile page like
mywebsite/members/hytan96/profile
I wish to change the URL of profile page to become
mywebsite/members/hytan96
Is that possible?Topic: Fatal Error
Hello!
Very new to buddyypress, fairly novice with the technical stuff so hopefully someone here can pick up what I put down.
So recently installed buddypress, latest version, wp and theme (Lambda theme) and all plugins up to date – no problems. Upon activation of buddypress, I get a 500 error. Went through the usual route, disable all other plugins, still 500 error, switch to 2017 theme, everything works, activate other plugins and still everything works. So I thought no problem, theme isn’t compatible with buddypress I will move on.
However, I had the same theme on another install so tried buddypress there – worked fine. Back to the original site, turned on debug , and found this:
Uncaught Error: Call to a member function get_primary() on null in /home/travellingnz/public_html/wp-content/plugins/buddypress/bp-core/bp-core-functions.php:2558Upon arriving at the aforementioned line 2558, I came across this: $bp_menu_items = buddypress()->members->nav->get_primary();
Now if I remove that line, site runs fine, though the buddypress menu items are missing, add that line back and the 500 error returns.
Again excuse my technical virginity but is there something I can just add or take away from that line of code so that everything works or is there more to it than that? Appreciate any advice.i just installed buddypress plugin and i did all the necessary settings but yet noting is showing on my register page, pls i need help. http://betalifes.com/index.php/register/
I’m using the BETUBE theme then installed the BuddyPress and all the pages worked except the email notifications page and that there wasn’t a friend request button or a delete profile button i am new to everything
Is it possible to create custom content to members profile pages (as a admin).
Example Welcome text to one user and custom image to other.
I have only found “BuddyPress users homepage” from widgets. But the content will show same to every user?
I have tried to add advanced custom field to user settings and add shortcode to widget, but that didnt work?
Hello,
I would like to add some text on top of the register page, and I first tried to follow the instructions from this post : https://buddypress.org/support/topic/how-to-edit-the-text-in-registration-page/
But I am using Buddypress Nouveau, and bp_before_register_page seems to not exist anymore.
From what I’ve seen in the register.php file, I have to use instead bp_nouveau_signup_hook( ‘before’, ‘page’ )
My problem is that I have no clue how to pass the “before” and “page” parameter to the hook…
I tried this in the bp-custom.php, with no success :
function my_custom_register_msg_title() { echo '<h3>My custom text</h3>'; } add_action('bp_nouveau_signup_hook("before","page")', 'my_custom_register_msg_title' );Could someone please be kind enough to tell me what’s wrong in my add_action?
Thanks in advance!
Topic: Google Authenticator
Hello,
I’m looking for a plugin that allows the setting of 2-factor authentication via Google Authenticator that integrates into BuddyPress (That is manageable by the user profile implemented by BuddyPress). It’s possible to do it?
Hi,
I want to send my users to the top of the page after they click on “Save changes” when editig their profile informations in buddypress. As I don’t want to modify the plugin’s core files, I looked for filters and found one in buddypress’ “functions.php”.
The thing is I absolutely don’t understand how this works. I spent 4 hours trying to sort this out but I’m giving up now.(I do understand how generic filters work though)
Here are the pieces of codes I have been looking at :FUNCTIONS.PHP
function bp_nouveau_get_submit_button( $action = ” ) {
if ( empty( $action ) ) {
return false;
}/**
* Filter the Submit buttons to add your own.
*
* @since 3.0.0
*
* @param array $value The list of submit buttons.
*
* @return array|false
*/
$actions = apply_filters( ‘bp_nouveau_get_submit_button’, array(
‘members-profile-settings’ => array(
‘before’ => ‘bp_core_xprofile_settings_before_submit’,
‘after’ => ‘bp_core_xprofile_settings_after_submit’,
‘nonce’ => ‘bp_xprofile_settings’,
‘attributes’ => array(
‘name’ => ‘xprofile-settings-submit’,
‘id’ => ‘submit’,
‘value’ => __( ‘Save Changes’, ‘buddypress’ ),
‘class’ => ‘auto’,
),) );
if ( isset( $actions[ $action ] ) ) {
return $actions[ $action ];}
TEMPLATE TAGS.PHP
function bp_nouveau_submit_button( $action ) {
$submit_data = bp_nouveau_get_submit_button( $action );
if ( empty( $submit_data[‘attributes’] ) || empty( $submit_data[‘nonce’] ) ) {
return;
}if ( ! empty( $submit_data[‘before’] ) ) {
/**
* Fires before display of the submit button.
*
* This is a dynamic filter that is dependent on the “before” value provided by bp_nouveau_get_submit_button().
*
* @since 3.0.0
*/
do_action( $submit_data[‘before’] );
}$submit_input = sprintf( ‘<input type=”submit” %s/>’,
bp_get_form_field_attributes( ‘submit’, $submit_data[‘attributes’] ) // Safe.
);// Output the submit button.
Hi,
When clicked on the activation link in the mail it takes you to the site only to have it say: ‘Please provide a valid activation key.’
After that is an input field for an activation key. If you copy the key from the url and place it into the input field and press submit it works. Obviously, it should do this automatically and it doesn’t.
The issue is not theme nor plugin related as it still occurs when the default theme is activated and only the buddypress plugin is activated. All the above mentioned versions are updated to the latest.
site: https://www.poke-spot.com
Create an account here to replicate issue: https://www.poke-spot.com/sign-up
Thanks in advance.
Hello,
I recently passed to buddypress with youzer plugin but i have a problem about subscribe notification.
For each member, i receive 2 messages notification for tell me a new member signup to my site.
But it’s really annoying when u have more than 100-150 subscription per day because u receive more than 300 messages ..I want to know where i can disable the signup notification mail ?
Thanks u.
Hi,
I want to send my users to the top of the page after they click on “Save changes” when editig their profile informations in buddypress. As I don’t want to modify the plugin’s core files, I looked for filters and found one in buddypress’ “functions.php”.
The thing is I absolutely don’t understand how this works. I spent 4 hours trying to sort this out but I’m giving up now.(I do understand how generic filters work though)
Here are the pieces of codes I have been looking at :FUNCTIONS.PHP
function bp_nouveau_get_submit_button( $action = ” ) {
if ( empty( $action ) ) {
return false;
}/**
* Filter the Submit buttons to add your own.
*
* @since 3.0.0
*
* @param array $value The list of submit buttons.
*
* @return array|false
*/
$actions = apply_filters( ‘bp_nouveau_get_submit_button’, array(
‘members-profile-settings’ => array(
‘before’ => ‘bp_core_xprofile_settings_before_submit’,
‘after’ => ‘bp_core_xprofile_settings_after_submit’,
‘nonce’ => ‘bp_xprofile_settings’,
‘attributes’ => array(
‘name’ => ‘xprofile-settings-submit’,
‘id’ => ‘submit’,
‘value’ => __( ‘Save Changes’, ‘buddypress’ ),
‘class’ => ‘auto’,
),) );
if ( isset( $actions[ $action ] ) ) {
return $actions[ $action ];}
TEMPLATE TAGS.PHP
function bp_nouveau_submit_button( $action ) {
$submit_data = bp_nouveau_get_submit_button( $action );
if ( empty( $submit_data[‘attributes’] ) || empty( $submit_data[‘nonce’] ) ) {
return;
}if ( ! empty( $submit_data[‘before’] ) ) {
/**
* Fires before display of the submit button.
*
* This is a dynamic filter that is dependent on the “before” value provided by bp_nouveau_get_submit_button().
*
* @since 3.0.0
*/
do_action( $submit_data[‘before’] );
}$submit_input = sprintf( ‘<input type=”submit” %s/>’,
bp_get_form_field_attributes( ‘submit’, $submit_data[‘attributes’] ) // Safe.
);// Output the submit button.
if ( isset( $submit_data[‘wrapper’] ) && false === $submit_data[‘wrapper’] ) {
echo $submit_input;// Output the submit button into a wrapper.
} else {
printf( ‘<div class=”submit”>%s</div>’, $submit_input );
}Now, what I want to do is just add for example “#top” to the URL triggered by the submit button so that the user goes back to the top even if he/she didn’t fill some mandatory fiels and tha the form is not really “sent”.
Thanks in advance 🙂
Topic: Newbie question
I am not clear how BuddyPress works with a site. If I have member only pages (which require a login) where I intend to install BuddyPress, will my members have to login a second time to use BuddyPress?
Will that they then have two accounts to deal with? Most of my users are older and not tech savvy. They need things to be simple. They will not self register. We will have a controlled set of users not open to outsiders.