Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 1,651 through 1,675 (of 22,682 total)
  • Author
    Search Results
  • stokim2012
    Participant

    Hi there!
    I would like to use BP verification email system using bp_core_signup_user function on my sign-up widget plugin.
    It creates members on my db, but failed to add users on ‘signups’ table.
    I found the error log:

    Notice: Undefined property: BP_Members_Component::$table_name_signups in /wp-content/plugins/buddypress/bp-members/classes/class-bp-signup.php on line 323
    
    WordPress database error Incorrect table name '' for query SHOW FULL COLUMNS FROM <code></code> made by require('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, wsl_process_login, wsl_process_login_end, wsl_process_login_create_wp_user, bp_core_signup_user, BP_Signup::add

    I found the reason:
    1) bp_core_signup_user call the BP_Signup::add()
    2) BP_signup::add() call the buddypress()->members->table_name_signups for table name
    3) However, it cannot retrieve buddypress()->members->table_name_signups and shows error code like above.

    I’m sorry, but I’m newbie developer to WordPress and it’s kind of scope problem maybe. How can I solve this problem?

    Many thanks. Please help 🙂

    Sincerely,
    Jen

    wpthemes
    Participant

    BuddyPress is so much better than PMPRo, I have worked extensively on both Pmpro and BuddyPress. BuddyPress is hands down the best code written, better than WooCommerce and even WordPress itself. I litreally mean there is no competition here. I can show you code examples from BuddyPress vs other plugins to convincingly prove this as well.

    If you can share a link to your page, it would take 2 minutes to detect the issue.

    #310418
    chshaheryar
    Participant

    Hi Everyone,

    I am facing the same issue and cropping is not working.
    Once user uploads the picture it comes as a tiny block on the top left as highlighted in the below screenshot.

    Image Croping Issue Screenshot

    Did anyone found a fix for this issue?

    I am using…
    Wordpress Version: 5.3.2
    PHP: 7.1
    Buddy Press: 5.1.2

    #310414
    redbird16
    Participant

    I have an issue with the Navigation Bar. There are buttons and links still there even though I don’t have a custom menu. I have no menus at all, and yet there is still a menu. I have attached a couple of screenshots below because I have no idea what is going on. I’m willing to do code edit. I just want to remove all buttons and make my own with my own custom menu. Any and all help is appreciated!

    I’m using the latest version of WordPress and BuddyPress.

    Thank you in advanced!
    Red Prez

    Screenshots

    shanebp
    Moderator

    It’s just a notice, not an error. No need to worry.
    It’s a known issue and will be fixed in the 6.0 release of BP.
    More info: https://buddypress.trac.wordpress.org/ticket/8177

    coralbeauty
    Participant

    I’m experiencing this PHP error on my site: Trying to get property ‘show_avatars’ of non-object

    I am not a developer so I don’t have any idea on how to go about fixing anything. Can you advise how to fix it?

    WordPress version: 5.3.2
    BuddyPress version: 2.6.4

    My site is password protected and in maintenance mode so a link won’t help you see it.

    Carlen
    Participant

    I think the easiest way to do this would be to hide buddypress unless the user is in one of your courses.

    I would use a combination of:

    Memberpress (other membership plugins should work too)
    Learndash

    If Menu – Visibility control for Menu Items

    User Role Editor

    #310363
    Obito
    Participant

    To make the above two changes you will have to edit the wp-config.php and php.ini file respectively. In case you are not comfortable then I suggest you get in touch with the hosting company and they will make the changes for you.
    https://www.mediumtalk.net/increase-php-time-limit-wordpress/

    #310361
    Carlen
    Participant

    I personally haven’t seen anything with this specific functionality out of the box, but this is partially due to not knowing what plugin you are using for sending messages.

    I have done similar style restrictions with:

    WordPress Membership Plugin


    and

    User Role Editor

    You give someone a user type when they pay and this works well with many different plugins, though it is possible you may need to get in and do some custom code for the “x” amount of “actions” per day.

    #310332

    In reply to: BuddyPress 5.1.2

    Mathieu Viet
    Moderator

    Hi, I advise you to check if the wp-content/uploads directory of your WordPress can be used by the http user to write/delete files and create/delete sub directories. When you upload a group avatar, check if a file named like this wp-content/uploads/group-avatars/{group_id}/{name-of-your-file}.[jpg|png|gif] exists.

    Is it possible to upload user avatars ?

    #310324
    Mushi
    Participant

    Hi,

    We’ve been receiving complaints from our users since last several days.
    The users see a “503 Service Unavailable” error after trying to login. The problem doesn’t fix even after the users try to clear browser cache and re-attempt login.

    Below is the error that keeps getting logged in error console.

    Feb 27 19:54:01 192.168.222.215 apache2[5365]: [u1050] [dojo.onpressidium.com] [720f49fd8f26631d] [75.128.103.167] [error] [client 192.168.212.31:57618] AH01071: Got error ‘PHP message: WordPress database error Table ‘db_xyz.g’ doesn’t exist for query SELECT DISTINCT g.id FROM g ORDER BY g.date_created DESC LIMIT 0, 20 made by require(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), include(‘/themes/boss-child/functions.php’), is_user_logged_in, wp_get_current_user, wp_get_current_user, wp_set_current_user, do_action(‘set_current_user’), WP_Hook->do_action, WP_Hook->apply_filters, wplrdesy->wplqez7, wplrdesy->wpluibcy, apply_filters(‘memberium_session_filter’), WP_Hook->apply_filters, wpld9_0u1, groups_get_groups, BP_Groups_Group::get, wpdb->get_col, wpdb->print_error\nPHP message: WordPress database error Table ‘db_xyz.g’ doesn’t exist for query SELECT COUNT(DISTINCT g.id) FROM g made by require(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), include(‘/themes/boss-child/functions.php’), is_user_logged_in, wp_get_current_user, wp_get_current_user, wp_set_current_user, do_action(‘set_current_user’), WP_Hook->do_action, WP_Hook->apply_filters, wplrdesy->wplqez7, wplrdesy->wpluibcy, apply_filters(‘memberium_session_filter’), WP_Hook->apply_filters, wpld9_0u1, groups_get_groups, BP_Groups_Group::get, wpdb->get_var, wpdb->print_error\n’

    We’ve checked this with Pressidium and Memberium and they are sure that it’s related to Buddypress.

    Here’s a breakdown of the error:

    This is when it happened

    Feb 27 19:54:01 192.168.222.215 apache2[5365]: [u1050] [dojo.onpressidium.com] [720f49fd8f26631d] [75.128.103.167] [error] [client 192.168.212.31:57618] AH01071:

    This is the error

    Got error ‘PHP message: WordPress database error Table ‘db_xyz.g’ doesn’t exist for query

    This is the (SQL) code

    SELECT DISTINCT g.id FROM g ORDER BY g.date_created DESC LIMIT 0, 20

    This is the order of functions called

    made by require(‘wp-load.php’),
    require_once(‘wp-config.php’),
    require_once(‘wp-settings.php’),
    include(‘/themes/boss-child/functions.php’),
    is_user_logged_in,
    wp_get_current_user,
    _wp_get_current_user,
    wp_set_current_user,
    do_action(‘set_current_user’),
    WP_Hook->do_action,
    WP_Hook->apply_filters,
    wplrdesy->wplqez7,
    wplrdesy->wpluibcy,
    apply_filters(‘memberium_session_filter’),
    WP_Hook->apply_filters,
    wpld9_0u1, groups_get_groups,

    Below is where the error happens. It’s in the BP Groups Group class, in the “get” static method.

    BP_Groups_Group::get,
    wpdb->get_col,

    Could you please investigate and provide us a fix for this issue.

    Thanks,
    Mushi

    #310317
    keesjan
    Participant
    pixieblitz
    Participant

    When users get a notification email with a link to a new message in buddypress, clicking on that link goes to a 404 (if they are not logged in). This seems like it was previously addressed in https://buddypress.org/support/topic/error-404-for-non-logged-in-users/ but I can’t seem to fix it. I tried adding the function mentioned in that file to my bp-custom file, but no luck. Any advice for how to route this through a login form instead would be very much appreciated!

    Latest WordPress and buddypress, child theme from colormag theme.
    PlantSwap.org

    #310294
    valuser
    Participant

    This Page may help you to have a group custom home page

    #310287
    shanebp
    Moderator

    The closing semicolon was not in the code section.
    I have edited my answer.
    If you don’t need to consider portability, then you can hardcode the prefix.
    UPDATE wp_bp_activity

    Learn how to debug in WP and you can answer most of your own questions.
    https://codex.wordpress.org/WP_DEBUG

    #310278
    dakitica
    Participant

    wordpress version is 5.3.2
    buddypress version is 5.1.2

    Home Page


    Hello, I have a problem with Friend connections… when I send Friend Request it cannot be accepted. on my friends profile says that there is no friend requests. how can i solve that ?

    #310255
    AntonyC
    Participant

    Hi @shanebp, thanks for your quick response.

    Yes, I can but I’ve found that because wordpress loads the theme functions.php/plugins 2-3 times the variable will set ok on one of these iterations but not on the iteration where bp_after_has_members_parse_args() is fired (not sure how best to explain this as not a pro wp developer but have read about this phenomena online (I have disabled plugins/theme to check it’s nothing to do with my code causing multiple loads). I’m assuming that functions.php is loaded again when the members ajax call is made?

    So how to capture using $_GET and then make this available to bp_after_has_members_parse_args()?

    Thanks again,
    Antony

    AntonyC
    Participant

    Hi,

    I’m running BuddyBoss/BuddyPress on WordPress 5.3.2

    I’d like to be able to filter my main BuddyPress members page using $_GET, from query variables passed in the URL.

    I’ve tried various ideas found on the web and the most up to date/promising way of doing this seems to be using bp_parse_args() via…

    add_filter( 'bp_after_has_members_parse_args', 'my_function' );

    Using this method works well except for the fact that I am unable to access my passed filter variables via $_GET …if I print the site url from within my function it returns wp-admin/ajax.php (or something like it) which I guess is why I can’t access the passed query variables. Any help with this would be greatly appreciated.

    Many thanks,

    Antony

    My code…

    function ic_members_filter( $retval ) {
    
        global $wpdb;
        
        global $ic_filter_members_interest_id;
    
        if( $ic_filter_members_interest_id &&  $ic_filter_members_interest_id>0 ){
     
            $prepared_statement = $wpdb->prepare( "SELECT user_id FROM ic_interests_data WHERE interest_id = %d AND (interest_value = 1 OR interest_value = 3)", $ic_filter_members_interest_id );
            $db_custom_ids = $wpdb->get_col( $prepared_statement );
            
    
            if ( $db_custom_ids ) { //!empty( $db_custom_ids )
                
                // convert the array to a csv string
                $retval['include'] =  implode(",", $db_custom_ids);  //$custom_ids_str = 'include=' . implode(",", $custom_ids);
            }
            else{
                
                // don't show any records
                $retval['include'] = array(0);
            }
    
        }else{
            // show all records
            $retval['include'] = '';
        }
     
        return $retval;
    }
    add_filter( 'bp_after_has_members_parse_args', 'ic_members_filter' );

    WHERE… $ic_filter_members_interest_id is a global that holds the interest_id via $_GET

    References…

    Using bp_parse_args() to filter BuddyPress template loops


    https://buddypress.trac.wordpress.org/browser/tags/2.2.1/src/bp-members/bp-members-template.php#L461

    Tanmoy Biswas
    Participant

    I am using BuddyPress old version and WordPress version 5.3.2.
    But, Today, When I to updated BuddyPress Version:5.1.2 it gives me the following an error.

    Fatal error: Call to undefined function bp_is_user_inactive()

    Website Home page: https://wcblogs.com
    I am trying to fix these issues but still shows an error.

    Any suggestion?

    Thanks in advance

    mvandemar
    Participant

    So following the steps in this post:

    change the email ‘from’ name (BuddyPress email templates)

    I used this code:

    add_action( 'bp_email', function( $email_type, $email_obj ) {
    	$email_obj->set_reply_to( "wordpress@mydomain.com", "My Site" );
    }, 10, 2 );
    
    add_action( 'bp_email', function( $email_type, $email_obj ) {
    	$email_obj->set_from( "wordpress@mydomain.com", "My Site" );
    }, 10, 2 );

    This partially worked. The signup emails going to the registrant now have the correct From address, but the notifications going to the admin have the WordPress administrator email listed as the From. I believe this is an issue because both the to and from are now a Gmail address, ie. To: myclient@gmail.com and From: myclient@gmail.com, and Gmail is kicking them back as untrusted. How do I get it to change the From email in all cases? Note that I am using the Buddyboss theme, if that makes a difference. Since the above code isn’t checking for the value of $email_type I would have thought it would just work on all of the emails, but the code is also 3 years old so guessing some things may have changed.

    Edit: Also, will Buddypress play well with plugins that allow you to send authenticated emails via SMTP or IMAP, such as WP Mail SMTP by WPForms? I feel that might alleviate the issues we are having but it would be good to know if there’s anything special we need to do before going down that road, thanks.

    -Michael

    #310169
    Manuel Camargo
    Participant

    By the way, I’m not sure why a half-core WordPress plugin like Buddypress, is not using wp_mail like his brother BBPress I was thinking if this could be a good patch to be considered in the future?

    #310168
    Manuel Camargo
    Participant

    The @corsi159 solution worked for me…

    Same issue with no HTML mails and all that 🙁

    I will have to set up the mail service in the server in order to use the default buddypress mail function…

    I can confirm that Buddy press is not compatible out of the box with WP Mail SMTP plugin.
    https://wordpress.org/support/topic/buddypress-emails-not-being-sent/

    #310163
    white991
    Participant

    How is Buddypress rank added?

    Wordpress:5.3
    BuddyPress: 1.0.359

    #310086

    In reply to: double whats-new-form

    Raval
    Participant

    Now I know that the problem arises as a result of the “BP Profile Activity Wall
    something is going wrong because the function on the “All activity” page adds the form twice even though it is ‘bp_before_activity_loop’ on line 324

    Can anyone help me?

Viewing 25 results - 1,651 through 1,675 (of 22,682 total)
Skip to toolbar