Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'events template'

Viewing 25 results - 1 through 25 (of 101 total)
  • Author
    Search Results
  • #335004
    Sasan
    Participant

    Hello,

    I’ve encountered an issue with canonical redirects when using BuddyPress on a site that also has WPML installed. It seems that the redirect_canonical() function is not being correctly executed during the normal page load process for BuddyPress pages. As a result, URLs without www are not properly redirecting to the correct www version.

    To temporarily resolve the issue, I manually called the redirect_canonical() function within the template_redirect hook, which fixed the problem. However, it appears that there is a bug or conflict within BuddyPress that prevents this function from being automatically executed as expected.

    Please note that the site also uses WPML, which may or may not be contributing to the issue. However, the problem persisted even when focusing on BuddyPress URLs.

    Please investigate this issue, as other users with similar setups may also be affected.

    Code used for the temporary fix:
    /////////////////////////////////
    add_action(‘template_redirect’, function() {
    if (!is_admin()) {
    $redirect_url = redirect_canonical();
    if ($redirect_url) {
    wp_redirect($redirect_url, 301);
    exit;
    }
    }
    });
    /////////////////////////////////
    Thank you for your attention to this matter.

    Best regards,

    #326402
    Mathieu Viet
    Moderator

    Hi @ok2net @muhittinsahilli & @johnjamesjacoby šŸ˜‰

    Thanks a lot for your feedbacks šŸ˜. Very interesting ideas!! I’ll add the « spam protectionĀ Ā» one I received on Twitter to the list.

    Just like John who gave the right example as a Project Lead, I’ll share my ideas 😁.

    A first category of ideas is about getting more hands to help us build great things:
    – A BuddyPress annual meeting like a BuddyCamp but online to welcome everyone on earth: a « World-BuddyCampĀ Ā»
    – As BuddyPress is more than just a plugin, we should probably have more « officialĀ Ā» teams to compliment the BP Core one: Support, Theme, Docs, REST API, Marketing (?), …
    – The BuddyPress.org network to host developer/contributors docs & Core development updates.
    – A great BP Standalone theme for the BuddyPress.org site as well as a replacement for the BP Default theme.
    – Providing recommanded Addons to help new users choose the right BP plugins for their need.

    ƀ second category of ideas is about code:
    – making BP Rewrites the default URL parser,
    – going even more granular than we are, moving optional components as BuddyPress add-ons: this would probably help us to improve each feature and Core/Members with the basic features a user can expect from a community feature software.
    – Blocks to standardize ways to share media/rich tools into activity streams, private conversations and why not Template pack & themes.
    – Of course BP Attachments, user generated media to share with the BP community as well as giving WordPress Admins a new source for their editorial content.
    – Private conversations revamped looking more like private chats / slack exploring WebRTC or Server-Sent Events.

    And finally I invite @dcavins, @espellcaste, @boonebgorges, @djpaul, @r-a-y, @mercime and all the members of the team to follow @johnjamesjacoby example! Let’s all share what we think BuddyPress is missing šŸ˜‡

    dugost
    Participant

    I have BP v.9.1.1 installed under WP 5.8.2 and the site in progress is using a subdomain with its directory at the root. The directory is named as per the subdomain (i.e. subdomain.domain.tld). Unfortunately, I’m unable to share the URL.

    I’ve been wrestling with this issue for a while now. When logged in as the admin and viewing the Members Directory, the bp-nouveau-css styles (…/buddypress.min.css?ver=9.1.1) load just fine but they won’t load when logged out. This is happening specifically with an Avada child theme. I have reached out to Avada support but I’m not holding my breath for a solution from them.

    I cloned the site and began by activating the Twenty Twenty One. Like the original site, bp-nouveau-css loaded just fine when logged in or out. This was also the case for Twenty Twenty One child or the Avada parent themes. However, activating the Avada child theme prevents that stylesheet from loading.

    In my Avada child theme, I’ve only added the buddypress/members/ directories so I could make some tweaks to the listings and profile pages. The child theme’s style.css relies on the Nouveau template CSS in the BP plugin directory. With its styles missing, the page falls apart.

    I also have some custom functions in plugins/bp-custom.php but none of those deal with stylesheets.

    I’ve also tried placing the CSS folder from /buddypress/bp-templates/bp-nouveau/ in /avada-child-theme/ as a test. When logged in, bp-nouveau-css loaded from the child theme. When logged out, other BP styles were loaded from the plugin directory, not the child theme, and it still refused to load bp-nouveau-css.

    Can I add a function somewhere to enqueue the styles I need since the child theme won’t do it on its own?

    I’d actually like to add a function to only load BP’s CSS and JS where necessary since only a couple of pages use BP. I’ve found this SERT Media article but comments suggest the code won’t work with Nouveau.

    I’d greatly appreciate any help with this issue. Cheers.

    pooriaarab
    Participant

    Hi,

    Using

    function profile_tab_event() {
        global $bp;
    
        bp_core_new_nav_item( array( 
              'name' => 'Events', 
              'slug' => 'event', 
              'screen_function' => 'event_screen', 
              'show_for_displayed_user' => false,
              'position' => 70,
              'parent_url'      => bp_loggedin_user_domain() . '/event/',
              'parent_slug'     => $bp->profile->slug,
              'default_subnav_slug' => 'event'
        ) );
    }
    add_action( 'bp_setup_nav', 'profile_tab_event' );
    
    function event_screen() {
      
      // Add title and content here - last is to call the members plugin.php template.
      add_action( 'bp_template_title', 'event_title' );
      add_action( 'bp_template_content', 'event_content' );
      bp_core_load_template( 'buddypress/members/single/plugins' );
    }
    function event_title() {
      echo 'Events';
    }
    
    function event_content() { 
      echo 'Content';
    }

    I created a new tab for users. But how can this be limited to specific user types? Different user types see different tab and/or different content in the tab?

    I suppose it could use this code:

     $member_type = bp_get_member_type( bp_displayed_user_id() );
                    if ( $member_type == 'userA' ) {
    

    Though not sure how to apply it.

    Any suggestions would help.

    using buddyboss theme

    globsticks
    Participant

    Hello,

    is is possible to customize parent theme’s buddypress folder into child theme and edit the templates in child theme to send customized notifications to users when these events happen:

    a. a new account has been created
    b. a post from user moves up to a higher voting threshold
    c. a user gets a new voting score

    Āæis there any limitation to get the plugin not to work this way?

    thank you!

    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

    #308402
    Jan
    Participant

    I can’t enter in my profile.. on http://www.dovadoapp.com

    1. 5.2.3

    2. directory

    3. subdirectory

    4. n/d

    5. Yes. buddypress worked well 1 week ago

    6. 5.0.0

    7. 4.9

    8. No

    9. personalised

    10. Flatsome

    11. I’ve edited buddypress template but after that i deletet and reinstalled.

    12. No

    13.

    14. no errors

    15. siteground

    16. I don’t know

    17. Buddypress Legacy

    18. no. just i can’t enter in my profile

    19. events manager linked with buddypress

    I can’t deacivate plugin or templates because our website is live and full of events. I am afraid that if i change something m website can be worsen. 1 week ago everything worked!

    Thanks

    #307478
    Babak Fakhamzadeh
    Participant

    I looked at the code for the plugin ‘Events Manager’, and managed to put together the following which worked for me:

        function setup_group_nav(){
        	global $bp;	
        	/* Add some group subnav items */
        	$user_access = false;
        	$group_link = '';
        	if( bp_is_active('groups') && !empty($bp->groups->current_group) ){
        		$group_link = $bp->root_domain . '/' . bp_get_groups_root_slug() . '/' . $bp->groups->current_group->slug . '/';
        		$user_access = $bp->groups->current_group->user_has_access;
        		bp_core_new_subnav_item( array( 
        			'name' => __( 'Custom', 'custom'),
        			'slug' => 'custom', 
        			'parent_url' => $group_link, 
        			'parent_slug' => $bp->groups->current_group->slug,
        			'screen_function' => 'bp_group_custom', 
        			'position' => 50, 
        			'user_has_access' => $user_access, 
        			'item_css_id' => 'custom' 
        		));
        	}
        }
        add_action( 'bp_init', 'setup_group_nav' );
        
        function bp_group_custom() {
        	add_action('bp_template_title', 'my_new_group_show_screen_title');
        	add_action('bp_template_content', 'my_new_group_show_screen_content');
        	
        	$templates = array('groups/single/plugins.php', 'plugin-template.php');
        	if (strstr(locate_template($templates), 'groups/single/plugins.php')) {
        		bp_core_load_template(apply_filters('bp_core_template_plugin', 'groups/single/plugins'));
        	} else {
        		bp_core_load_template(apply_filters('bp_core_template_plugin', 'plugin-template'));
        	}
        	
        }
        	
        function my_new_group_show_screen_title() {
        	echo 'New Tab Title';
        }
        	
        function my_new_group_show_screen_content() {
        	echo 'New tab page content';
        	
        }
    
    michaeljcheney21
    Participant

    Ive tried multiple times with different usernames and emails but the registration page is not working;

    Register

    1. Which version of WordPress are you running?

    WordPress 5.2.2

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

    no, on the root

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

    root

    4. Did you upgrade from a previous version of WordPress? If so, from which version?

    no

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.

    yes

    6. Which version of BP are you running?

    Version 4.4.0

    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?

    Akismet Anti-Spam
    Activate | Delete
    Used by millions, Akismet is quite possibly the best way in the world to protect your blog from spam. It keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key.

    Version 4.1.2 | By Automattic | View details
    Select bbPress
    bbPress
    Deactivate | Settings | About
    bbPress is forum software with a twist from the creators of WordPress.

    Version 2.5.14 | By The bbPress Community | View details
    Select BuddyPress
    BuddyPress
    Deactivate | Settings | Hello, BuddyPress!
    BuddyPress adds community features to WordPress. Member Profiles, Activity Streams, Direct Messaging, Notifications, and more!

    Version 4.4.0 | By The BuddyPress Community | View details
    Select Contact Form 7
    Contact Form 7
    Settings | Deactivate
    Just another contact form plugin. Simple but flexible.

    Version 5.1.4 | By Takayuki Miyoshi | View details
    Select Envato Market
    Envato Market
    Deactivate
    WordPress Theme & Plugin management for the Envato Market.

    Version 2.0.1 | By Envato | Visit plugin site
    Select Featured Image from URL
    Featured Image from URL
    Activate | Delete
    Use an external image as Featured Image of your post/page/custom post type (WooCommerce). Includes Auto Set (External Post), Product Gallery, Social Tags and more.

    Version 2.6.0 | By Marcel Jacques Machado | View details
    Select Google Captcha (reCAPTCHA) by BestWebSoft
    Google Captcha (reCAPTCHA) by BestWebSoft
    Settings | Deactivate
    Protect WordPress website forms from spam entries with Google Captcha (reCaptcha).

    Version 1.51 | By BestWebSoft | View details | Settings | FAQ | Support
    Select Hello Dolly
    Hello Dolly
    Activate | Delete
    This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Louis Armstrong: Hello, Dolly. When activated you will randomly see a lyric from Hello, Dolly in the upper right of your admin screen on every page.

    Version 1.7.2 | By Matt Mullenweg | View details
    Select Leadpages Connector
    Leadpages Connector
    Deactivate
    Connect your Leadpages account to your WordPress site to import Leadpages and Leadboxes

    Version 2.1.6.21 | By Leadpages | Visit plugin site
    Select OptimizePress
    OptimizePress
    Deactivate
    OptimizePress is the essential plugin for marketers. Create squeeze pages, sales letters and much more with ease.

    Version 2.5.21 | By OptimizePress | Visit plugin site
    Select Post Views Counter
    Post Views Counter
    Settings | Deactivate
    Post Views Counter allows you to display how many times a post, page or custom post type had been viewed in a simple, fast and reliable way.

    Version 1.3.1 | By Digital Factory | View details | Support
    Select Socialize Plugin
    Socialize Plugin
    Deactivate
    A required plugin for Socialize theme you purchased from ThemeForest. It includes a number of features that you can still use if you switch to another theme.

    Version 3.10 | By GhostPool
    Select The Events Calendar
    The Events Calendar
    Deactivate | Settings | Calendar
    The Events Calendar is a carefully crafted, extensible plugin that lets you easily share your events. Beautiful. Solid. Awesome.

    Version 4.9.7 | By Modern Tribe, Inc. | View details | Support | View All Add-Ons
    Select Theia Sticky Sidebar
    Theia Sticky Sidebar
    Deactivate
    Glues your website’s sidebars, making them permanently visible while scrolling.

    Version 1.8.0 | By WeCodePixels | Visit plugin site
    Select Visual Sidebar Editor
    Visual Sidebar Editor
    Deactivate
    An addon that allow you to use WPBakery Visual Composer or wordress editor to override sidebars

    Version 1.2.5 | By ERROPiX | Visit plugin site
    Select WishList Memberā„¢ 3.0
    WishList Memberā„¢ 3.0
    Deactivate
    WishList Memberā„¢ 3.0 is the most comprehensive membership plugin for WordPress users. It allows you to create multiple membership levels, protect desired content and much more. For more WordPress tools please visit the WishList Products Blog. Requires at least WordPress 4.0 and PHP 5.4

    Version 3.0.6282 | By WishList Products | Visit plugin site
    Select WordPress Automatic Plugin
    Wordpress Automatic Plugin
    Deactivate
    WordPress Automatic posts quality articles, Amazon products, Clickbank products, Youtube videos, eBay items, Flicker images, RSS feeds posts on auto-pilot and much more.

    Version 2.3.3 | By Miled | View details
    Select WPBakery Page Builder
    WPBakery Page Builder
    Settings | Deactivate
    Drag and drop page builder for WordPress. Take full control over your WordPress site, build any layout you can imagine – no programming knowledge required.

    Version 6.0.5 | By Michael M – WPBakery.com | Visit plugin site
    Select Yoast SEO
    Yoast SEO
    FAQ | Premium Support | Settings | Deactivate
    The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.

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

    Socialize Child Theme

    10. Which theme do you use ?

    Socialize Child Theme

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

    no

    12. Do you have any custom functions in bp-custom.php?

    no

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

    built in i think

    14. Please provide a list of any errors in your server’s log files. https://codex.wordpress.org/Debugging_in_WordPress

    dont think i have these – just cant get registered as a pretend user on the registration page

    15. Which company provides your hosting?

    D9

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

    Apache i think

    17. Which BP Theme are you using?

    dont know

    18. Have you overloaded any BuddyPress template files.

    no

    19. Any other site customisations that might have a bearing on the issue?

    no

    zaheer01
    Participant

    I have 3 sub-navs. What i want to achieve is something like drop-down, I have a sub-nav as events I want that sub-nav to be parent and other to be child like drop-down menus.
    Events
    — Create Events
    — Events List
    — Events Calendar
    I am using below code but nothing showing

    function bpem_events_list_tab() {
    global $bp;
    if (isset($bp->groups->current_group->slug)) {

    bp_core_new_subnav_item(array(

    ‘name’ => ‘Events List’,
    ‘slug’ => ‘events-list’,
    ‘parent_slug’ => $bp->groups->current_group->slug.’/events/’,
    ‘parent_url’ => bp_get_group_permalink($bp->groups->current_group).’events/’,
    ‘screen_function’ => ‘my_new_group_show_screen_list’,
    ‘position’ => 80));

    }

    }

    add_action(‘wp’, ‘bpem_events_list_tab’);

    function my_new_group_show_screen_list() {
    add_action(‘bp_template_title’, ‘bpem_create_event_title’);
    add_action(‘bp_template_content’, ‘bpem_group_show_screen_content_list’);

    $templates = array(‘groups/single/plugins.php’, ‘plugin-template.php’);

    if (strstr(locate_template($templates), ‘groups/single/plugins.php’)) {

    bp_core_load_template(apply_filters(‘bp_core_template_plugin’, ‘groups/single/plugins’));

    } else {

    bp_core_load_template(apply_filters(‘bp_core_template_plugin’, ‘plugin-template’));

    }

    }

    function bpem_create_event_title() {
    echo ‘Event List’;
    }

    function bpem_group_show_screen_content_list() {
    echo “Hello World”;
    }

    #306580
    wpyoji
    Participant

    Nice to meet you.
    Thank you for the great plugin.

    I use Events Manager plugin

    Error in group event page(https://mydomain.com/member/membername/groups/group-events/)

    WooCommerce 3.6.4
    PHP 7.2.17
    Events Manager5.9.5
    BuddyPress 4.3.0

    ===============================
    Fatal error: Uncaught Error: Call to a member function start() on null in /mydomain.com/wp-content/plugins/events-manager/templates/buddypress/my-group-events.php:59 Stack trace: #0 /mydomain.com/wp-content/plugins/events-manager/events-manager.php(650): include() #1 /mydomain.com/wp-content/plugins/events-manager/buddypress/screens/my-group-events.php(24): em_locate_template(ā€˜buddypress/my-g…’, true) #2 /mydomain.com/wp-includes/class-wp-hook.php(286): bp_em_my_group_events_content(ā€) #3 /mydomain.com/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(ā€, Array) #4 /mydomain.com/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #5 /mydomain.com/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/plugins.php(58): do_action(ā€˜bp_template_con…’) #6 /mydomain.com/wp-content/plugins/events-manager/templates/buddypress/my-group-events.php on line 59
    ===============================

    Please tell me the solution

    Nahum
    Participant

    Trying to automate the bp_setup_nav function to create the profile nav items and screens for any public custom post types available and have had some success to the point of getting the right templates to show. I have it working if I create bp_template_content function for each template and call them respectively via bp_core_new_subnav_item screen_function…but I’ve been trying variations of the following to further automize but no luck…just need figuring out of getting the corresponding template. Am I goin in the right direction at least?

    /*/////////////////////////////////////////////*/
    /* Setup Nav */
    /*/////////////////////////////////////////////*/
    add_action('bp_setup_nav', 'mdlr_bp_user_menus',15);
    
    function mdlr_bp_user_menus() {
    
    global $bp, $wpdb;
    
    $args = array(
       'public'   => true,
       '_builtin' => false
    );
    
    $output = 'objects'; // names or objects, note names is the default
    $operator = 'and'; // 'and' or 'or'
    
    $post_types = get_post_types( $args, $output, $operator ); 
    
    foreach ( $post_types  as $post_type ) {
    
          bp_core_new_nav_item(
          array(
          'name' => $post_type->labels->name,
          'slug' =>  strtolower($post_type->labels->name), 
          'position' => 10, 
          'screen_function' => 'mdlr_bp_submenu_redirect_' .$post_type->name,
                  
          )
          );
        
    
      } //foreach posttype
    
    }
    
    /*/////////////////////////////////////////////*/
    /* Setup Sub Nav Menus */
    /*/////////////////////////////////////////////*/
    
    add_action('bp_setup_nav', 'mb_bp_user_submenus',10);
    
    function mb_bp_user_submenus() {
    global $bp, $wpdb;
    
    $userid = bp_displayed_user_id();
    
    //get the public post types //////////////////////////////////////
    $args = array(
       'public'   => true,
       '_builtin' => false
    );
    
    $output = 'objects'; // names or objects, note names is the default
    $operator = 'and'; // 'and' or 'or'
    
    $post_types = get_post_types( $args, $output, $operator ); 
    //get the public post types //////////////////////////////////////
    foreach ( $post_types  as $post_type ) {
    
    $parent_slug = strtolower($post_type->labels->name);
    
    if(bp_is_user()) { //needed this check for some reason but I now forgot what! derp
    
     bp_core_new_subnav_item( array( 
     'name' => $post_type->labels->name,
     'slug' => 'added', 
     'parent_url' => $bp->displayed_user->domain . $parent_slug.'/', 
     'parent_slug' => $parent_slug, 
     'position' => 20,
     'screen_function' => mb_author_post($post_type->name), //the function is declared below
        ) 
      ); 
    
    } //bpisuser
    
    if(bp_is_user()) {  //again needed this check for some reason but I now forgot what! 
    
       bp_core_new_subnav_item( array( 
      'name' => $favorite_name,
      'slug' => 'favorites', 
       'parent_url' => $bp->displayed_user->domain . $parent_slug.'/', 
      'parent_slug' => $parent_slug, 
      'position' =>30,
      'screen_function' => 'mb_author_'.$post_type->name.'_likes' //the function is declared below
        ) 
      ); 
    
     }//bpisuser
    
    }//foreach
      
    }
    
    //get post counts per cpt
    
    function mdlr_count_cpt_post( $type ) {
      global $wpdb;
      if ( empty( $user_id ) )
      $user_id = bp_displayed_user_id();
      $posttype = $type;
      return $wpdb->get_var( "SELECT COUNT(ID) FROM $wpdb->posts WHERE post_author = $user_id AND post_type = '$posttype'  AND post_status = 'publish'" );
    }
    
    //default subnavs don't work with post pagination so we redirect to the sub nav screen where pagination does work
    
    function mdlr_bp_submenu_redirect_product() {
    global $bp;
    bp_core_redirect($bp->displayed_user->domain .'products/added' );
    }
    
    function mdlr_bp_submenu_redirect_event() {
    global $bp;
    bp_core_redirect($bp->displayed_user->domain .'events/added' );
    }
    
    /*/////////////////////////////////////////////*/
    /* Setup Profile Screens */
    /*/////////////////////////////////////////////*/
    //here's where I get in to some trouble
    
    function mb_author_post($posttype) {
      //add_action( 'bp_template_content', function() { mdlr_get_bp_loop('product'); } ); 
      add_action( 'bp_template_content', function() { mdlr_get_bp_loop($posttype); } ); 
      bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );
    }
    
    #303310
    rsmithgs
    Participant

    Hello,

    I’m trying to add a spinner gif to the webpage whenever someone clicks a button that uses AJAX to show them that their request is being worked on. I wish to use the Nouveau theme.

    I’m running WordPress 5.1 and BuddyPress 4.2.0

    There hasn’t been much on this topic except for here (which is now 4.75yrs old): Feature Request AJAX Loading Spinner

    To start, I’m trying to get things to work with the messaging section.

    I added <img class='ajax-gif' src='http://localhost:8080/WEBSITE/wp-content/themes/THEME/classicloader30px.gif'/>

    to a file I made in my theme file for the messages template:
    wp-content/themes/THEME/buddypress/common/js-templates/messages/index.php

    It was added underneath each input type=button and input type=submit.

    Next I added this css:

    .ajax-gif{
    	display:none;
    }
    
    .loading + .ajax-gif, .loading > .ajax-gif{
    	display:block;
    }

    My only problem now is that these buttons do not apply the “loading” class to the buttons anymore (like they do in Legacy).
    I found that you can add and remove the classes during the function that is triggered on the click by going to /wp-content/plugins/buddypress/bp-templates/bp-nouveau/js/buddypress-messages.js.
    Unfortunately, I don’t believe this is a file meant to be able to be changed in custom files.

    I added:
    $('#bp-messages-send').addClass('loading'); to sendMessage: function(),
    $( '#send_reply_button' ).addClass( 'loading' ); to sendReply: function(),
    and $( '#send_reply_button' ).removeClass( 'loading' ); to replySent and replyError.

    Any help in figuring out how to make this not be lost on a new BuddyPress update would be extremely helpful.

    I’m also trying to figure out how to target any other BuddyPress AJAX events. I’m sure I can do the same thing with the Members Directory, but will probably need to do the same thing with figuring out what function is called when someone requests a friendship/cancel a friendship etc.

    #282292
    shanebp
    Moderator

    It looks like something in your install is removing the main nav from profiles.
    ( The top-bar dropdown shows the nav okay )
    The template parts load if you go directly to a ‘tab’, for example:
    https://www.tacomamountainrescue.org/members/admin/profile/

    I suspect the culprit is some custom code, perhaps improperly setting a default component profile tab in your wp-config?

    btw – deactivate the Events plugin until you get everything else solved.

    willnv
    Participant

    Hello,
    When i do any ajax requests on my site, i get an error in the debug log:

    [22-Aug-2018 11:53:33 UTC] PHP Fatal error: Using $this when not in object context in /home/cliniima/public_html/intranetnova/wp-content/plugins/buddypress/bp-templates/bp-nouveau/buddypress-functions.php on line 99

    Where has this code:

    if ( function_exists( 'tests_add_filter' ) ) {
    	require $this->includes_dir . 'ajax.php';
    
    // Load AJAX code only on AJAX requests.
    } else {
    	add_action( 'admin_init', function() {
    		if ( defined( 'DOING_AJAX' ) && true === DOING_AJAX ) {
    			require $this->includes_dir . 'ajax.php'; // Line 99
    		}
    	}, 0 );
    }

    And i didn’t do any mods in the core files, just happened to download through WP plugin install page. It prevents ajax from back and front end to work.

    Can someone help out? Thanks.

    #275742
    kwahlquist
    Participant

    Hi, I recently updated my wordpress/buddypress/plugins all to the most recent versions. Everything seems to be working correctly, with the exception of my buddypress plugins on the profile template tabs. Plugins like Events Manager (and all other plugins) are showing on the groups template, and load their respective content when clicked. However when I navigate to the profile template, only buddypress core tabs load their content, and all plugin tabs are visible, but when clicked, they do not load any content.

    This issue does happen with Twenty Seventeen Theme, as well as the Boss theme I am using.

    Please help!

    offworld21
    Participant

    Hi,

    Is it possible to change the text of the Register Button from ‘Register’ to ‘Join us’? I’d also like to have the destination when the button is clicked to be a page with an AgileCRM form form, instead of either the BuddyPress or PMPro form (both of which I’m using). The reason for this is that I initially need new sign-ups to go straight into AgileCRM for manual approval, after which their user account will be manually created on WordPress by an admin, and the new user details emailed.

    Ideally I’d like new users to complete sign-up and be manually approved, whilst at the same time their details being sent to AgileCRM and a new contact created. I’ve tried this but even though I’ve set new sign-ups for manual approval, a new account is created (albeit with limited access), and they are immediately logged into the site. I cannot see a way to change this.

    I also tried using Zapier to pull new users into AgileCRM from WordPress but that too didn’t seem to work, event though when going through the testing stage it created a record in AgileCRM.

    I’m using PMPro because the client is looking to take online payments for sign-ups in the future, and want to retain the functionality and option to use the PMPro register page in the future.

    Current set-up:
    WordPress – 4.9.7
    Theme: Boss Child Theme
    Plugins:
    Agile CRM – v1.1
    All-in-One WP Migration – v6.72
    bbPress – v2.5.14
    BuddyBoss One Click Installer – v1.0.6
    BuddyBoss Products Updater – v1.0.2
    BuddyPress – v3.1.0
    BuddyPress Docs – v2.1.0
    BuddyPress Follow – v1.2.2
    BuddyPress Global Search – v1.1.9
    Hide Admin Bar From Non-admins – v1.0
    Import Users from CSV – v1.0.0
    Page Builder by SiteOrigin – v2.7.3
    Paid Memberships Pro – v1.9.5.3
    Paid Memberships Pro – Add Member Admin – v.4
    Paid Memberships Pro – Advanced Levels Page Shortcode Add On – v.2.4
    Paid Memberships Pro – Approvals Add On – v1.0.4
    Paid Memberships Pro – bbPress Add On – v1.5.5
    Paid Memberships Pro – BuddyPress Add On – v1.1.1
    Paid Memberships Pro – Email Templates Add On – v0.7.1
    Paid Memberships Pro – Membership Manager Role Add On – v.3.1
    Regenerate Thumbnails – v3.0.2
    SiteOrigin Widgets Bundle – 1.12.1
    The Events Calendar – v4.6.20.1

    Please let me know if you need any further information.

    Thanks in advance.

    #273300
    cyberjulie
    Participant

    WordPress : 4.9.6 as a directory
    Theme : Kleo last update
    Plugins :
    Activity Reactions For Buddypress Version 1.0.22
    Akismet Anti-Spam Version 4.0.3
    bbPress Version 2.5.14
    bbPress auto subscribe for new topics and replies Version 1.0
    BuddyPress Version 3.0.0
    Contact Form 7 Version 5.0.2
    Essential Grid Version 2.2.3
    Events Manager Version 5.8.1.1
    Events Manager Pro Version 2.5.1
    Heartbeat Control Version 1.2.3
    Hide Admin Bar Version 1.7.1.3
    iThemes Security Version 6.9.2
    K Elements Version 4.3.5
    Lightweight Subscribe To Comments Version 1.5.7
    MetaSlider Version 3.7.2
    reBusted! Version 1.1
    Rendez Vous Version 1.4.2
    rtMedia for WordPress, BuddyPress and bbPress Version 4.4.8
    Simple Buddypress Profile Privacy Version 0.7.7
    Slider Revolution Version 5.4.6.3.1
    Wordfence Security Version 7.1.4
    WP FullCalendar Version 1.2
    WP Rocket Version 3.0.4
    WP-Optimize Version 2.2.4
    Ɖditeur de page Version 5.4.7

    Link : https://dispo.fun

    Hello, since installing version 3.0.0, we’ve lost the ability to comment on group posts. Is this a bug ???
    On the other hand, in the presentation video of the template New, we see an editor like the one to customize the themes but for Buddy Press. How can we reach it?

    Regards

    Julie

    #272960
    Michael
    Participant

    WordPress:

    Version: 4.9.5
    Language: en_US
    Permalink Structure: /%postname%/
    Active Theme: Tempera NoLink 0.6
    Page On Front: Si Valetis, Valeo! (#62)
    Page For Posts: Blog (#133)

    — Web Server Configurations —

    PHP Version: 7.0.30
    MySQL Version: 5.6.34
    Web Server Info: Apache

    — PHP Configurations —

    PHP Memory Limit: 256M
    PHP Upload Max Size: 256M
    PHP Post Max Size: 301M
    PHP Upload Max Filesize: 256M
    PHP Time Limit: 1000
    PHP Max Input Vars: 1000
    PHP Arg Separator: &
    PHP Allow URL File Open: Yes

    — WordPress Active Plugins —

    Akismet Anti-Spam: 4.0.3
    Caldera Forms: 1.6.1.1
    Category Posts Widget: 4.8.5
    Category Sticky Post: 2.10.1
    Cryout Serious Theme Settings: 0.5.9
    Custom Login Page Templates: 1.0
    Custom Sidebars: 3.1.4
    Disable Emojis: 1.7
    Download Monitor: 4.0.8
    Google Analytics Dashboard for WP (GADWP): 5.3.3
    GTranslate: 2.8.40
    Jetpack by WordPress.com: 6.1
    Plugins Garbage Collector: 0.10.3
    Shortcodes Ultimate: 5.0.3
    Simple:Press: 5.7.5.2
    Simple Link Directory – Pro: 4.8.0
    Team Members PRO: 4.1.1
    The Events Calendar: 4.6.15
    TinyMCE Advanced: 4.6.7
    Ultimate Member: 2.0.13
    Ultimate Member – Followers: 2.0.1
    Ultimate Member – Friends: 2.0.1
    Ultimate Member – Google reCAPTCHA: 2.0
    Ultimate Member – Instagram: 2.0.1
    Ultimate Member – MailChimp: 2.0.1
    Ultimate Member – Notices: 2.0.1
    Ultimate Member – Online Users: 2.0
    Ultimate Member – Private Messages: 2.0.2
    Ultimate Member – Profile Completeness: 2.0.1
    Ultimate Member – Real-time Notifications: 2.0.1
    Ultimate Member – Social Activity: 2.0.1
    Ultimate Member – Social Login: 2.0.1
    Ultimate Member – Terms & Conditions: 2.0
    Ultimate Member – User Reviews: 2.0.3
    Ultimate Member – User Tags: 2.0
    Ultimate Member – Verified Users: 2.0.1
    UM New Members widget: 1.0.7
    UpdraftPlus – Backup/Restore: 2.14.8.1
    VaultPress: 1.9.5
    Wise Chat Pro: 1.9
    WP-Optimize: 2.2.4
    WP Responsive Recent Post Slider: 1.4.2
    Yoast SEO Premium: 7.4.2

    snsn17
    Participant

    Why are there no BuddyPress email templates for password change and password resets?

    My site is sending the generic WP emails for these events, while all other emails, including verifying a changed email address, have BP templates.

    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

    #263432
    thasmas
    Participant

    Hi I came across this great post from 3 years ago and I wounder if we have any “good changes” on those plugins, mentioned there… I really need Pre-booking, Attending Buttons without paying (YES, MAYBE, NOT ATTENDING) –
    Way to contact these Audience who marked “MAYBE ATTENDING”, waiting list and compatible with BBpress which means Members could be able to create and manage events from the front end….

    thanks,

    Hello!

    I am currently setting up and developing a social media site based on WordPress/BuddyPress but can’t find a single event plug-in, that meets our requirements:

    1. Users can submit events
    2. Integration in the BP Frontend/Profiles
    3. Ability for recurring events
    4. Usage of custom Post Types and Taxonomies for Events and Locations
    5. Ability to show intention to attend (like in Facebook)
    6. Ability to invite others (your friends) to an event by BP messages or BP notifications
    7. Activity Stream entrys for creating and attending events
    8. Sell tickets (preferably integrating mit MarketPress or WooCommerce).
    9. Granular Shortcodes and Template-Tags for complete customization of output.

    I would gladly pay 500 or even 1,000 dollars for a plug-in that does it all!

    I started off with looking at a plug-in, I’ve been using for 4 years now: Events Manager. Its VERY well documented, has loads of shorttags and complies with 1/2/3/4/7/8/9. But it cant invite other users by internal BuddyPress functions and you cant say ā€œI’ll attendā€ without ā€œbuyingā€ a ticket.

    Then I came upon Event Espresso. Nice and polished and with some extra features like QR-Code tickets and a mobile app to have a digital check-in. It also exposes all content through a JSON API possibly making a mobile app integration (like with PhoneGap) much easier. It also offers seating plans for variable tickets. But again: no invitation or notification through BuddyPress. No ā€œAttendā€ and ā€œmaybeā€ buttons like in FB. And no BuddyPress integration, not frontend event submission and unless you have bought a license you cant check, what shortcodes it has to offer. Certainly a more tight-lipped approach to technical support.

    For a long time I thought, these are the major players I have to choose among, before I became aware of Events+ by WPMU. Incredibly, it seems to be the only WordPress events plugin mimicking the FB way of showing your intention to attend. The ā€œAttendā€ and ā€œMaybeā€ buttons are front and center of this plugin, along with recurring events and a system to buy tickets (integrated with MarketPress). It even allows different ticket prices based on user level/role. But a lousy pre-sales documentation and limited number of shortcodes and again: no internal invitation feature.

    I googled again and again, before I found a reference to the original BP events plugin, seemingly abandoned by its (too good not to ne hired by Facebook) developer. This plug-in, was apparently able to invite friends of the event organizer through BuddyPress notifications. It hasnt been developed further since then, it seems, and it came with a peculiar ā€œfeatureā€: all people invited were automatically registered as attending. If everything in life would be so easy

    #262103
    danbp
    Participant

    The first line code is an action hook. In other words a placeholder. This means also that, so far i remember, that it does nothing by default. It is there if you need to add some text before your register fields for example, or a video or any other content you can hook in there, by the way.

    Also i don’t think that you can/have to modify some metadata from there. When you see this code, you’re on the register template. Far away from metadatas which are usually all declared in the site header.

    If your goal is to remove “powered by Events Manager”, you’ve better to search in the Events Manager plugin files for the function who generate this meta.

    P.E.A. Lutz
    Participant

    I’m developing a plugin that adds a custom group home page (groups/single/front.php. The page will display the latest activity for each component that as active for the group. In the template, I’m checking with bp_is_active( {component} ).

    The problem is that some of the components return false even though they are active, a tab is displayed for them.

    Only xprofile, activity, docs and members return true.

    global $bp; returns

    
    ["loaded_components"]=>
     ["loaded_components"]=>
      array(8) {
        ["forums"]=>
        string(6) "forums"
        ["members"]=>
        string(7) "members"
        ["profile"]=>
        string(8) "xprofile"
        ["activity"]=>
        string(8) "activity"
        ["groups"]=>
        string(6) "groups"
        ["settings"]=>
        string(8) "settings"
        ["events"]=>
        string(4) "bpeo"
        ["docs"]=>
        string(7) "bp_docs"
      }
    
    
    
    ["active_components"]=>
      array(6) {
        ["xprofile"]=>
        string(1) "1"
        ["settings"]=>
        string(1) "1"
        ["activity"]=>
        string(1) "1"
        ["groups"]=>
        string(1) "1"
        ["members"]=>
        string(1) "1"
        ["bp_docs"]=>
        string(1) "1"
      }
    
    

    In the template:

    
    <?php if ( bp_is_active( 'xprofile' ) ) : ?>
        <div class="buddypress-module xprofile intro">Intro</div>
    <?php endif; ?>
    <?php if ( bp_is_active( 'activity' ) ) : ?>
        <div class="buddypress-module activity">Activity</div>
    <?php endif; ?>
    <?php if ( bp_is_active( 'forums' ) ) : ?>
        <div class="buddypress-module forums replies">Replies</div>
        <div class="buddypress-module forums topics">Topics</div>
    <?php endif; ?>
    <?php if ( bp_is_active( 'blogs' ) ) : ?>
        <div class="buddypress-module blogs">Blogs</div>
    <?php endif; ?>
    <?php if ( bp_is_active( 'events' ) ) : ?>
        <div class="buddypress-module events">Events</div>
    <?php endif; ?>
    <?php if ( bp_is_active( 'bp_docs' ) ) : ?>
        <div class="buddypress-module docs">Docs</div>
    <?php endif; ?>
    <?php if ( bp_is_active( 'members' ) ) : ?>
        <div class="buddypress-module members">Members</div>
    <?php endif; ?>`
    
    

    Confirmed with twentysixteen
    WordPress 4.6.1
    BuddyPress 2.7.2

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