Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 4,276 through 4,300 (of 32,678 total)
  • Author
    Search Results
  • seriouslightbox
    Participant

    Hello, I successfully created a new BuddyPress Profile Tab called “Videos”. This page shows all videos shared by that user (custom post type called “video”). It also shows the pagination, however, once the pagination is clicked, it brings me to a 404 page. Here’s what I have so far:

    function my_videos_screen_content() { 
        echo 'We are currently working on this section, some content may not appear properly. Thank you for your patience.'; ?>
    	<div class="container">
        		<div class="row">
    			<div class="col-sm-8">
                	<div class="row video-section meta-maxwidth-230">
    	<?php 
    	
    	$custom_query_args = array(
            'post_type'         => 'video',
            'author'            => bp_displayed_user_id(),
    		'posts_per_page'    => get_option( 'posts_per_page' )
            );
    	
    	$custom_query_args['paged'] = get_query_var( 'paged' ) ? get_query_var( 'paged' ) : 1;
    	
    	$custom_query = new WP_Query( $custom_query_args );
    	
    	$temp_query = $wp_query;
        $wp_query   = NULL;
        $wp_query   = $custom_query;
    
        if ( $custom_query->have_posts() ) : while ( $custom_query->have_posts() ) : $custom_query->the_post();
    		get_template_part( 'loop', 'video' );
    		endwhile; ?>
    		</div>
    		<?php endif; 
    		wp_reset_postdata(); ?>
    	    
    	    <?php // Custom query loop pagination
            previous_posts_link( 'Newer Videos' );
            next_posts_link( 'Older Videos', $custom_query->max_num_pages );?>
            
            <?php // Reset main query object
            $wp_query = NULL;
            $wp_query = $temp_query; ?>
    
    			</div>
    		</div><!-- /.row -->
    	</div>
    	</div><!-- /.container -->   
    <?php }

    NOTES:
    Wordpress Version : Latest
    BuddyPress Version : Latest
    Theme : VideoTube

    Any help would be greatly appreciated – thanks!

    #269139
    Boone Gorges
    Keymaster

    Don’t abandon the Groups functionality or BuddyPress over this small display issue! With a plugin like this https://wordpress.org/plugins/simple-custom-css/, it is trivial to add the CSS that I gave above.

    Building a child theme is more complex, and is something you should learn down the road if you plan to make extensive customizations. But if you just need to make a small change like what I’ve suggested, then a plugin like https://wordpress.org/plugins/simple-custom-css/ is more than enough.

    #269131
    jelee
    Participant

    WordPress: Versie: 4.9
    Theme: Appointment Versie: 1.0.9
    BuddyPress 2.9.2

    The automatically generated buddypress page are empty.
    Checked the setting (everyone allowed to register) in settings -> general
    Have the associations in settings -> buddypress -> pages set on those pages.

    Installed the plugin 3 times and tried it multiple times.

    tried the Theme Twenty and it worked…

    How can i get the pages working in the Appointment version?

    #269115
    vincent46
    Participant

    Hi @boonebgorges this is the procedure that I used to change the default name that in Italian is articles. The site is in italian, and I was looking for some procedure to insert in bp-custom instead of changing the translation file obviously if you can do it.
    Change default name Articles

    #269110
    Carsten Lund
    Participant

    I realize that this is a WordPress issue so I will direct my question to the WP community

    #269107

    In reply to: Course Group Error

    shanebp
    Moderator

    I believe those warnings are related to fetching the plural form of a number.

    Do you have debug turned on in wp-config.php ?
    If the only issue is the Warnings, turning off debug should make them disappear.

    If they still appear or there are related issues, you should open a ticket at LearnDash.

    But first, to see if the issue is related to your theme, try switching momentarily to a WP theme like 2016 and see if the warnings persist.

    Boone Gorges
    Keymaster

    Ah yes, thanks for that.

    It looks like your theme is loading scripts from BuddyPress, but is using an old path for these scripts. (BP changed the paths a couple versions ago. See https://buddypress.trac.wordpress.org/changeset/11009.) Look in your theme – probably in functions.php – to see how it’s loading the cookie, caret, and atwho scripts. Then update the paths as needed (I think you can just add /vendor/).

    #269090
    Boone Gorges
    Keymaster
    #269081
    wayne alex
    Participant

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

    Forgot to mention i’m using Buddypress activity plus to upload images.

    Thank you.

    #269067
    Henry Wright
    Moderator

    WordPress users are BuddyPress users. They’re stored in the wp_users table.

    #269061
    jamesmcm
    Participant

    Ive am about to start creating my social community and I have one question I have been unable to find the answer to.
    Are logged in wordpress users and logged in buddypress users the same thing?
    I have noticed a lot of wordpress plugins work with a logged in wordpress user/member, for example the ability to store data like a favorites list.
    What I am wondering is if a plugin in that is designed for wordpress, that save’s data to a logged in wordpress users/members profile, works in the same with a logged in buddypress user/member?

    Boone Gorges
    Keymaster

    > I replaced the indicated line of code in my child theme’s cover-image-header.php with yours. Not only does the Display Name not appear (only the “@” appears), but everything following it (tabs of user activity, etc) disappears. The page just ends.

    Sorry, there was a typo in my original response. I wrote bp_displayed_user-id() instead of bp_displayed_user_id().

    When the page stops rendering like this, it means that there’s been a PHP fatal error. If you’re going to be modifying PHP files, it’s a good idea to get familiar with either your server’s PHP error log, or the WP_DEBUG constant. See https://codex.wordpress.org/Debugging_in_WordPress

    > Any insight into what I may be doing wrong would be appreciated.

    Hard to know exactly what is going on without seeing your site. For the template, my guess is that you have copied things into the incorrect location in your child theme. The template overrides only work if the directory structure matches directly, as described on the codex page linked above. So, the path should be something like wp-content/themes/your-theme/buddypress/members/single/index.php.

    For the CSS, it could be that your theme is using different CSS selectors for page titles. (.entry-title is used by some of the WordPress default themes, so I guessed that it might be in use on your theme too.) Use your browser’s inspector to get the proper selector. Here’s a useful tutorial: http://toolsqa.com/selenium-webdriver/finding-elements-using-browser-inspector/ Once you have found the id/class of the element, replace .entry-title in my snippet with that.

    aubreyw
    Participant

    I use BuddyPress and I’ve been trying to add a good member subscription plugin. I’ve tried Paid Memberships Pro, Restrict Content Pro, and S2 Member. Not of them were very compatible for whatever reasons. Paid Memberships Pro manages the billing successfully, but cannot properly restrict pages. Restrict Content Pro told me –

    “The reason many plugins don’t integrate with BuddyPress right out of the box is that BuddyPress uses totally custom templates for all their pages and that means they will not be restricted in the same way we restrict normal WordPress pages. It requires custom coding specifically for BuddyPress in order to restrict access to those pages.”

    I dont know custom coding, so I need a plugin that can be customized with simple settings. Does BuddyPress offer a plugin that makes it play nice with subscription plugins? Or can someone please recommend a subscription plugin that will work for me?

    aubreyw
    Participant

    Does anyone know if BuddyPress is compatible with Woo Commerce memberships if I do NOT have a store or e-commerce component? I’m using wordpress/buddypress with a BuddyBoss theme for an online community where members will pay a small monthly subscription fee. My BuddyPress install came with Woo Commerce, but it looks to me like Woo might be only appropriate for store components. I just need to charge a monthly membership fee via Stripe, protect all pages except Home and a few marketing pages, and I need the ability to add additional custom registration form fields. Sorry, I know this is also somewhat of a Woo questions, but since my BuddyPress came with Woo, I hope its ok to ask this question here. I’ve already tried Paid Memberships Pro and Restrict Content Pro, but neither of them work well with Buddypress (billing works, but page protection doesn’t).

    #269046
    Boone Gorges
    Keymaster

    Hi @writingbox – Unfortunately, it’s very hard to debug this without access to the live site. But if the problem is indeed that there is a margin-top issue on this element, you could put the following into your child theme’s style.css:

    
    body.single-item.groups #buddypress div#item-header div#item-actions {
        margin-top: 0;
    }
    

    Be sure to do this in the stylesheet for your child theme, not in BuddyPress itself or in your WP theme, because those changes would be lost when the plugin/theme is updated. Here’s a guide https://premium.wpmudev.org/blog/how-to-create-wordpress-child-theme/ – the section you want is under the “Creating a Child Theme” header, and the file where you should put your customizations is style.css.

    #269042
    Boone Gorges
    Keymaster

    There are a couple places where BuddyPress itself adds an IN clause like this to the user query.

    1. When showing a list of a user’s friends: https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-core/classes/class-bp-user-query.php?marks=389#L382

    2. When joining against the user meta table because of some sort of meta_query: https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-core/classes/class-bp-user-query.php?marks=455#L430

    3. When parsing the include parameter, which can be populated by a plugin or by a group member query: https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-core/classes/class-bp-user-query.php?marks=373#L360

    It’s hard to give exact advice without knowing which of these cases is tripping up the WPEngine tool. Item 2 would only happen if you were using a specific kind of plugin/customization. 1 would only happen if viewing the friends page of a user with a huge number of friends. 3 would happen only if viewing the members page of a group with a huge number of members. 3 is probably the most common, but if you could verify, it would help us to narrow things down.

    It’s hard to give a simple workaround for this kind of issue. One is to prevent BP from doing this specific ‘count’ query. This will have the effect of breaking certain kinds of pagination, but it may be something that you can work around, depending on the details. Fundamentally, this might count as a bug that should be fixed in BP – we may consider switching this to a subquery to avoid this kind of host restriction.

    In the meantime, you might consider reaching out to WP Engine and explaining this problem. In my experience, they’re generally pretty reasonable about disabling or loosening this query-length restriction in certain cases.

    #269037
    Boone Gorges
    Keymaster

    Hi @drnz17 – Yes, there are plugins that make this possible. This one has support for BuddyPress-related conditionals, like “show these widgets on a single user page”: https://wordpress.org/plugins/dynamic-widgets/

    #269034
    Boone Gorges
    Keymaster

    Hi @barkins – BP doesn’t have a built-in tool for this (though it should – see https://buddypress.trac.wordpress.org/ticket/7393, https://buddypress.trac.wordpress.org/ticket/408). If you know that user IDs will remain the same between the local WP install and the live install, then you can do a simple database export/import, something like:

    $ mysqldump -u db_user -p db_name wp_bp_xprofile_groups wp_bp_xprofile_fields wp_bp_xprofile_data > ~/xprofile-export.sql

    $ mysql -u db_user -p db_name < ~/xprofile-export.sql

    If the user names will not be the same, you’ll need to write a script to handle this, but the details will depend on how you plan to identify users (email address, etc).

    #269027
    vincent46
    Participant

    Hello everyone. I followed a guide to change the default name of the post. And now from wordpress administration it’s all ok.
    On the workflow of activities, however, each time a user enters a post continues to exit:”User x has entered a new post”.
    How do I make him understand to Buddypress that he doesn’t have to use the word “post” anymore and uses the word I chose?
    I also tried to change the translation file, but this is temporary and does not always work.
    Thank you very much to those who will help me because I really don’t know how to solve it.

    #269026
    Fazlur Khan
    Participant

    I am trying to optimise a wordpress (4.8.3)/ BuddyPress (2.8.2) site with 5000+ users hosted in WPEngine. Getting error in WPEngine error log.

    The WPEngine error log shows following error:
    [Wed Nov 15 23:50:15.430014 2017] [:error] [pid 21215] [client 27.147.203.28:32469]
    KILLED QUERY (35690 characters long generated in
    /nas/content/staging/sued2/wp-content/plugins
    /buddypress/bp-core/classes/class-bp-user-query.php:536):
    SELECT COUNT(u.user_id) FROM wp_bp_activity u WHERE 1=1 AND u.component = ‘members’ AND u.type = ‘last_activity’
    AND u.user_id IN (72,790,8 …..

    #269010
    Boone Gorges
    Keymaster

    Hi @jeffm2008 – Thanks for the post!

    I’ve just had a look at how Jetpack handles this. Unfortunately, it looks like it’s probably fundamentally incompatible with the way that BP’s top-level pages work. While BP does use WP’s page infrastructure in the Dashboard, it then tricks WP into thinking that BP pages are *not* in fact WP pages at the time that the sidebar is rendered. So Jetpack’s checks – technically, is_page() and get_the_ID() – are failing in the case of BP pages.

    As an alternative, you might consider this plugin, which advertises support for BP content: https://wordpress.org/plugins/dynamic-widgets/

    #269008

    In reply to: Cover Photo Issues

    Boone Gorges
    Keymaster

    Thanks for the quick response.

    Looking over some of the earlier posts, it is weird that the message says “For better results, make sure to upload an image that is larger than 0px wide, and 225px tall.”. This suggests that theme is set up in such a way that it sets the cover image width to 0. As such, it’s possible that it’s being rendered, but being set to 0 width. Are you able to reproduce the problem on a WP default theme, like Twenty Sixteen?

    The width for the cover image is inherited from the content_width global, which should be set by your theme (at least, the wordpress.org theme guidelines require it). It’s possible it’s not being set. Have a look at https://www.binarymoon.co.uk/2012/03/heard-wordpress-contentwidth/, and try doing something like that in your functions.php to see if it helps.

    If this turns out to be the issue, then the BP team should look into having a more graceful fallback for cover image width, so that we’re a bit more compatible with non-compliant themes.

    #268997
    friendlygooners
    Participant

    WordPress 4.9 “Tipton”
    BuddyPress Version 2.9.2
    Theme: Buddy Version: 2.15.1 By GhostPool

    When sending private message to my users, the message shows sidewide notification to everyone visiting my site. I added this this in custom css

    #sitewide-notice {
    display: none !important;
    }

    The message box appearing under the header was closed But the sidewide notification still exist.
    You can check out here https://www.friendlygooners.com/

    #268986
    barkins
    Participant

    I need to export and import just the Profile fields from my local WordPress installation to my live website.

    Is there a way to do this? I see there are ways to export and import the field data, but I just need the fields themselves. Thanks

    #268985
    wackao
    Participant

    Current state of affairs do not look good for Buddypress (https://wordpress.org/plugins/buddypress/#reviews). Users consider it on the way out when comparing it with plugins like “ultimate member” or “user pro”. Though these plugins have inferior code quality they compete with BuddyPress based on their promotions and integration with WordPress.

    We’ve been monitoring BP REST API github repo but there are hardly any activity recently, which brings to the point why is BP REST API not taken up seriously by the BP devs.

    The REST API for BuddyPress needs to be taken up professionally and seriously as it could clearly be a game changer for BP.

Viewing 25 results - 4,276 through 4,300 (of 32,678 total)
Skip to toolbar