Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'string plugins template'

Viewing 25 results - 1 through 25 (of 49 total)
  • Author
    Search Results
  • urbanscom
    Participant

    Hi and first of all thanks for your plugin and the support
    I m using Tutor LMS pro on a fresh new wordpress installation.
    I decided to install the Buddypress addon but i hav a problem regarding the template

    WordPress version 6.8.1
    Thème actif : Sofia (version 1.0)
    Extension actuelle : BuddyPress (version 14.3.4)
    PHP version 8.1.32

    Une erreur de type E_ERROR a été causée dans la ligne 725 du fichier /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress-functions.php. Message d’erreur : Uncaught TypeError: urldecode(): Argument #1 ($string) must be of type string, array given in /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress-functions.php:725
    Stack trace:
    #0 /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress-functions.php(725): urldecode(Array)
    #1 /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-includes/class-wp-hook.php(324): bp_legacy_theme_ajax_querystring('', 'activity')
    #2 /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-includes/plugin.php(205): WP_Hook->apply_filters('', Array)
    #3 /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-content/plugins/buddypress/bp-core/bp-core-template.php(1157): apply_filters('bp_ajax_queryst...', '', 'activity')
    #4 /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-content/plugins/buddypress/bp-activity/bp-activity-filters.php(560): bp_ajax_querystring('activity')
    #5 /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-includes/class-wp-hook.php(326): bp_activity_heartbeat_last_recorded(Array, Array)
    #6 /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
    #7 /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-admin/includes/ajax-actions.php(3503): apply_filters('heartbeat_recei...', Array, Array, 'front')
    #8 /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-includes/class-wp-hook.php(324): wp_ajax_heartbeat('')
    #9 /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    #10 /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #11 /home/clients/698fbd2a837b717e3115da6da7d93852/sites/renaissance.stellalapsy.fr/wp-admin/admin-ajax.php(192): do_action('wp_ajax_heartbe...')
    #12 {main}
      thrown
    #332525
    fasirathore
    Participant

    /home/u604108565/domains/forextradingcommunity.com/public_html/wp-content/themes/hello-elementor/functions.php on line 229

    [23-Dec-2023 07:58:30 UTC] PHP Warning: Attempt to read property “title” on null in /home/u604108565/domains/forextradingcommunity.com/public_html/wp-includes/class-wp-customize-widgets.php on line 905

    [23-Dec-2023 07:59:01 UTC] PHP Deprecated: The PSR-0 Requests_... class names in the Requests library are deprecated. Switch to the PSR-4 WpOrg\Requests\... class names at your earliest convenience. in /home/u604108565/domains/forextradingcommunity.com/public_html/wp-includes/class-requests.php on line 24

    [23-Dec-2023 08:08:45 UTC] Cron reschedule event error for hook: better_messages_cleaner_job, Error code: invalid_schedule, Error message: Event schedule does not exist., Data: {“schedule”:”better_messages_cleaner_job”,”args”:[],”interval”:300}

    [23-Dec-2023 08:11:04 UTC] PHP Deprecated: Function print_emoji_styles is deprecated since version 6.4.0! Use wp_enqueue_emoji_styles instead. in /home/u604108565/domains/forextradingcommunity.com/public_html/wp-includes/functions.php on line 6031

    [23-Dec-2023 08:32:43 UTC] PHP Warning: Attempt to read property “title” on null in /home/u604108565/domains/forextradingcommunity.com/public_html/wp-includes/class-wp-customize-widgets.php on line 905

    [23-Dec-2023 08:32:54 UTC] PHP Deprecated: File Theme without header.php is deprecated since version 3.0.0 with no alternative available. Please include a header.php template in your theme. in /home/u604108565/domains/forextradingcommunity.com/public_html/wp-includes/functions.php on line 6031

    [23-Dec-2023 08:42:41 UTC] PHP Deprecated: Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead. in /home/u604108565/domains/forextradingcommunity.com/public_html/wp-includes/functions.php on line 6031

    [23-Dec-2023 08:43:00 UTC] PHP Deprecated: The PSR-0 Requests_... class names in the Requests library are deprecated. Switch to the PSR-4 WpOrg\Requests\... class names at your earliest convenience. in /home/u604108565/domains/forextradingcommunity.com/public_html/wp-includes/class-requests.php on line 24

    [23-Dec-2023 08:44:10 UTC] PHP Deprecated: Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead. in /home/u604108565/domains/forextradingcommunity.com/public_html/wp-includes/functions.php on line 6031

    [23-Dec-2023 11:32:30 UTC] PHP Deprecated: urldecode(): Passing null to parameter #1 ($string) of type string is deprecated in /home/u604108565/domains/forextradingcommunity.com/public_html/wp-content/plugins/litespeed-cache/src/control.cls.php on line 547

    [23-Dec-2023 11:55:40 UTC] PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home/u604108565/domains/forextradingcommunity.com/public_html/wp-content/plugins/bbp-style-pack/includes/settings_import.php on line 16

    [23-Dec-2023 12:55:50 UTC] PHP Deprecated: urldecode(): Passing null to parameter #1 ($string) of type string is deprecated in /home/u604108565/domains/forextradingcommunity.com/public_html/wp-content/plugins/litespeed-cache/src/control.cls.php on line 547

    [23-Dec-2023 14:04:20 UTC] PHP Warning: file_put_contents(): Exclusive locks may only be set for regular files in /home/u604108565/domains/forextradingcommunity.com/public_html/wp-content/plugins/bbp-style-pack/includes/generate_css.php on line 165

    [23-Dec-2023 14:34:05 UTC] PHP Deprecated: Automatic conversion of false to array is deprecated in /home/u604108565/domains/forextradingcommunity.com/public_html/wp-content/plugins/google-analytics-for-wordpress/includes/admin/notification-event-runner.php on line 94

    [24-Dec-2023 11:48:54 UTC] PHP Warning: Attempt to read property “name” on bool in /home/u604108565/domains/forextradingcommunity.com/public_html/wp-admin/nav-menus.php on line 1215

    [24-Dec-2023 11:48:54 UTC] Cron reschedule event error for hook: action_scheduler_run_queue, Error code: invalid_schedule, Error message: Event schedule does not exist., Data: {“schedule”:”every_minute”,”args”:[“WP Cron”],”interval”:60}

    [24-Dec-2023 11:49:58 UTC] Cron reschedule event error for hook: better_messages_cleaner_job, Error code: invalid_schedule, Error message: Event schedule does not exist., Data: {“schedule”:”better_messages_cleaner_job”,”args”:[],”interval”:300}

    [24-Dec-2023 11:51:55 UTC] PHP Deprecated: Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead. in /home/u604108565/domains/forextradingcommunity.com/public_html/wp-includes/functions.php on line 6031

    [24-Dec-2023 13:03:21 UTC] PHP Warning: mysqli_real_connect(): (HY000/1130): Host ‘127.0.0.1’ is not allowed to connect to this MariaDB server in /home/u604108565/domains/forextradingcommunity.com/public_html/wp-includes/class-wpdb.php on line 1987

    [24-Dec-2023 13:05:23 UTC] PHP Warning: Attempt to read property “name” on bool in /home/u604108565/domains/forextradingcommunity.com/public_html/wp-admin/nav-menus.php on line 1215

    [24-Dec-2023 13:05:29 UTC] PHP Warning: Attempt to read property “name” on bool in /home/u604108565/domains/forextradingcommunity.com/public_html/wp-admin/nav-menus.php on line 1215

    [24-Dec-2023 13:05:31 UTC] PHP Warning: Attempt to read property “name” on bool in /home/u604108565/domains/forextradingcommunity.com/public_html/wp-admin/nav-menus.php on line 1215

    [24-Dec-2023 13:42:33 UTC] PHP Deprecated: Function bp_core_get_user_domain is deprecated since version 12.0.0! Use bp_members_get_user_url() instead. in /home/u604108565/domains/forextradingcommunity.com/public_html/wp-includes/functions.php on line 6031

    formlos
    Participant

    According to https://codex.buddypress.org/translations/ we should store the bbpress-de_DE.mo and bbpress-de_DE.po under /wp-content/languages/buddypress/, which we did. But these language files are being ignored.

    We are using buddypress in de_DE and made some tweaks to the wording (we replaced the string “group” with “cluster” in German).

    Buddypress uses the files stored under /wp-content/languages/plugins/ and ignores the aforementioned folder.

    What we already tried:

    • deleting the buddypress-de_DE files in /wp-content/languages/plugins/: this partially works. Buddypress then uses our files stored in /wp-content/languages/buddypress/. But somehow wordpress (or buddypress?) regenerates the files in /wp-content/languages/plugins/ after some hours. And then these “new” translations are used again of course. (Our own translations in /wp-content/languages/buddypress/ stay untouched by wordpress/buddypress)
    • Created a folder /wp-content/languages/plugins/buddypress and copied our files over to this folder. But to no avail – these files are being ignored completely (even if we delete the buddypress files in /wp-content/languages/plugins/).
    • Copied our files directly to /wp-content/languages/plugins/: this works until these files get overwritten after a couple of hours

    Specs:

    • WordPress 6.0.1
    • Buddypress 10.4.0
    • Custom template, which we’ve written on our own
      Multisite

    Questions:

    • What are we missing?
    • Is there a way to stop wordpress/buddypress regenerating the files living directly in /wp-content/languages/plugins/?
    • What is the right place to store our translations?
    #317332

    In reply to: BuddyPress 7.2.0

    djsteveb
    Participant

    getting some error logs eg:
    [21-Feb-2021 17:56:31 UTC] PHP Warning: explode() expects parameter 2 to be string, array given in /wp-content/plugins/buddypress/bp-templates/bp-nouveau/includes/functions.php on line 725
    [21-Feb-2021 17:56:31 UTC] PHP Warning: array_map(): Expected parameter 2 to be an array, null given in /wp-content/plugins/buddypress/bp-templates/bp-nouveau/includes/functions.php on line 726
    [21-Feb-2021 17:56:31 UTC] PHP Warning: explode() expects parameter 2 to be string, array given in /wp-content/plugins/buddypress/bp-templates/bp-nouveau/includes/functions.php on line 725
    [21-Feb-2021 17:56:31 UTC] PHP Warning: array_map(): Expected parameter 2 to be an array, null given in /wp-content/plugins/buddypress/bp-templates/bp-nouveau/includes/functions.php on line 726

    thinking this is latest bp issue?
    causing missing buttons for profile navigation –
    ie on profile page -have no buttons to navigate to groups and activity and such, – these things connected?

    #306826
    chris19731973
    Participant
    <?php
    
    /**
     * Listing detail Page.
     *
     * @link    https://pluginsware.com
     * @since   1.0.0
     *
     * @package Advanced_Classifieds_And_Directory_Pro
     */
     
    // Exit if accessed directly
    if ( ! defined( 'WPINC' ) ) {
    	die;
    }
    
    /**
     * ACADP_Public_Listing Class.
     *
     * @since 1.0.0
     */
    class ACADP_Public_Listing {
    	
    	/**
    	 * Filter the post content.
    	 *
    	 * @since  1.5.4
    	 * @param  string $html The post thumbnail HTML.
    	 * @return string $html Filtered thumbnail HTML.
    	 */
    	public function post_thumbnail_html( $html ) {	
    		if ( is_singular( 'acadp_listings' ) ) {
    			return '';
    		}
    		
    		return $html;		
    	}
    	
    	/**
    	 * Filter the post content.
    	 *
    	 * @since  1.0.0
    	 * @param  string $content Content of the current post.
    	 * @return string $content Modified Content.
    	 */
    	public function the_content( $content ) {		
    		if ( is_singular( 'acadp_listings' ) && in_the_loop() && is_main_query() ) {		
    			global $post;
    			
    			acadp_update_listing_views_count( $post->ID );
    			
    			$general_settings      = get_option( 'acadp_general_settings' );
    			$recaptcha_settings    = get_option( 'acadp_recaptcha_settings' );	
    			$registration_settings = get_option( 'acadp_registration_settings' );
    
    			$post_meta = get_post_meta( $post->ID );
    			
    			$description = $content;
    					
    			$can_show_date         = isset( $general_settings['display_options'] ) && in_array( 'date', $general_settings['display_options'] )  ? true : false;
    			$can_show_user         = isset( $general_settings['display_options'] ) && in_array( 'user', $general_settings['display_options'] )  ? true : false;
    			$can_show_views        = isset( $general_settings['display_options'] ) && in_array( 'views', $general_settings['display_options'] ) ? true : false;
    			$can_show_contact_form = empty( $general_settings['has_contact_form'] ) ? false : true;	
    			$can_add_favourites    = empty( $general_settings['has_favourites'] )   ? false : true;
    			$can_report_abuse      = empty( $general_settings['has_report_abuse'] ) ? false : true;
    			$has_widgets           = acadp_has_active_listing_widgets();
    			$has_sidebar           = ! $has_widgets;
    			
    			// $login_url
    			$current_page_url = get_permalink();
    			$login_url        = acadp_get_user_login_page_link( $current_page_url );
    			
    			// $location
    			$has_location = empty( $general_settings['has_location'] ) ? false : true;
    			$can_show_location = false;
    			
    			if ( $has_location ) {
    				$location = wp_get_object_terms( $post->ID, 'acadp_locations' );
    			
    				if ( ! empty( $location ) ) {
    					$location = $location[0];
    					$can_show_location = true;
    				}
    			}
    			
    			// $category
    			$has_category = false;
    			$can_show_category = isset( $general_settings['display_options'] ) && in_array( 'category', $general_settings['display_options'] ) ? true : false;
    			$can_show_category_desc = isset( $general_settings['display_options'] ) && in_array( 'category_desc', $general_settings['display_options'] ) ? true : false;
    			$categories = wp_get_object_terms( $post->ID, 'acadp_categories' );
    			
    			if ( empty( $categories ) ) {
    				$can_show_category = false;
    			} else {
    				$category = $categories[0];
    				$has_category = true;
    			}
    			
    			// $can_show_images
    			$has_images = empty( $general_settings['has_images'] ) ? false : true;
    			$can_show_images = false;
    			
    			if ( $has_images ) {
    				$can_show_images = isset( $post_meta['images'] ) ? true : false;
    			}
    			
    			// $can_show_video
    			$has_video = empty( $general_settings['has_video'] ) ? false : true;
    			$can_show_video = false;
    			$video_url = '';
    			
    			if ( $has_video ) {
    				if ( ! empty( $post_meta['video'][0] ) ) {
    					$video_url = acadp_parse_videos( $post_meta['video'][0] );	
    					$can_show_video = empty( $video_url ) ? false : true;				
    				}				
    			}
    			
    			// $can_show_map
    			$has_map = ! empty( $general_settings['has_map'] ) && empty( $post_meta['hide_map'][0] ) ? true : false;
    			$can_show_map = false;
    		
    			if ( $can_show_location && $has_map ) {			
    				$can_show_map = ! empty( $post_meta['latitude'][0] ) && ! empty( $post_meta['longitude'][0] ) ? true : false;
    			}
    
    			// $can_show_price
    			$has_price = empty( $general_settings['has_price'] ) ? false : true;
    			$can_show_price = false;
    		
    			if ( $has_price && isset( $post_meta['price'] ) && $post_meta['price'][0] > 0 ) {
    				$can_show_price = true;
    			}
    			
    			// Get custom fields
    			$fields = array();
    			$category_ids = array();
    
    			foreach ( $categories as $category ) {
    				$category_ids[] = $category->term_id;
    			}
    
    			$custom_field_ids = acadp_get_custom_field_ids( $category_ids );	
    					
    			if ( ! empty( $custom_field_ids ) ) {
    				$args = array(
    					'post_type' => 'acadp_fields',
    					'post_status' => 'publish',
    					'posts_per_page' => 500,	
    					'post__in' => $custom_field_ids,
    					'no_found_rows' => true,
    					'update_post_term_cache' => false,	
    					'meta_key' => 'order',
    					'orderby' => 'meta_value_num',				
    					'order' => 'ASC'
    				);
    				
    				$acadp_query = new WP_Query( $args );
    
    				if ( $acadp_query->have_posts() ) {
    					$fields = $acadp_query->posts;
    				}
    			}
    
    			// Process output
    			ob_start();
    			do_action( 'acadp_before_listing_content' );
    			include( acadp_get_template( "listing/acadp-public-listing-display.php" ) );
    			do_action( 'acadp_after_listing_content' );
    			$content = ob_get_clean();		
    		}
    		
    		return $content;		
    	}
    	
    	/**
    	 * Add or Remove favourites.
    	 *
    	 * @since 1.0.0
    	 */
    	public function ajax_callback_add_remove_favorites() {	
    		check_ajax_referer( 'acadp_ajax_nonce', 'security' );
    
    		$post_id = (int) $_POST['post_id'];
    		
    		$favourites = (array) get_user_meta( get_current_user_id(), 'acadp_favourites', true );
    		
    		if ( in_array( $post_id, $favourites ) ) {			
    			if ( ( $key = array_search( $post_id, $favourites ) ) !== false ) {
        			unset( $favourites[ $key ] );
    			}
    		} else {
    			$favourites[] = $post_id;
    		}
    		
    		$favourites = array_filter( $favourites );
    		$favourites = array_values( $favourites );
    		
    		delete_user_meta( get_current_user_id(), 'acadp_favourites' );
    		update_user_meta( get_current_user_id(), 'acadp_favourites', $favourites );
    		
    		the_acadp_favourites_link( $post_id );
    		
    		wp_die();	
    	}
    	
    	/**
    	 * Report Abuse.
    	 *
    	 * @since 1.0.0
    	 */
    	public function ajax_callback_report_abuse() {	
    		check_ajax_referer( 'acadp_ajax_nonce', 'security' );
    
    		$data = array( 'error' => 0 );
    		
    		if ( acadp_is_human('report_abuse') ) {		
    			if ( acadp_email_admin_report_abuse() ) {			
    				$data['message'] = __( 'Your message sent successfully.', 'advanced-classifieds-and-directory-pro' );				
    			} else {				
    				$data['error']   = 1;
    				$data['message'] = __( 'Sorry! Please try again.', 'advanced-classifieds-and-directory-pro' );				
    			}			
    		} else {		
    			$data['error']   = 1;
    			$data['message'] = __( 'Invalid Captcha: Please try again.', 'advanced-classifieds-and-directory-pro' );			
    		}
    				
    		echo wp_json_encode( $data );
    		wp_die();	
    	}
    	
    	/**
    	 * Send contact email.
    	 *
    	 * @since 1.0.0
    	 */
    	public function ajax_callback_send_contact_email() {	
    		check_ajax_referer( 'acadp_ajax_nonce', 'security' );
    		
    		$data = array( 'error' => 0 );
    		
    		if ( acadp_is_human('contact') ) {		
    			if ( acadp_email_listing_owner_listing_contact() ) {			
    				// Send a copy to admin( only if applicable ).
    				acadp_email_admin_listing_contact();
    				
    				$data['message'] = __( 'Your message sent successfully.', 'advanced-classifieds-and-directory-pro' );				
    			} else {				
    				$data['error']   = 1;
    				$data['message'] = __( 'Sorry! Please try again.', 'advanced-classifieds-and-directory-pro' );				
    			}			
    		} else {		
    			$data['error']   = 1;
    			$data['message'] = __( 'Invalid Captcha: Please try again.', 'advanced-classifieds-and-directory-pro' );			
    		}
    			
    		echo wp_json_encode( $data );	
    		wp_die();	
    	}
    
    }
    
    #305080
    nonasun
    Participant

    More investigation result. Here’s one example: When I say the format is gone, the icon in front of string “Registering for this site is easy.” doesn’t show. When I inspect the element, it’s there:
    <span class=”bp-icon” aria-hidden=”true”></span>

    But in the Styles, it doesn’t have any of the styles from buddypress.min.css, e.g. “.buddypress-wrap .bp-feedback.help .bp-icon, .buddypress-wrap .bp-feedback.info .bp-icon”

    So looks like it’s due to the problem to load the css file. But I do see the file under /site/wwwroot/wp-content/plugins/buddypress/bp-templates/bp-nouveau/css.

    Comparing that file with the same file from a website which works, they are the same. So the file is good. But somehow it’s not loaded.

    #303528

    In reply to: Alphabetize groups?

    Venutius
    Moderator

    Yes there is, it involes a minor amount of code wrangling. First of all you need to install a child-theme. You can get plugins for that if you’ve not already got one. This will create a directory on your server called wp-content/themes/your-child-theme.

    In that directory create a buddypress/groups directory.

    The next step is to work out which BP Theme you are using. You can find that by looking in Settings>>BuddyPress>>Options.

    Once you know that, you will be able to find a file called `wp-content/plugins/buddypress/bp-templates/your-bp-theme/buddypress/groups/groups-loop.php.

    Take a copy of this file and find this part:
    <?php if ( bp_has_groups( bp_ajax_querystring( 'groups' ) ) ) : ?>
    Change that to:
    <?php if ( bp_has_groups( bp_ajax_querystring( 'groups' ) . '&order=ASC&orderby=name' ) ) : ?>

    Next you put this file in the themes/child-theme/buddypress/groups directory you created earlier.

    #281464
    mutoha
    Participant

    I solved!

    ▼【wp-content\plugins\buddypress\custom_user\fluits_content.php】

    <div class="activity_update_wrapper">
    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&action=activity_update' ) ) : ?>
        <?php while ( bp_activities() ) : bp_the_activity(); ?>
     
    	<?php bp_get_template_part( 'activity/entry' ); ?>
    				
        <?php endwhile; ?>
    <?php endif; ?>
    </div>

    Thanks.

    #281442
    mutoha
    Participant

    I want to display only activity_update in 【fluits_content.php】.

    So, 【fluits_content.php】 was added by writing the following code in 【bp-custom.php】.

    ▼【wp-content\plugins\bp-custom.php】

    <?php
     
    add_action( 'bp_setup_nav', 'fluits_nav');  
    
    function fluits_nav() {  
      global $bp;  
      bp_core_new_nav_item( 
        array(   
          'name' => '果物',
          'slug' => 'fluits',
          'position' => 75,
          'screen_function' => 'fluits',  
          'show_for_displayed_user' => true, 
          'default_subnav_slug' => 'fluits',
          'item_css_id' => 'fluits'
        )
      );  
    }  
        
    function fluits_title() {  
      echo '果物'; 
    }  
        
    function fluits () {  
      add_action( 'bp_template_title', 'fluits_title' );
      add_action( 'bp_template_content', 'fluits_content' );  
      bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );  
    }  
    
    function fluits_content() {  
      include_once "buddypress/custom_user/fluits_content.php";     
    }  
    
    ?>

    But if I wrote the following code in 【fluits_content.php】, the list of activity_update will not be output.

    ▼【wp-content\plugins\buddypress\custom_user\fluits_content.php】

    <div class="activity_update_wrapper">
    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&action=activity_update' ) ) : ?>
        <?php while ( bp_activities() ) : bp_the_activity(); ?>
     
    	<?php get_template_part( 'bp-templates/bp-legacy/buddypress/activity/entry.php' ) ?>
    				
        <?php endwhile; ?>
    <?php endif; ?>
    </div>

    How do I display only “activity_update” in “fluits_content.php”?

    Thanks.

    #276400
    Prashant Singh
    Participant

    Hi,

    You can use this plugin https://wordpress.org/plugins/string-locator/ and search for your string. If it is in the template then this plugin will list you all the templates having that string.

    Thanks

    lz430
    Participant

    Hey everyone,
    I have a membership site. It’s running Woocommerce, WP 4.9.6 and Buddypress 3.0.0. My BuddyPress status is below.

    I’m having a problem when someone is choosing a any kind of membership(I only have free and 1 paid at the moment). When they get to the billing screen they can either use Facebook or Google to login and fill in the details.

    Once they do that, Buddypress redirects them to their wall. I want them to be able to continue the checkout process. I’ve tried so many things, but can’t override it.

    Please help!

    
    ### WordPress Environment ###
    
    Home URL: http://www.specialtactics.global
    Site URL: http://www.specialtactics.global
    WC Version: 3.4.1
    Log Directory Writable: ✔
    WP Version: 4.9.6
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.1.16 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version
    PHP Post Max Size: 128 MB
    PHP Time Limit: 3000
    PHP Max Input Vars: 1000
    cURL Version: 7.54.0
    OpenSSL/1.0.2k
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.39-cll-lve
    Max Upload Size: 128 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.4.1
    WC Database Prefix: wp_
    MaxMind GeoIP Database: ✔
    Total Database Size: 11.24MB
    Database Data Size: 10.10MB
    Database Index Size: 1.14MB
    wp_woocommerce_sessions: Data: 0.04MB + Index: 0.00MB
    wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.01MB
    wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB
    ts_redirects: Data: 0.00MB + Index: 0.00MB
    wp_achievements: Data: 0.02MB + Index: 0.01MB
    wp_bp_activity: Data: 0.01MB + Index: 0.01MB
    wp_bp_activity_meta: Data: 0.00MB + Index: 0.01MB
    wp_bp_friends: Data: 0.00MB + Index: 0.00MB
    wp_bp_groups: Data: 0.00MB + Index: 0.00MB
    wp_bp_groups_groupmeta: Data: 0.00MB + Index: 0.00MB
    wp_bp_groups_members: Data: 0.00MB + Index: 0.00MB
    wp_bp_links: Data: 0.00MB + Index: 0.00MB
    wp_bp_links_categories: Data: 0.00MB + Index: 0.00MB
    wp_bp_links_linkmeta: Data: 0.00MB + Index: 0.00MB
    wp_bp_links_votes: Data: 0.00MB + Index: 0.00MB
    wp_bp_messages_drafts: Data: 0.00MB + Index: 0.00MB
    wp_bp_messages_labels: Data: 0.00MB + Index: 0.00MB
    wp_bp_messages_label_message: Data: 0.00MB + Index: 0.00MB
    wp_bp_messages_messages: Data: 0.00MB + Index: 0.00MB
    wp_bp_messages_meta: Data: 0.00MB + Index: 0.00MB
    wp_bp_messages_notices: Data: 0.00MB + Index: 0.00MB
    wp_bp_messages_recipients: Data: 0.00MB + Index: 0.00MB
    wp_bp_notifications: Data: 0.00MB + Index: 0.00MB
    wp_bp_notifications_meta: Data: 0.00MB + Index: 0.00MB
    wp_bp_user_blogs: Data: 0.00MB + Index: 0.00MB
    wp_bp_user_blogs_blogmeta: Data: 0.00MB + Index: 0.01MB
    wp_bp_xprofile_data: Data: 0.00MB + Index: 0.00MB
    wp_bp_xprofile_fields: Data: 0.03MB + Index: 0.05MB
    wp_bp_xprofile_groups: Data: 0.00MB + Index: 0.00MB
    wp_bp_xprofile_meta: Data: 0.01MB + Index: 0.02MB
    wp_buddyboss_media: Data: 0.00MB + Index: 0.00MB
    wp_buddyboss_media_albums: Data: 0.00MB + Index: 0.00MB
    wp_commentmeta: Data: 0.00MB + Index: 0.01MB
    wp_comments: Data: 0.01MB + Index: 0.01MB
    wp_gde_profiles: Data: 0.00MB + Index: 0.00MB
    wp_gde_secure: Data: 0.00MB + Index: 0.00MB
    wp_learndash_user_activity: Data: 0.01MB + Index: 0.03MB
    wp_learndash_user_activity_meta: Data: 0.04MB + Index: 0.03MB
    wp_links: Data: 0.00MB + Index: 0.00MB
    wp_options: Data: 2.97MB + Index: 0.09MB
    wp_pmpro_discount_codes: Data: 0.00MB + Index: 0.00MB
    wp_pmpro_discount_codes_levels: Data: 0.00MB + Index: 0.00MB
    wp_pmpro_discount_codes_uses: Data: 0.00MB + Index: 0.00MB
    wp_pmpro_memberships_categories: Data: 0.00MB + Index: 0.00MB
    wp_pmpro_memberships_pages: Data: 0.00MB + Index: 0.00MB
    wp_pmpro_memberships_users: Data: 0.00MB + Index: 0.01MB
    wp_pmpro_membership_levelmeta: Data: 0.00MB + Index: 0.00MB
    wp_pmpro_membership_levels: Data: 0.00MB + Index: 0.01MB
    wp_pmpro_membership_orders: Data: 0.00MB + Index: 0.02MB
    wp_pmxi_files: Data: 0.00MB + Index: 0.00MB
    wp_pmxi_history: Data: 0.00MB + Index: 0.00MB
    wp_pmxi_imports: Data: 0.00MB + Index: 0.00MB
    wp_pmxi_posts: Data: 0.00MB + Index: 0.00MB
    wp_pmxi_templates: Data: 0.00MB + Index: 0.00MB
    wp_postmeta: Data: 0.83MB + Index: 0.21MB
    wp_posts: Data: 2.47MB + Index: 0.17MB
    wp_pp_login_builder: Data: 0.01MB + Index: 0.00MB
    wp_pp_password_reset_builder: Data: 0.01MB + Index: 0.00MB
    wp_pp_registration_builder: Data: 0.01MB + Index: 0.00MB
    wp_revslider_css: Data: 0.09MB + Index: 0.00MB
    wp_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB
    wp_revslider_navigations: Data: 0.00MB + Index: 0.00MB
    wp_revslider_sliders: Data: 0.02MB + Index: 0.00MB
    wp_revslider_slides: Data: 0.18MB + Index: 0.00MB
    wp_revslider_static_slides: Data: 0.00MB + Index: 0.00MB
    wp_signups: Data: 0.00MB + Index: 0.00MB
    wp_social_users: Data: 0.00MB + Index: 0.00MB
    wp_termmeta: Data: 0.00MB + Index: 0.01MB
    wp_terms: Data: 0.00MB + Index: 0.01MB
    wp_term_relationships: Data: 0.00MB + Index: 0.01MB
    wp_term_taxonomy: Data: 0.00MB + Index: 0.01MB
    wp_usermeta: Data: 0.05MB + Index: 0.04MB
    wp_users: Data: 0.00MB + Index: 0.01MB
    wp_waiting: Data: 0.00MB + Index: 0.00MB
    wp_wc_download_log: Data: 0.00MB + Index: 0.00MB
    wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB
    wp_wfBadLeechers: Data: 0.00MB + Index: 0.00MB
    wp_wfBlockedCommentLog: Data: 0.00MB + Index: 0.00MB
    wp_wfBlockedIPLog: Data: 0.00MB + Index: 0.00MB
    wp_wfBlocks7: Data: 0.00MB + Index: 0.00MB
    wp_wfConfig: Data: 0.36MB + Index: 0.01MB
    wp_wfCrawlers: Data: 0.00MB + Index: 0.00MB
    wp_wfFileChanges: Data: 0.00MB + Index: 0.00MB
    wp_wfFileMods: Data: 0.48MB + Index: 0.11MB
    wp_wfHits: Data: 0.14MB + Index: 0.03MB
    wp_wfHoover: Data: 0.00MB + Index: 0.00MB
    wp_wfIssues: Data: 0.00MB + Index: 0.00MB
    wp_wfKnownFileList: Data: 0.97MB + Index: 0.12MB
    wp_wfLeechers: Data: 0.00MB + Index: 0.01MB
    wp_wfLiveTrafficHuman: Data: 0.00MB + Index: 0.00MB
    wp_wfLocs: Data: 0.00MB + Index: 0.00MB
    wp_wfLogins: Data: 0.01MB + Index: 0.00MB
    wp_wfNet404s: Data: 0.00MB + Index: 0.00MB
    wp_wfNotifications: Data: 0.00MB + Index: 0.00MB
    wp_wfPendingIssues: Data: 0.00MB + Index: 0.00MB
    wp_wfReverseCache: Data: 0.00MB + Index: 0.00MB
    wp_wfScanners: Data: 0.00MB + Index: 0.00MB
    wp_wfSNIPCache: Data: 0.00MB + Index: 0.00MB
    wp_wfStatus: Data: 0.06MB + Index: 0.03MB
    wp_wfVulnScanners: Data: 0.00MB + Index: 0.00MB
    wp_wp_pro_quiz_category: Data: 0.00MB + Index: 0.00MB
    wp_wp_pro_quiz_form: Data: 0.00MB + Index: 0.00MB
    wp_wp_pro_quiz_lock: Data: 0.00MB + Index: 0.00MB
    wp_wp_pro_quiz_master: Data: 0.02MB + Index: 0.00MB
    wp_wp_pro_quiz_prerequisite: Data: 0.00MB + Index: 0.00MB
    wp_wp_pro_quiz_question: Data: 1.24MB + Index: 0.03MB
    wp_wp_pro_quiz_statistic: Data: 0.01MB + Index: 0.00MB
    wp_wp_pro_quiz_statistic_ref: Data: 0.00MB + Index: 0.00MB
    wp_wp_pro_quiz_template: Data: 0.00MB + Index: 0.00MB
    wp_wp_pro_quiz_toplist: Data: 0.00MB + Index: 0.00MB
    wp_wsluserscontacts: Data: 0.00MB + Index: 0.00MB
    wp_wslusersprofiles: Data: 0.00MB + Index: 0.00MB
    
    ### Post Type Counts ###
    
    attachment: 121
    bmt-member-type: 4
    bp-email: 32
    cdfc: 1
    condition_group: 1
    custom_css: 1
    customize_changeset: 9
    forum: 1
    jetpack_migration: 2
    mc4wp-form: 1
    nav_menu_item: 33
    page: 39
    post: 24
    product: 12
    revision: 1003
    scheduled-action: 16
    sfwd-certificates: 1
    sfwd-courses: 7
    sfwd-lessons: 36
    sfwd-quiz: 38
    sfwd-topic: 147
    shop_order: 7
    shop_subscription: 5
    sidebar: 1
    sp_wps_shortcodes: 1
    topic: 4
    wc_membership_plan: 6
    wcps: 1
    woocarousel: 1
    wpachievements: 3
    wpcf7_contact_form: 1
    wpe_product_carousel: 1
    yith_wcps_type: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ❌
    					Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ✔
    
    ### Active Plugins (50) ###
    
    Addons for WPBakery Page Builder: by Livemesh – 1.9.1
    Akismet Anti-Spam: by Automattic – 4.0.7
    bbPress: by The bbPress Community – 2.5.14
    Better Search Replace: by Delicious Brains – 1.3.2
    Boss for LearnDash: by BuddyBoss – 1.3.0
    BP Redirect To Profile: by Brajesh Singh – 1.2.2
    BuddyBoss Inbox: by BuddyBoss – 1.1.3
    BuddyBoss Media: by BuddyBoss – 3.2.4
    BuddyBoss One Click Installer: by BuddyBoss – 1.0.6
    BuddyBoss Wall: by BuddyBoss – 1.3.3
    BuddyPress for LearnDash: by BuddyBoss – 1.2.4
    BuddyPress Member Types: by BuddyBoss – 1.1.2
    BuddyPress: by The BuddyPress Community – 3.0.0
    Contact Form 7: by Takayuki Miyoshi – 5.0.2
    Force HTTPS: by LittleBizzy – 1.0.6
    Google Doc Embedder: by Kevin Davis
    Dan Lester – 2.6.4
    
    Insert or Embed Articulate Content into WordPress Trial: by Brian Batt – 4.292
    WPBakery Page Builder: by Michael M - WPBakery.com – 5.4.7
    LearnDash Content Cloner: by WisdmLabs – 1.2.2
    LearnDash & bbPress Integration: by LearnDash – 2.0.2.1
    LearnDash Course Grid: by LearnDash – 1.4.1
    LearnDash ProPanel: by LearnDash – 2.1.3
    LearnDash WooCommerce Integration: by LearnDash – 1.4.0 – Not tested with the active version of WooCommerce
    Mega Addons For Visual Composer: by Nasir – 2.2
    Nextend Social Login: by Nextendweb – 3.0.10
    Nextend Social Login Pro Addon: by Nextendweb – 3.0.8
    WooCommerce Product Carousel Slider: by ADL Plugins – 3.0.2 – Not tested with the active version of WooCommerce
    Restrict Content: by Pippin Williamson – 2.2.3
    Slider Revolution: by ThemePunch – 5.4.7.3
    LearnDash LMS: by LearnDash – 2.5.8.2
    Simple Buddypress Profile Privacy: by Justin Hansen – 0.7.7
    String Locator: by Clorith – 2.3.0
    Theme My Login: by Jeff Farthing – 6.4.16
    Uncanny LearnDash Toolkit: by Uncanny Owl – 2.4.2
    Uncanny LearnDash Toolkit Pro: by Uncanny Owl – 2.3.1
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.14.11
    
    Essential WPBakery Page Builder (formerly Visual Composer) Addons: by themebon – 1.9.1
    Waiting: by Plugin Builders – 0.4.5
    WC4BP -> WooCommerce BuddyPress Integration (Premium): by ThemeKraft – 3.1.4 – Not tested with the active version of WooCommerce
    WC4BP -> Subscriptions: by ThemeKraft – 1.1.0 – Not tested with the active version of WooCommerce
    WC4BP -> BuddyPress xProfile Checkout Manager: by ThemeKraft – 1.3.0 – Not tested with the active version of WooCommerce
    WooCommerce Colors: by WooThemes – 1.0.7 – Not tested with the active version of WooCommerce
    WooCommerce PayPal Express Checkout Gateway: by WooCommerce – 1.5.5
    WooCommerce Stripe Gateway: by WooCommerce – 4.1.6
    WooCommerce Memberships: by SkyVerge – 1.10.4
    WooCommerce Social Login: by SkyVerge – 2.5.2
    WooCommerce Subscriptions: by Prospress Inc. – 2.2.21
    WooCommerce: by Automattic – 3.4.1 – 3.4.2 is available
    WP File Manager: by mndpsingh287 – 2.7
    WP Rollback: by WordImpress – 1.5
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: ✔
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: course (course)
    external (external)
    grouped (grouped)
    simple (simple)
    subscription (subscription)
    variable (variable)
    variable subscription (variable-subscription)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    ### WC Pages ###
    
    Shop base: ❌ Page not set
    Cart: #562 - /cart/
    Checkout: #9648 - /woocommerce-checkout/
    My account: #9671 - /membership/
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: Boss. Child Theme
    Version: 2.4.3
    Author URL: http://www.buddyboss.com
    Child Theme: ✔
    Parent Theme Name: Boss.
    Parent Theme Version: 2.4.6
    Parent Theme Author URL: https://www.buddyboss.com
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    ### subscriptions ###
    
    WCS_DEBUG: ✔
    						No
    Subscriptions Mode: ✔
    						Live
    Subscriptions Template Theme Overrides: –
    Report Cache Enabled: ✔
    						Yes
    Cache Update Failures: ✔
    						0 failure
    
    #272429
    filo81
    Participant

    Hello Everyone,

    I got this error:

    Trying to get property of non-object in /web/htdocs/www.bestalented.com/home/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php on line 2325

    function bp_get_activity_comment_link() {
    global $activities_template;

    /**
    * Filters the comment link for the current activity comment.
    *
    * @since 1.2.0
    *
    * @param string $value Constructed URL parameters with activity IDs.
    */

    HERE IS BELOW THE LINE!!!!
    return apply_filters( ‘bp_get_activity_comment_link’, ‘?ac=’ . $activities_template->activity->id . ‘/#ac-form-‘ . $activities_template->activity->id );
    }

    Could you please help me on that?

    Thank you.

    Best regards
    Filippo

    alexalexalex09
    Participant

    Whoops, I forgot instructions on how to change the account details fields. Here, I updated it:

    To change the text on the regular (Account Details) fields, make a copy of wpcontent/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/register.php and place it in themes/your-child-theme/buddypress/members (a folder which you will have to create).

    Then, open that file and replace every instance of <?php _e( '(required)', 'buddypress' ); ?> with your asterisk (*).

    Then, to change the text on profile fields (Profile Details), just add the following code to bp-custom.php (which, if it doesn’t exist, you’ll need to create in wpcontent/plugins).

    
    function bp_change_required_label($translated_string, $field_id) {
    		return '*';		
    }
    add_filter('bp_get_the_profile_field_required_label', 'bp_change_required_label', 10, 2);
    

    This function hooks into the function bp_get_the_profile_field_required_label() in buddypress/bp-xprofile/bp-xprofile-template using the supplied filter. It takes the translated “(required)” string and replaces it with “*”. which will also remove any translation – but that should be acceptable for a symbol in most cases.

    alexalexalex09
    Participant

    I know this is an old thread, but for those who are (like me) interested and googling this, here’s a quick solution that requires no language file editing.

    Just add the following code to bp-custom.php (which, if it doesn’t exist, you’ll need to create in wpcontent/plugins).

    
    function bp_change_required_label($translated_string, $field_id) {
    		return '*';		
    }
    add_filter('bp_get_the_profile_field_required_label', 'bp_change_required_label', 10, 2);
    

    This function hooks into the function bp_get_the_profile_field_required_label() in buddypress/bp-xprofile/bp-xprofile-template using the supplied filter. It takes the translated “(required)” string and replaces it with “*”. which will also remove any translation – but that should be acceptable for a symbol in most cases.

    #269412
    bcanr2d2
    Participant

    I am using WP Mail SMTP to get the mail to send without issues. But it seems to affect this particular email only, I am getting everything else as far as I am aware.

    Here are my current active plugins – There is quite a long list.
    I do use Autoptimize, so not sure if it’s affecting anything.
    One of note, is Social Login, which when logging directs to their site, and redirects back to my site to log the user in via their social network, this is where it falls over and does not send this one email. It manages to send other emails related to the login, but it now gives me an idea to look into the code that sends this social email sign up notification.

    (BuddyDev) BP Auto Login on Activation (1.0.3)
    Advanced Custom Fields (4.4.11)
    Allow Multiple Accounts (3.0.4)
    Autoptimize (2.2.2)
    BP Profile Message UX Free (1.5)
    BP xProfile Location (1.2)
    BP XProfile WordPress User Sync (0.6.4)
    BuddyDev Username Availability Checker (1.1.1)
    BuddyExtender (1.0.1)
    BuddyPress (2.7.4)
    BuddyPress Member Type Generator (1.0.3)
    BuddyPress Security Check (2.1.2)
    BuddyPress Simple Terms And Conditions (1.3)
    BuddyPress Xprofile Custom Fields Type (2.6.3)
    BuddyPress Xprofile Member Type Field (1.0.4)
    BuddyPress XProfile Validate with RegEx (0.1.2)
    Cherry Parallax Plugin (1.1.0)
    Cherry Plugin (1.2.8.1)
    Child Theme Configurator (2.1.2)
    Conditional Profile Fields for BuddyPress (1.1.9)
    Contact Form 7 (4.6)
    Contact Form 7 – Dynamic Text Extension (2.0.1)
    Contact Form 7 Conditional Fields (1.0)
    Contact Form 7 Get and Show Parameter from URL (0.9.7)
    Contact Form 7 Honeypot (1.10)
    Contact Form 7 Modules: Hidden Fields (2.0)
    Contact Form 7 Shortcode Enabler (1.1)
    Custom Hooks (1.0)
    Custom Post Template By Templatic (1.0)
    Custom Post Type UI (1.4.3)
    Disable Comments (1.6)
    Display Posts Shortcode (2.7.0)
    FacetWP (2.7.4)
    FacetWP – Map (1.0.5)
    Flamingo (1.5)
    GeoIP Detection (2.7.0)
    GEO my WP (2.7)
    Google Analytics Dashboard for WP (4.9.6.2)
    List Plugins (1.4.4)
    Meta Slider (3.4)
    Optimize Database after Deleting Revisions (4.2.1)
    Page-list (5.1)
    PHP Compatibility Checker (1.4.0)
    Popup Maker (1.4.20)
    Shortcodes in Menus (3.2)
    Social Login (5.2)
    Stream (3.2.0)
    String Locator (2.2.0)
    Sucuri Security – Auditing, Malware Scanner and Hardening (1.8.3)
    SuitePlugins – Advanced XProfile Fields for BuddyPress (1.0.3)
    Theme Check (20160523.1)
    Visual Builder for Contact Form 7 (2.0)
    WPFront User Role Editor (2.13)
    WP Mail SMTP (0.11.1)
    WP Private Content Plus (1.13.1)
    WP Smush (2.6.1)
    Yoast SEO (4.3)

    metaverso
    Participant

    BuddyPress 2.8.2 (Fatal error on php, 7.0.21 and 7.1.7)

    ON PHP 7.0.21
    Fatal error: Uncaught Error: Call to undefined function mysql_escape_string() in /home/xx/public_html/w/xx.com.br/wp-content/themes/wplms/functions.php:60 Stack trace: #0 /home/xx/public_html/w/xx.com.br/wp-settings.php(424): include() #1 /home/xx/public_html/w/xx.com.br/wp-config.php(89): require_once('/home/xxx73/...') #2 /home/xx/public_html/w/xx.com.br/wp-load.php(37): require_once('/home/xxx73/...') #3 /home/x/public_html/w/xx.com.br/wp-admin/admin.php(31): require_once('/home/xxx73/...') #4 /home/xx/public_html/w/xx.com.br/wp-admin/plugins.php(10): require_once('/home/xxx73/...') #5 {main} thrown in /home/xx/public_html/w/xxx.com.br/wp-content/themes/wplms/functions.php on line 60

    ON PHP 7.1.7 (Sometimes this error occurs for no reason. And the error disappears for no reason as well)
    Fatal error: Uncaught Error: [] operator not supported for strings in /home/xx/public_html/w/xx.com.br/wp-content/plugins/vibe-course-module/includes/bp-course-classes.php:106 Stack trace: #0 /home/xx/public_html/w/xx.com.br/wp-content/plugins/vibe-course-module/includes/bp-course-template.php(625): BP_COURSE->get(Array) #1 /home/xx/public_html/w/xx.com.br/wp-content/themes/wplms/course/my-courses.php(20): bp_course_has_items('user_id=893&per...') #2 /home/xxx73/public_html/w/xxx.com.br/wp-includes/template.php(688): require_once('/home/xxx73/...') #3 /home/xxx73/public_html/w/xxx.com.br/wp-includes/template.php(647): load_template('/home/xxx73/...', true) #4 /home/xxx73/public_html/w/xxx.com.br/wp-content/themes/wplms/members/single/course.php(41): locate_template(Array, true) #5 /home/xxx73/public_html/w/xxx.com.br/wp-includes/template.php(688): require_once('/home/xxx73/...') #6 /home/xxx73/public_html/w/xxx.com.br/wp-includes/template.php(647): load_template in /home/xxx73/public_html/w/xxx.com.br/wp-content/plugins/vibe-course-module/includes/bp-course-classes.php on line 106


    Only working in PHP version 5.x
    🙁

    **using theme WPLMS 2.9.2**

    wci
    Participant

    Hi Buddypress support,
    I am still waiting to get my problem to solve.
    While using bbpress search forum then the search result is not displayed, but instead get forward to homepage.
    Please find this screen video helpful to solve my issue
    > https://www.screencast.com/t/eMZEAnn9X2

    Please also find this info helpful as you stated you need those info too:

    Please try to supply answers to the following questions.
    1. Which version of WordPress are you running?
    WP ver. 4.8

    2. Did you install WordPress as a directory or subdomain install?
    directory but as multisite

    3. If a directory install, is it in root or in a subdirectory?
    subdirectory /public_html/wci

    4. Did you upgrade from a previous version of WordPress? If so, from which version?
    no – Version 2.8.2 is in use

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
    not sure but I guess it was working

    6. Which version of BP are you running?
    Version 2.8.2 is in use

    7. Did you upgraded from a previous version of BP? If so, from which version?
    no

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    (but the problem occur even, if I deactiavete all plugins just using buddypress and bbpress together)
    Name Version Plugin URL
    WP Easy Updates 1.1.1 http://ayecode.io/
    AffiliateWP – Lifetime Commissions 1.2.4 http://affiliatewp.com/addons/lifetime-commissions/
    AffiliateWP – PayPal Payouts 1.1.7 http://affiliatewp.com/addons/paypal-payouts/
    AffiliateWP – Recurring Referrals 1.6.2 http://affiliatewp.com/addons/recurring-referrals/
    AffiliateWP 2.0.10 https://affiliatewp.com
    AffiliateWP – Affiliate Area Tabs 1.1.5 https://affiliatewp.com/
    AffiliateWP – Affiliate Dashboard Sharing 1.1.3 http://affiliatewp.com/addons/affiliate-dashboard-sharing/
    AffiliateWP BuddyPress Pro 1.0.1 http://propluginmarketplace.com/plugins/affiliatewp-buddypress-pro
    AffiliateWP – Direct Link Tracking 1.1.1 https://affiliatewp.com/add-ons/pro/direct-link-tracking/
    AffiliateWP MLM 1.1.2 http://theperfectplugin.com/downloads/affiliatewp-mlm
    AffiliateWP – Order Details For Affiliates 1.1.3 https://affiliatewp.com/addons/order-details-affiliates/
    AffiliateWP Performance Bonuses 1.0.3.1 http://propluginmarketplace.com/plugins/affiliatewp-performance-bonuses
    AffiliateWP Ranks 1.0.2 http://propluginmarketplace.com/plugins/affiliatewp-ranks
    AffiliateWP Variable Rates 1.3 http://propluginmarketplace.com/plugins/affiliatewp-variable-rates
    Akismet Anti-Spam 3.3.2 https://akismet.com/
    All In One WP Security 4.2.8 https://www.tipsandtricks-hq.com/wordpress-security-and-firewall-plugin
    Autoptimize 2.2.0 http://autoptimize.com/
    bbPress 2.5.12 https://bbpress.org
    BuddyPress Instant Chat 1.6 http://iamrichardphelps.com/
    BuddyPress 2.8.2 https://buddypress.org/
    Contact Form 7 Datepicker 2.6.0 https://github.com/relu/contact-form-7-datepicker/
    Contact Form 7 Honeypot 1.10 http://www.nocean.ca/plugins/honeypot-module-for-contact-form-7-wordpress-plugin/
    Contact Form 7 4.8 https://contactform7.com/
    Cookie Notice 1.2.38 http://www.dfactory.eu/plugins/cookie-notice/
    Delightful Downloads 1.6.6 https://delightfuldownloads.com
    Google Tag Manager for WordPress 1.6.1 https://duracelltomi.com/google-tag-manager-for-wordpress/
    Email Log 1.9.1 http://sudarmuthu.com/wordpress/email-log
    EWWW Image Optimizer 3.4.1 https://wordpress.org/plugins/ewww-image-optimizer/
    Featured Image Generator 1.1.5 https://designilcode.com
    FooTable 0.3.1 http://fooplugins.com/plugins/footable-lite/
    GD Business Hours 1.3.8.2 http://www.solarflarecomputing.com
    GeoDirectory Advance Search Filters 1.4.9 http://wpgeodirectory.com/
    GeoDirectory AffiliateWP Integration 1.0.8 http://wpgeodirectory.com
    GeoDirectory Ajax Duplicate Alert 1.1.8 http://wpgeodirectory.com
    GeoDirectory BuddyPress Integration 1.1.9 http://wpgeodirectory.com/
    GeoDirectory Claim Manager 1.3.21 http://wpgeodirectory.com
    GeoDirectory Custom Post Types 1.3.5 http://wpgeodirectory.com
    GeoDirectory Dashboard 0.0.1 https://wpgeodirectory.com
    GeoDirectory Events 1.4.6 https://wpgeodirectory.com
    GeoDirectory Franchise Manager 1.0.6 http://wpgeodirectory.com/
    GeoDirectory Invoice 1.0 http://www.worldcheckin.com
    GeoDirectory Location Manager 1.5.50 http://wpgeodirectory.com
    GeoDirectory Marker Cluster 1.3.0 http://wpgeodirectory.com
    GeoDirectory Payment Manager 1.4.4 http://wpgeodirectory.com
    GeoDirectory Re-Captcha 1.1.5 http://wpgeodirectory.com/
    GeoDirectory Review Rating Manager 1.3.8 http://wpgeodirectory.com
    GeoDirectory Social Importer 1.3.1 http://wpgeodirectory.com
    GeoDirectory 1.6.21 http://wpgeodirectory.com/
    GT-Vouchers – GeoDirectory Version 1.5.7.8 http://www.gt-vouchers.com/
    Icegram – Popups, Optins, CTAs & lot more… 1.10.5 http://www.icegram.com/
    Idea Factory 1.2 http://wpideafactory.com
    If Modified Since Header 1.2.5 https://www.isaumya.com/portfolio-item/if-modified-since-header-for-wordpress/
    Inbound Extension – MailPoet Integration 1.0.9 http://www.inboundnow.com/
    Insert HTML Snippet 1.2.2 http://xyzscripts.com/wordpress-plugins/insert-html-snippet/
    Collapse-O-Matic 1.7.5 https://plugins.twinpictures.de/plugins/collapse-o-matic/
    Leads 3.1.1 http://www.inboundnow.com/leads/
    MailPoet – Contact Form 7 Integration 1.0.7.5 https://github.com/jessepearson/mailpoet-contact-form-7
    Master Slider Pro 3.1.3 http://codecanyon.net/item/masterslider-pro/7467925?ref=averta
    Multilingual Tools 1.2 https://wpml.org/download/multilingual-tools/
    ProfitBuilder 2.2.7 http://www.imsuccesscenter.com/
    AffiliateWP – Pushover Notifications 1.0.2 http://affiliatewp.com/addons/pushover-notifications
    SendGrid 1.11.3 https://wordpress.org/plugins/sendgrid-email-delivery-simplified/
    WPML Multilingual CMS 3.7.1 https://wpml.org/
    Social Content Locker 1.1 http://web-settler.com/wordpress-social-locker/
    Standout CSS3 Buttons 0.3.0 http://www.jimmyscode.com/wordpress/standout-css3-buttons/
    TablePress Extension: Responsive Tables 1.4 https://tablepress.org/extensions/responsive-tables/
    TablePress 1.8 https://tablepress.org/
    TinyMCE Advanced 4.6.3 http://www.laptoptips.ca/projects/tinymce-advanced/
    UberMenu 3 – The Ultimate WordPress Mega Menu 3.2.5 http://wpmegamenu.com
    UpdraftPlus – Backup/Restore 2.13.4.21 https://updraftplus.com
    Use Google Libraries 1.6.2.3 http://jasonpenney.net/wordpress-plugins/use-google-libraries/
    Widget Logic 5.8.2 https://wordpress.org/extend/plugins/widget-logic/
    Yoast SEO 4.9 https://yoast.com/wordpress/plugins/seo/#utm_source=wpadmin&utm_medium=plugin&utm_campaign=wpseoplugin
    Clean Up Optimizer 4.0.10 http://beta.tech-banker.com
    Wordpress Social Invitations – Lite 2.1.1 http://wp.timersys.com/wordpress-social-invitations/
    WP Super Cache – Clear all cache 1.4 http://ocaoimh.ie/wp-super-cache/
    WP Super Cache 1.4.9 https://wordpress.org/plugins/wp-super-cache/
    WP Support Plus 8.0.7 https://wordpress.org/plugins/wp-support-plus-responsive-ticket-system-ticket-system/
    WPML CMS Nav 1.4.20 https://wpml.org/
    WPML Media 2.2.0 https://wpml.org/
    WPML Page Builders 1.1.3 https://wpml.org/
    WPML Sticky Links 1.4.1 https://wpml.org/
    WPML String Translation 2.5.4 https://wpml.org/
    WPML Translation Management 2.3.1 https://wpml.org/
    WPML Widgets 1.0.6 http://jeroensormani.com
    MailPoet Newsletters 2.7.10 http://www.mailpoet.com/

    9. Are you using the standard WordPress theme or customized theme?
    customized theme

    10. Which theme do you use ?
    GDF_child is from geodirectory (but the problem occur even, if I switch the theme to twenty fourteen)

    11. Have you modified the core files in any way?
    No

    12. Do you have any custom functions in bp-custom.php?
    Not as I know, but maybe the geodirectory addon “GeoDirectory BuddyPress Integration 1.1.9″

    13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    no build in. version in use is bbPress 2.5.12

    14. Please provide a list of any errors in your server’s log files.
    [23-Jun-2017 03:41:33 UTC] WordPress database error Table ‘worldche_wcimsgd.wp_term_relationships’ doesn’t exist for query SELECT tt.term_id, MAX(p.post_modified_gmt) AS date_gmt, l.country_slug AS country, l.region_slug AS region, l.city_slug AS city FROM ms_1_geodir_post_locations l LEFT JOIN ms_1_geodir_gd_video_detail pd ON pd.post_location_id = l.location_id LEFT JOIN ms_1_posts p ON p.ID = pd.post_id LEFT JOIN wp_term_relationships AS tr ON tr.object_id = p.ID LEFT JOIN wp_term_taxonomy AS tt ON ( tt.term_taxonomy_id = tr.term_taxonomy_id AND tt.taxonomy = ‘gd_videocategory’ ) WHERE pd.post_locations LIKE CONCAT( ‘[‘, l.city_slug, ‘],[‘, l.region_slug , ‘],[‘, l.country_slug , ‘]’ ) AND p.post_type = ‘gd_video’ AND p.post_status = ‘publish’ AND l.location_id IS NOT NULL AND tt.term_id IS NOT NULL GROUP BY CONCAT(tt.term_id, ‘-‘, l.country_slug, ‘-‘, l.region_slug, ‘-‘, l.city_slug) ORDER BY date_gmt DESC made by require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPSEO_Sitemaps->redirect, WPSEO_Sitemaps->build_sitemap, WPSEO_Sitemaps->build_root_map, WPSEO_Sitemaps_Renderer->get_index, apply_filters(‘wpseo_sitemap_index’), WP_Hook->apply_filters, call_user_func_array, geodir_sitemap_index, geodir_sitemap_taxonomies_sitemap_index, geodir_sitemap_get_locations_taxonomies
    [23-Jun-2017 03:41:33 UTC] WordPress database error Table ‘worldche_wcimsgd.wp_term_relationships’ doesn’t exist for query SELECT tt.term_id, MAX(p.post_modified_gmt) AS date_gmt, l.country_slug AS country, l.region_slug AS region, l.city_slug AS city FROM ms_1_geodir_post_locations l LEFT JOIN ms_1_geodir_gd_video_detail pd ON pd.post_location_id = l.location_id LEFT JOIN ms_1_posts p ON p.ID = pd.post_id LEFT JOIN wp_term_relationships AS tr ON tr.object_id = p.ID LEFT JOIN wp_term_taxonomy AS tt ON ( tt.term_taxonomy_id = tr.term_taxonomy_id AND tt.taxonomy = ‘gd_video_tags’ ) WHERE pd.post_locations LIKE CONCAT( ‘[‘, l.city_slug, ‘],[‘, l.region_slug , ‘],[‘, l.country_slug , ‘]’ ) AND p.post_type = ‘gd_video’ AND p.post_status = ‘publish’ AND l.location_id IS NOT NULL AND tt.term_id IS NOT NULL GROUP BY CONCAT(tt.term_id, ‘-‘, l.country_slug, ‘-‘, l.region_slug, ‘-‘, l.city_slug) ORDER BY date_gmt DESC made by require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPSEO_Sitemaps->redirect, WPSEO_Sitemaps->build_sitemap, WPSEO_Sitemaps->build_root_map, WPSEO_Sitemaps_Renderer->get_index, apply_filters(‘wpseo_sitemap_index’), WP_Hook->apply_filters, call_user_func_array, geodir_sitemap_index, geodir_sitemap_taxonomies_sitemap_index, geodir_sitemap_get_locations_taxonomies
    [23-Jun-2017 04:40:47 UTC] WordPress-Datenbank-Fehler You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1 für Abfrage SELECT * FROM ms_1_geodir_invoice WHERE post_id = von require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/GDF_child/geodirectory/listing-success.php’), my_project_updated_email
    [23-Jun-2017 04:40:47 UTC] WordPress-Datenbank-Fehler You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘WHERE post_author = 0’ at line 1 für Abfrage UPDATE ms_1_posts SET vat_id = WHERE post_author = 0 von require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/GDF_child/geodirectory/listing-success.php’), my_project_updated_email
    [23-Jun-2017 06:43:08 UTC] PHP Fatal error: Call to undefined function is_bbpress() in /home/worldcheckin/public_html/wci/wp-content/plugins/widget-logic/widget_logic.php(463) : eval()’d code on line 2

    15. Which company provides your hosting?
    hetzner – I am using a own dedicated server

    16. Is your server running Windows, or if Linux; Apache, nginx or something else?
    Linux

    wci
    Participant

    Hi Buddypress support,
    I am still waiting to get my problem to solve.
    While using bbpress search forum then the search result is not displayed, but instead get forward to homepage.
    Please find this screen video helpful to solve my issue
    > https://www.screencast.com/t/eMZEAnn9X2

    Please also find this info helpful as you stated you need those info too:

    Please try to supply answers to the following questions.
    1. Which version of WordPress are you running?
    WP ver. 4.8

    2. Did you install WordPress as a directory or subdomain install?
    directory but as multisite

    3. If a directory install, is it in root or in a subdirectory?
    subdirectory /public_html/wci

    4. Did you upgrade from a previous version of WordPress? If so, from which version?
    no – Version 2.8.2 is in use

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
    not sure but I guess it was working

    6. Which version of BP are you running?
    Version 2.8.2 is in use

    7. Did you upgraded from a previous version of BP? If so, from which version?
    no

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    (but the problem occur even, if I deactiavete all plugins just using buddypress and bbpress together)
    Name Version Plugin URL
    WP Easy Updates 1.1.1 http://ayecode.io/
    AffiliateWP – Lifetime Commissions 1.2.4 http://affiliatewp.com/addons/lifetime-commissions/
    AffiliateWP – PayPal Payouts 1.1.7 http://affiliatewp.com/addons/paypal-payouts/
    AffiliateWP – Recurring Referrals 1.6.2 http://affiliatewp.com/addons/recurring-referrals/
    AffiliateWP 2.0.10 https://affiliatewp.com
    AffiliateWP – Affiliate Area Tabs 1.1.5 https://affiliatewp.com/
    AffiliateWP – Affiliate Dashboard Sharing 1.1.3 http://affiliatewp.com/addons/affiliate-dashboard-sharing/
    AffiliateWP BuddyPress Pro 1.0.1 http://propluginmarketplace.com/plugins/affiliatewp-buddypress-pro
    AffiliateWP – Direct Link Tracking 1.1.1 https://affiliatewp.com/add-ons/pro/direct-link-tracking/
    AffiliateWP MLM 1.1.2 http://theperfectplugin.com/downloads/affiliatewp-mlm
    AffiliateWP – Order Details For Affiliates 1.1.3 https://affiliatewp.com/addons/order-details-affiliates/
    AffiliateWP Performance Bonuses 1.0.3.1 http://propluginmarketplace.com/plugins/affiliatewp-performance-bonuses
    AffiliateWP Ranks 1.0.2 http://propluginmarketplace.com/plugins/affiliatewp-ranks
    AffiliateWP Variable Rates 1.3 http://propluginmarketplace.com/plugins/affiliatewp-variable-rates
    Akismet Anti-Spam 3.3.2 https://akismet.com/
    All In One WP Security 4.2.8 https://www.tipsandtricks-hq.com/wordpress-security-and-firewall-plugin
    Autoptimize 2.2.0 http://autoptimize.com/
    bbPress 2.5.12 https://bbpress.org
    BuddyPress Instant Chat 1.6 http://iamrichardphelps.com/
    BuddyPress 2.8.2 https://buddypress.org/
    Contact Form 7 Datepicker 2.6.0 https://github.com/relu/contact-form-7-datepicker/
    Contact Form 7 Honeypot 1.10 http://www.nocean.ca/plugins/honeypot-module-for-contact-form-7-wordpress-plugin/
    Contact Form 7 4.8 https://contactform7.com/
    Cookie Notice 1.2.38 http://www.dfactory.eu/plugins/cookie-notice/
    Delightful Downloads 1.6.6 https://delightfuldownloads.com
    Google Tag Manager for WordPress 1.6.1 https://duracelltomi.com/google-tag-manager-for-wordpress/
    Email Log 1.9.1 http://sudarmuthu.com/wordpress/email-log
    EWWW Image Optimizer 3.4.1 https://wordpress.org/plugins/ewww-image-optimizer/
    Featured Image Generator 1.1.5 https://designilcode.com
    FooTable 0.3.1 http://fooplugins.com/plugins/footable-lite/
    GD Business Hours 1.3.8.2 http://www.solarflarecomputing.com
    GeoDirectory Advance Search Filters 1.4.9 http://wpgeodirectory.com/
    GeoDirectory AffiliateWP Integration 1.0.8 http://wpgeodirectory.com
    GeoDirectory Ajax Duplicate Alert 1.1.8 http://wpgeodirectory.com
    GeoDirectory BuddyPress Integration 1.1.9 http://wpgeodirectory.com/
    GeoDirectory Claim Manager 1.3.21 http://wpgeodirectory.com
    GeoDirectory Custom Post Types 1.3.5 http://wpgeodirectory.com
    GeoDirectory Dashboard 0.0.1 https://wpgeodirectory.com
    GeoDirectory Events 1.4.6 https://wpgeodirectory.com
    GeoDirectory Franchise Manager 1.0.6 http://wpgeodirectory.com/
    GeoDirectory Invoice 1.0 http://www.worldcheckin.com
    GeoDirectory Location Manager 1.5.50 http://wpgeodirectory.com
    GeoDirectory Marker Cluster 1.3.0 http://wpgeodirectory.com
    GeoDirectory Payment Manager 1.4.4 http://wpgeodirectory.com
    GeoDirectory Re-Captcha 1.1.5 http://wpgeodirectory.com/
    GeoDirectory Review Rating Manager 1.3.8 http://wpgeodirectory.com
    GeoDirectory Social Importer 1.3.1 http://wpgeodirectory.com
    GeoDirectory 1.6.21 http://wpgeodirectory.com/
    GT-Vouchers – GeoDirectory Version 1.5.7.8 http://www.gt-vouchers.com/
    Icegram – Popups, Optins, CTAs & lot more… 1.10.5 http://www.icegram.com/
    Idea Factory 1.2 http://wpideafactory.com
    If Modified Since Header 1.2.5 https://www.isaumya.com/portfolio-item/if-modified-since-header-for-wordpress/
    Inbound Extension – MailPoet Integration 1.0.9 http://www.inboundnow.com/
    Insert HTML Snippet 1.2.2 http://xyzscripts.com/wordpress-plugins/insert-html-snippet/
    Collapse-O-Matic 1.7.5 https://plugins.twinpictures.de/plugins/collapse-o-matic/
    Leads 3.1.1 http://www.inboundnow.com/leads/
    MailPoet – Contact Form 7 Integration 1.0.7.5 https://github.com/jessepearson/mailpoet-contact-form-7
    Master Slider Pro 3.1.3 http://codecanyon.net/item/masterslider-pro/7467925?ref=averta
    Multilingual Tools 1.2 https://wpml.org/download/multilingual-tools/
    ProfitBuilder 2.2.7 http://www.imsuccesscenter.com/
    AffiliateWP – Pushover Notifications 1.0.2 http://affiliatewp.com/addons/pushover-notifications
    SendGrid 1.11.3 https://wordpress.org/plugins/sendgrid-email-delivery-simplified/
    WPML Multilingual CMS 3.7.1 https://wpml.org/
    Social Content Locker 1.1 http://web-settler.com/wordpress-social-locker/
    Standout CSS3 Buttons 0.3.0 http://www.jimmyscode.com/wordpress/standout-css3-buttons/
    TablePress Extension: Responsive Tables 1.4 https://tablepress.org/extensions/responsive-tables/
    TablePress 1.8 https://tablepress.org/
    TinyMCE Advanced 4.6.3 http://www.laptoptips.ca/projects/tinymce-advanced/
    UberMenu 3 – The Ultimate WordPress Mega Menu 3.2.5 http://wpmegamenu.com
    UpdraftPlus – Backup/Restore 2.13.4.21 https://updraftplus.com
    Use Google Libraries 1.6.2.3 http://jasonpenney.net/wordpress-plugins/use-google-libraries/
    Widget Logic 5.8.2 https://wordpress.org/extend/plugins/widget-logic/
    Yoast SEO 4.9 https://yoast.com/wordpress/plugins/seo/#utm_source=wpadmin&utm_medium=plugin&utm_campaign=wpseoplugin
    Clean Up Optimizer 4.0.10 http://beta.tech-banker.com
    Wordpress Social Invitations – Lite 2.1.1 http://wp.timersys.com/wordpress-social-invitations/
    WP Super Cache – Clear all cache 1.4 http://ocaoimh.ie/wp-super-cache/
    WP Super Cache 1.4.9 https://wordpress.org/plugins/wp-super-cache/
    WP Support Plus 8.0.7 https://wordpress.org/plugins/wp-support-plus-responsive-ticket-system-ticket-system/
    WPML CMS Nav 1.4.20 https://wpml.org/
    WPML Media 2.2.0 https://wpml.org/
    WPML Page Builders 1.1.3 https://wpml.org/
    WPML Sticky Links 1.4.1 https://wpml.org/
    WPML String Translation 2.5.4 https://wpml.org/
    WPML Translation Management 2.3.1 https://wpml.org/
    WPML Widgets 1.0.6 http://jeroensormani.com
    MailPoet Newsletters 2.7.10 http://www.mailpoet.com/

    9. Are you using the standard WordPress theme or customized theme?
    customized theme

    10. Which theme do you use ?
    GDF_child is from geodirectory (but the problem occur even, if I switch the theme to twenty fourteen)

    11. Have you modified the core files in any way?
    No

    12. Do you have any custom functions in bp-custom.php?
    Not as I know, but maybe the geodirectory addon “GeoDirectory BuddyPress Integration 1.1.9″

    13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    no build in. version in use is bbPress 2.5.12

    14. Please provide a list of any errors in your server’s log files.
    [23-Jun-2017 03:41:33 UTC] WordPress database error Table ‘worldche_wcimsgd.wp_term_relationships’ doesn’t exist for query SELECT tt.term_id, MAX(p.post_modified_gmt) AS date_gmt, l.country_slug AS country, l.region_slug AS region, l.city_slug AS city FROM ms_1_geodir_post_locations l LEFT JOIN ms_1_geodir_gd_video_detail pd ON pd.post_location_id = l.location_id LEFT JOIN ms_1_posts p ON p.ID = pd.post_id LEFT JOIN wp_term_relationships AS tr ON tr.object_id = p.ID LEFT JOIN wp_term_taxonomy AS tt ON ( tt.term_taxonomy_id = tr.term_taxonomy_id AND tt.taxonomy = ‘gd_videocategory’ ) WHERE pd.post_locations LIKE CONCAT( ‘[‘, l.city_slug, ‘],[‘, l.region_slug , ‘],[‘, l.country_slug , ‘]’ ) AND p.post_type = ‘gd_video’ AND p.post_status = ‘publish’ AND l.location_id IS NOT NULL AND tt.term_id IS NOT NULL GROUP BY CONCAT(tt.term_id, ‘-‘, l.country_slug, ‘-‘, l.region_slug, ‘-‘, l.city_slug) ORDER BY date_gmt DESC made by require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPSEO_Sitemaps->redirect, WPSEO_Sitemaps->build_sitemap, WPSEO_Sitemaps->build_root_map, WPSEO_Sitemaps_Renderer->get_index, apply_filters(‘wpseo_sitemap_index’), WP_Hook->apply_filters, call_user_func_array, geodir_sitemap_index, geodir_sitemap_taxonomies_sitemap_index, geodir_sitemap_get_locations_taxonomies
    [23-Jun-2017 03:41:33 UTC] WordPress database error Table ‘worldche_wcimsgd.wp_term_relationships’ doesn’t exist for query SELECT tt.term_id, MAX(p.post_modified_gmt) AS date_gmt, l.country_slug AS country, l.region_slug AS region, l.city_slug AS city FROM ms_1_geodir_post_locations l LEFT JOIN ms_1_geodir_gd_video_detail pd ON pd.post_location_id = l.location_id LEFT JOIN ms_1_posts p ON p.ID = pd.post_id LEFT JOIN wp_term_relationships AS tr ON tr.object_id = p.ID LEFT JOIN wp_term_taxonomy AS tt ON ( tt.term_taxonomy_id = tr.term_taxonomy_id AND tt.taxonomy = ‘gd_video_tags’ ) WHERE pd.post_locations LIKE CONCAT( ‘[‘, l.city_slug, ‘],[‘, l.region_slug , ‘],[‘, l.country_slug , ‘]’ ) AND p.post_type = ‘gd_video’ AND p.post_status = ‘publish’ AND l.location_id IS NOT NULL AND tt.term_id IS NOT NULL GROUP BY CONCAT(tt.term_id, ‘-‘, l.country_slug, ‘-‘, l.region_slug, ‘-‘, l.city_slug) ORDER BY date_gmt DESC made by require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPSEO_Sitemaps->redirect, WPSEO_Sitemaps->build_sitemap, WPSEO_Sitemaps->build_root_map, WPSEO_Sitemaps_Renderer->get_index, apply_filters(‘wpseo_sitemap_index’), WP_Hook->apply_filters, call_user_func_array, geodir_sitemap_index, geodir_sitemap_taxonomies_sitemap_index, geodir_sitemap_get_locations_taxonomies
    [23-Jun-2017 04:40:47 UTC] WordPress-Datenbank-Fehler You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1 für Abfrage SELECT * FROM ms_1_geodir_invoice WHERE post_id = von require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/GDF_child/geodirectory/listing-success.php’), my_project_updated_email
    [23-Jun-2017 04:40:47 UTC] WordPress-Datenbank-Fehler You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘WHERE post_author = 0’ at line 1 für Abfrage UPDATE ms_1_posts SET vat_id = WHERE post_author = 0 von require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/GDF_child/geodirectory/listing-success.php’), my_project_updated_email
    [23-Jun-2017 06:43:08 UTC] PHP Fatal error: Call to undefined function is_bbpress() in /home/worldcheckin/public_html/wci/wp-content/plugins/widget-logic/widget_logic.php(463) : eval()’d code on line 2

    15. Which company provides your hosting?
    hetzner – I am using a own dedicated server

    16. Is your server running Windows, or if Linux; Apache, nginx or something else?
    Linux

    #265103
    danbp
    Participant

    Hi,

    open your buddypress-nk_NO.po file with a text editor (notepad++ or so) and check you have a plural form for the untranslated string.

    The’re several strings containing “members” with a count, but it will be easy to find if you search for “msgid_plural”.
    At least, you should find something constructed like this:

    #: bp-templates/bp-legacy/buddypress/members/single/groups/invites.php:34
    msgctxt "Group member count"
    msgid "%d member"
    msgid_plural "%d members"
    msgstr[0] "%d medlem"
    msgstr[1] "%d medlemmer"

    Again, note that it is only an example, you may find other strings containing “medlem” that you have eventually to adjust.

    The important thing to control is the existence of “%d” and naturally, the presence of the plural form string in the translation.

    If you still have trouble after controling/repairing/modifying, it could be possible that it is your theme. To ensure, do the same check in your theme translation.

    Other thing to take in account

    I’m not 100% sure, but so far i remember, the norvegian buddypress version is not completely translated.
    Unfortunately, translate.wordpress.org is actually down and it is impossible to access the plugins translations at this time…

    What i expect is that you have an old po file, fully translated, but perhaps not with the most recent changes and updates, which could explain that even if you have plural forms in your translation, they won’t show up in some places.
    For ex. because the plural code changed from %s (in your version) to %d or something like that.
    To avoid this, you can download the most recent pot file and rename it to buddypress-nk_NO.po.
    Then you rename YOUR current version to .pot(with a T), import it to the new file, and adjust or complete the missing strings.

    #264075
    danbp
    Participant

    Hi,

    you need a child theme and a small code modification.

    The code is explained here.

    if ( bp_has_members( bp_ajax_querystring( 'members' ) ) ) is to replace by something like (can be different)
    if ( bp_has_members( 'type=random' ) )

    In a “buddypress” folder of your child theme, you add a copy of this file:
    wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/members-loop.php

    What ever you modify in that file while now be interpreted by BuddyPress. The advantage of this method is that BP can be updated while your modification in the child will always be save and taken in account over the current version.

    You can also search the forum for members-loop to get other information.

    #263916
    mw93
    Participant

    Hello, I’m currently using a plugin to show the activity-stream on my home page. I want that if users place an update it always shows up in the stream. Problem is that if i attach an image, it will not show up. Here is the plugin’s code:

    <?php
    
    /**
     * Plugin Name: BuddyPress Activity ShortCode
     * Description: Embed activity stream in page/post using shortcode
     * Author: BuddyDev
     * Plugin URI: https://buddydev.com/plugins/bp-activity-shortcode/
     * Author URI: https://buddydev.com/
     * Version: 1.0.8
     * License: GPL
     */
    
    // exit if access directly
    if ( ! defined( 'ABSPATH' ) ) {
    	exit;
    }
    
    class BD_Activity_Stream_Shortcodes_Helper {
    
    	private static $instance;
    
    	private function __construct() {
    		$this->register_shortcodes();
    	}
    
    	/*
    	 * Register ShortCode
    	 *
    	 * @example [activity-stream display_comments=threaded|none title=somethimg per_page=something]
    	 */
    	private function register_shortcodes() {
    		add_shortcode( 'activity-stream', array( $this, 'generate_activity_stream' ) );
    	}
    
    	/**
    	 * Get Instance
    	 *
    	 * @return BD_Activity_Stream_Shortcodes_Helper
    	 */
    	public static function get_instance() {
    
    		if ( ! isset( self::$instance ) ) {
    			self::$instance = new self();
    		}
    
    		return self::$instance;
    	}
    
    	public function generate_activity_stream( $atts, $content = null ) {
    
    		//allow to use all those args awesome!
    		$atts = shortcode_atts( array(
    			'title'            => 'Updates van Leden',//title of the section
    			'pagination'       => 1,//show or not
    			'load_more'        => 0,
    			'display_comments' => 'threaded',
    			'include'          => false,     // pass an activity_id or string of IDs comma-separated
    			'exclude'          => false,     // pass an activity_id or string of IDs comma-separated
    			'in'               => false,     // comma-separated list or array of activity IDs among which to search
    			'sort'             => 'DESC',    // sort DESC or ASC
    			'page'             => 1,         // which page to load
    			'per_page'         => 6,         //how many per page
    			'max'              => false,     // max number to return
    			'count_total'      => true,
    
    			// Scope - pre-built activity filters for a user (friends/groups/favorites/mentions)
    			'scope'            => false,
    
    			// Filtering
    			'user_id'          => false,    // user_id to filter on
    			'object'           => false,    // object to filter on e.g. groups, profile, status, friends
    			'action'           => activity_update,    // action to filter on e.g. activity_update, new_forum_post, profile_updated
    			'primary_id'       => false,    // object ID to filter on e.g. a group_id or forum_id or blog_id etc.
    			'secondary_id'     => false,    // secondary object ID to filter on e.g. a post_id
    
    			// Searching
    			'search_terms'     => false,         // specify terms to search on
    			'use_compat'       => bp_use_theme_compat_with_current_theme(),
    			'allow_posting'    => false,    //experimental, some of the themes may not support it.
    			'container_class'  => 'activity',//default container,
    			'hide_on_activity' => 1,//hide on user and group activity pages
    		), $atts );
    
    		//hide on user activity, activity directory and group activity
    		if ( $atts['hide_on_activity'] && ( function_exists( 'bp_is_activity_component' ) && bp_is_activity_component() ||
    		       function_exists( 'bp_is_group_home' ) && bp_is_group_home() ) ) {
    			return '';
    		}
    
    		//start buffering
    		ob_start();
    		?>
    
    		<?php if ( $atts['use_compat'] ) : ?>
    			<div id="buddypress">
    		<?php endif; ?>
    
    			<?php if ( $atts['title'] ) : ?>
    				<h3 class="activity-shortcode-title"><?php echo $atts['title']; ?></h3><hr color="#000000">
    			<?php endif; ?>
    
    			<?php do_action( 'bp_before_activity_loop' ); ?>
    
    			<?php if ( $atts['allow_posting'] && is_user_logged_in() ) : ?>
    				<?php bp_locate_template( array( 'activity/post-form.php' ), true ); ?>
    			<?php endif; ?>
    
    			<?php if ( bp_has_activities( $atts ) ) : ?>
    
    				<div class="<?php echo esc_attr( $atts['container_class'] ); ?> <?php if ( ! $atts['display_comments'] ) : ?> hide-activity-comments<?php endif; ?> shortcode-activity-stream">
    
    					<?php if ( empty( $_POST['page'] ) ) : ?>
    						<ul id="activity-stream" class="activity-list item-list">
    					<?php endif; ?>
    
    							<?php while ( bp_activities() ) : bp_the_activity(); ?>
    								<?php bp_get_template_part( 'activity/entry' ); ?>
    							<?php endwhile; ?>
    
    							<?php if ( $atts['load_more'] && bp_activity_has_more_items() ) : ?>
    								<li class="load-more">
    									<a href="<?php bp_activity_load_more_link() ?>"><?php _e( 'Load More', 'buddypress' ); ?></a>
    								</li>
    							<?php endif; ?>
    
    					<?php if ( empty( $_POST['page'] ) ) : ?>
    						</ul>
    					<?php endif; ?>
    
    					<?php if ( $atts['pagination'] && ! $atts['load_more'] ) : ?>
    						<div class="pagination">
    							<div class="pag-count"><?php bp_activity_pagination_count(); ?></div>
    							<div class="pagination-links"><?php bp_activity_pagination_links(); ?></div>
    						</div>
    					<?php endif; ?>
    
    				</div>
    
    			<?php else : ?>
    				<div id="message" class="info">
    					<p><?php _e( 'Sorry, there was no activity found. Please try a different filter.', 'buddypress' ); ?></p>
    				</div>
    			<?php endif; ?>
    
    			<?php do_action( 'bp_after_activity_loop' ); ?>
    
    			<form action="" name="activity-loop-form" id="activity-loop-form" method="post">
    				<?php wp_nonce_field( 'activity_filter', '_wpnonce_activity_filter' ); ?>
    			</form>
    
    		<?php if ( $atts['use_compat'] ) : ?>
    			</div>
    		<?php endif; ?>
    
    		<?php
    
    		$output = ob_get_clean();
    
    		return $output;
    	}
    }
    BD_Activity_Stream_Shortcodes_Helper::get_instance();
    
    Slava Abakumov
    Moderator

    Here is related Codex page.
    You will need to change in your template something like this:

    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?>

    to this:

    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&per_page=10' ) ) : ?>

    Check your theme /buddypress/activity/activity-loop.php file. If you don’t have it, just copy this file (preserving directories structure) from
    /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/activity-loop.php

    #258619
    jowyds
    Participant

    hello danbp, thanks for your reply.

    I have tried the suggestion to use define('WP_DEBUG', true); in conjuction with define('WP_DEBUG_LOG', true); with a twenty theme. It works fine when buddypress is not activated. No error or logfile whatsover. Then after I tried to activate buddypress, and test again. The media library still cannot load out. I have tried to check for error log and I can’t seems to find any.

    Nevertheless I found the culprit can be my bp-custom.php in which I put it just under /wp-content/plugins/[here]

    if I remove the file and everything seems works fine again with buddypress activated.

    This is the content for my bp-custom.php

    
    <?php
    // hacks and mods will go here
    
    /**
     * Make a site Private, works with/Without BuddyPress
     * 
     * @author sbrajesh
     * @global string $pagenow
     * 
     */
     
     /*
    function buddydev_private_site() {
        
        //first exclude the wp-login.php
        //register
        //activate
        global $pagenow;
        
        //do not restrict logged in users
        if( is_user_logged_in() ) {
            return ;
        }
        //if we are here, the user is not logged in, so let us check for exclusion
        //we selectively exclude pages from the list
        
        //are we on login page?
        if( $pagenow == 'wp-login.php' ) {
            return ;
        }
        
        //let us exclude the home page
        if( is_front_page() ) {
            return ;
        }
        
        $exclude_pages = array( 'register', 'activate', 'excelportfolio' );//add the slugs here
        
        //is it one of the excluded pages, if yes, we just return and don't care
        if( is_page( $exclude_pages ) ) {
            return ;
        }
        
        $redirect_url = wp_login_url( site_url('/') );//get login url,
        
        wp_safe_redirect( $redirect_url );
        exit( 0 );
    }
    
    */
     
    //add_action( 'template_redirect', 'buddydev_private_site', 0 );
    
    ?>
    
    <style type="text/css">
    
    #wp-admin-bar-bp-login {
    	display:none; /* JOWY: hide login link for buddypress. */
    }
    
    #wp-admin-bar-bp-register {
    	display:none; /* JOWY: hide register link for buddypress. */
    }
    
    #adminloginform {
    	color: #ffffff; /* JOWY: text color on form. */
    }
    
    #wpadminbar {
    	opacity: 0.7; /* JOWY: Opacity for wpadminbar. */
    }
    
    </style>
    

    what can possible went wrong?

    #258065
    jgilbert1990
    Participant

    Hope everybody is doing well.
    Im having trouble using a plugin. The plugin is by likebtn.com and allows me to sort activity by most liked content. However it requires modifying a bit of code and im having quite the difficult time. I have tried pasting this line of code into a few different files. Currently im trying to paste it into ‘public_html/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php’. When i try to include it into the PHP file the activity page breaks and a syntax error appears saying there was an unexpected ‘<‘ at the top of the new code. Here is where i pasted the code and the instructions provided by likebtn.com

    function bp_has_activities( $args = '' ) {
    	global $activities_template;
    
    	// Get BuddyPress.
    	$bp = buddypress();
    
    	/*
    	 * Smart Defaults.
    	 */
             //Filtering by Likes.Custom Code.
             <?php query_posts($query_string . '&meta_key=Likes&orderby=meta_value&meta_type=numeric&order=DESC'); ?>
    <?php /* Start the Loop */ ?>
    <?php while ( have_posts() ) : the_post(); ?>
        <?php get_template_part( 'content', get_post_format() ); ?>
    <?php endwhile; ?>
    
    	// User filtering.
    	$user_id = bp_displayed_user_id()
    		? bp_displayed_user_id()
    		: false;

    https://likebtn.com/en/wordpress-like-button-plugin#sort_posts_by_likes

    #257597
    danbp
    Participant

    Don’t hack core files. (never !) Which language do you use ?

    Where have you done this ?
    I’ve took a look at the files and found out that the working ones are using __( "Foo %s", "buddypress" ) and the wrong ones are using _x( "Foo %s", "Blah blah blah", "buddypress" ).

    Actually all BP strings are working. If you need custom translation, you have to do that in po/mo and to use preferably the original strings. For example, if you build a template and want to use the notification count on it, you copy the original string to your work. If you don’t do that, you nedd 2 po/mo ! One for BP and one for your custom work. Which is certainly not the best and easiest solution.

    The notification count is defined in wp-content/plugins/buddypress/bp-notifications/classes/class-bp-notification-component.php

    The counter itself is inside a span and is defined separately.

    /* translators: %s: Unread notification count for the current user */
    _x( 'Notifications %s', 'Profile screen nav', 'buddypress' ),
    sprintf(
    	'<span class="%s">%s</span>',

    The bla bla bla part you mention is a comment for translators who indicates him the context. This comment appears in the pot file like: Notification %s [Profile screen nav]

    That’s BP’s default coding. You haven’t to modify this. Use it as is.

    If you have difficulty to translate such a string, you have to check your theme or any custom function you added (by hand or another plugin).

    The corresponding custom string should reflect the original one as gettext function wouldn’t translate a string which is not identic.

    __( "Foo %s", "buddypress" ) and _x( "Foo %s", "Blah blah blah", "buddypress" ) are both working, and do technicaly the same thing (foo = something) which let you modify “foo” in both case, but as the original string is _x( "Foo %s", "Blah blah blah", "buddypress" ), you couldn’t replace it with __( "Foo %s", "buddypress" ). It is the translation prefix (_x or __) which is the important thing here.

    Hope to be clear. And you’re right, unfortunately your changes will be overwriten at next BP update as you hacked core files.

Viewing 25 results - 1 through 25 (of 49 total)
Skip to toolbar