Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 1,651 through 1,675 (of 22,687 total)
  • Author
    Search Results
  • 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
    SirLouen
    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
    SirLouen
    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?

    #310059
    iamthewebb
    Participant

    Hi,

    I’ve just quickly installed a fresh install of wordpress and buddypress, when I use the customize options the live preview is updating. What theme are you currently using as I was testing with twenty twenty?
    Also do you have any other plugins installed or customizations made?

    #310044
    Daniel
    Participant

    After re-reading my post which was very confusing, I realised my english wasn’t very clear and therefore decided to correct it in order to get better help.

    Problem: When I use the wordpress Customizer to customize my theme it doesn’t change the settings I want with the WYSIWYG editor. Only if I press publish and go the “Live” version of the website does it do anything. Or else it always stays the same…

    Solution: Disabling buddypress fixes the problem.
    How can I solve this?

    Hope you guys can help me out,
    Thanks in advance,
    Daniel

    Arunderan
    Participant

    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

    #309992
    shanebp
    Moderator

    Did you try deleting those shortcodes from those pages?
    Did you assign the Register page to BuddyPress?
    Please read this…

    BP does not handle a login page.
    There are many free WordPress plugins that handle customizing login screens.

    solgris
    Participant

    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 view

    I 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

    #309966
    Prashant Singh
    Participant

    Hi,

    Please check this: https://wordpress.stackexchange.com/questions/6664/how-to-auto-accept-a-friend-request-in-buddypress-based-on-user-meta

    Please remove the condition of is_user_expert and check after that. You should try this on the dev/staging version of your site and if it works for you then you can use it on your live site.

    For members addition in a group automatically, please check this one https://buddypress.org/support/topic/how-to-add-new-members-to-groups-automatically/

    Hope it will help you.

    #309959
    shanebp
    Moderator

    Nicename is not a BuddyPress field.
    It is a field in the WP users table.
    You need to use a WP function like:
    https://codex.wordpress.org/Function_Reference/get_userdata

    #309957
    shanebp
    Moderator

    Have you tried this free plugin?

    BP Profile Search


    There is no premium version of that plugin.

    ricardo231190
    Participant

    Hello guys,

    First of all I’m new to wordpress and can’t code yet so I use plugins and themes. I’m having trouble after deleting the Ultimate member plugin because now I can’t register users at all (it used to work before). I now just want to add members with the regular buddypress but BP asks me in which page the users are “registering” and that page does not exist I think… How can I make the users register without using any plugins apart from BP (user registration is enabled in Settings > General). I just want the normal registration with BP to work (so I can add the profile) and can’t seem to make it work. I have to make a “registering” page or something? How can I do that without plugins?

    Thank you in advance

    WP version is 5.3.2, BP version is 5.1.2 and page is http://www.languageslearningclub.com

    #309941
    Beardy
    Participant

    Hi

    I have a clean installation of Buddypress and WordPress (only) with Twenty Twelve theme.

    When a user publishes a (standard non-cpt) post and selects an featured image, the image does not appear in the activity feed.

    It does however, appear if I go back to the post, make an edit and then save again. If I do this, and refresh the activity the page, the featured image appears.

    Is there a fix or something I need to configure so that the feed shows the featured image once the post is published the first time?

    #309932

    In reply to: Buddypress widgets!

    Carsten
    Participant

    Hi Renato.
    Thanks for replying. Sorry for not responding. Lets just say, that I have been elsewhere. 🙂 No luck with any plugin on wordpress.
    However, I found this snippet and it works very well. If you deactivate the Friends Connections in Buddypress. But I would really like to have this feature. So maybe you know someone. Who can locate the issue and fix it. That would be a great help.
    Best regards Carsten.

    //Widget Filter:
    —————————————————————————————————-
    class BP_Custom_User_Ids {

    private $custom_ids = array();

    public function __construct() {

    $this->custom_ids = $this->get_custom_ids();

    add_action( ‘bp_pre_user_query_construct’, array( $this, ‘custom_members_query’ ), 1, 1 );
    add_filter( ‘bp_get_total_member_count’, array( $this, ‘custom_members_count’ ), 1, 1 );

    }

    private function get_custom_ids() {
    global $wpdb;

    // figure out if the logged-in user is man or woman
    // CHANGE FIELD id “3” BELOW
    $gender = xprofile_get_field_data( 3, bp_loggedin_user_id() );

    if ( $gender == ‘Man’ )
    // CHANGE FIELD id “3” BELOW
    $query = “SELECT user_id FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id = 3 AND value = ‘Woman'”;
    else
    // CHANGE FIELD id “3” BELOW
    $query = “SELECT user_id FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id = 3 AND value = ‘Man'”;

    $custom_ids = $wpdb->get_col( $query );

    return $custom_ids;
    }

    function custom_members_query( $query_array ) {

    $query_array->query_vars[‘include’] = $this->custom_ids;

    }

    function custom_members_count ( $count ) {

    $new_count = count( $this->custom_ids );
    return $new_count;

    }
    }

    function custom_user_ids( ) {

    // Don’t do this for the admin
    if(!current_user_can(‘administrator’) ) {
    new BP_Custom_User_Ids ();
    }

    }

    // WORKS FOR DIRECTORY NOT WIDGETS
    // add_action( ‘bp_before_directory_members’, ‘custom_user_ids’ );

    // EITHER OF THESE WORKS FOR WIDGETS BUT NOT DIRESCTORY
    //add_action( ‘bp_pre_user_query’, ‘custom_user_ids’ );
    // add_action( ‘bp_pre_user_query_construct’, ‘custom_user_ids’ );
    add_action( ‘bp_pre_user_query’, ‘custom_user_ids’ );

    —————————————————————————————————-

    samtime
    Participant

    Hi, I have discovered that bbPress forum moderators can access another user’s BuddyPress Email & Password page by going to URL/members/USERNAME/settings/ revealing the user’s email address.

    How can we block access to this page to protect user’s privacy?

    Thank you, Sam

    WordPress 5.3.2
    bbPress 2.6.3
    BuddyPress 5.1.2

    sanderthijs
    Participant

    After logging in the site crashes due to a Fatal error: Uncaught Error: Call to undefined function bp_loggedinuser_link()
    However I am able to reach my WP backend.

    The Buddypress plugin is installed on my wordpress backend.
    Can someone explain where this bp_loggedinuser_links() is located and how I can check if the whright path is being accessed when this function is called.

    The page I need help with: https://inspirathors.proeverijthijs.nl/

    Guy Hubert
    Participant

    Wordpress 5.2.5, Toivo Lite Theme, Buddypres 5.1.2,
    my site : https://ecocloud-smart.utc.fr

    I developed this web site and all was Ok with http version. After migration to htpps, the members list cannot be seen (by the members number is Ok (3) and my friends number is Ok (1) if I am logged on my web site), a message “members list is loading” appears and nothing after. This can be seen by clicking on the url https://ecocloud-smart.utc.fr . Same behavior with groups list.

    If I connect directly on the host computer and I view my website, it works well.

    Have you any idea to help me
    Regards,
    Guy

    #309911
    infernoprime
    Participant

    On every tab Activity,Profile etc I get page not found on the title tab. I have already set my permalinks as http://www.example.com/example-post-blah. Everything else seems to be working fine.

    Here is my wordpress section on my .htaccess file.
    # BEGIN WordPress
    # The directives (lines) between BEGIN WordPress and END WordPress are
    # dynamically generated, and should only be modified via WordPress filters.
    # Any changes to the directives between these markers will be overwritten.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Am I missing anything ?

    Joost abrahams
    Participant

    Use the plugin “BP XProfile WordPress User Sync”

    reelscene
    Participant

    Hi guys

    I have the Aardvark theme which comes bundled with Paid Memberships Pro and BuddyPress/bbPress.
    WP version 5.3.2, BP version 5.1.2
    I’ve set the site so any non logged-in user goes to a set page, the site is essentially private.

    For some reason, the activity feed on the homepage wall only shows activities when logged in as admin. Any other user gets the message “Sorry, there was no activity found. Please try a different filter.” If they post a status, it’s visible when posted and goes into the database, but refreshing the homepage leads to an empty wall again.

    I’ve only made one recommended tweak to the child theme – redirecting non-logged in users to a “public page”. I can provide the admin login if that helps.

    function my_template_redirect_require_membership_access() {
    if(!is_admin()){
    if ( function_exists( 'pmpro_has_membership_access' ) && ! pmpro_has_membership_access() ) {
    wp_redirect( pmpro_url( 'levels' ) );
    exit;
    }
    }
    }
    
    add_action( 'template_redirect', 'my_template_redirect_require_membership_access' );

    ​​As I don’t know where the problem lies I’m not sure what settings to show you. I’ve tried disabling all of the additional plugins I’ve installed to no avail. Here are the plugins I have installed:

    Aardvark Plugin

    bbP private groups
    This plugin adds private groups to the forums, allocating users to groups, and combinations of forums to those groups, creating multiple closed forums.

    bbPress
    bbPress is forum software with a twist from the creators of WordPress.

    bbPress Notify (No-Spam)
    Sends email notifications upon topic/reply creation, as long as it’s not flagged as spam. If you like this plugin, help share the trust and rate it!

    BP Profile Search

    BuddyPress

    BuddyPress Xprofile Custom Field Types

    Classic Editor

    Coming Soon Page, Under Construction & Maintenance Mode by SeedProd

    Contact Form 7

    Elementor

    Envato Market

    Events Manager

    GD bbPress Attachments

    LayerSlider WP

    Paid Memberships Pro

    Paid Memberships Pro – bbPress Add On

    Paid Memberships Pro – BuddyPress Add On

    Paid Memberships Pro – Mailchimp Add On

    Passster
    Plugin to password-protect portions of a Page or Post.

    Responsive for WPBakery Page Builder

    rtMedia for WordPress, BuddyPress and bbPress

    Sensei Certificates

    Sensei LMS

    Smash Balloon Instagram Feed
    Display beautifully clean, customizable, and responsive Instagram feeds.

    Smush
    Reduce image file sizes, improve performance and boost your SEO using the free WPMU DEV WordPress Smush API.

    Theia Sticky Sidebar

    Transcoder

    Ultimate Reviewer

    UpdraftPlus – Backup/Restore
    Backup and restore: take backups locally, or backup to Amazon S3, Dropbox, Google Drive, Rackspace, (S)FTP, WebDAV & email, on automatic schedules.

    WooCommerce

    Wordfence Security

    Wordfence Security – Anti-virus, Firewall and Malware Scan

    WordPress Popular Posts

    WP Google Review Slider
    Allows you to easily display your Google Places business reviews in your Posts, Pages, and Widget areas!

    WP-Live Chat by 3CX
    The easiest to use website live chat plugin. Let your visitors chat with you and increase sales conversion rates with WP-Live Chat by 3CX.

    WPBakery Page Builder

    Youzer

    I can send a link to a zip file of the settings of the various membership and theme plugins if that helps.

    I understand the issue could be complex but I’m a PHP developer, so if you know of some places I can look in the code or starting points for investigation that would be really helpful 🙂

    Cheers

    #309880
    evillizard
    Participant

    It’s the best wordpress plugin imho …

    If not for buddypress i don’t think i would be using wordpress

    And with people like @sbrajesh who assisted me when i was totally clueless.. The Dude is practically a legend… And il’d forever be grateful to him, We Need more people like that on earth


    Because buddypress is open-source i don’t think people who use it would let it go that easy .. I support open-source because i believe knowledge should be distributed freely for quick advancement of the human race as a whole.

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