Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 6,401 through 6,425 (of 32,678 total)
  • Author
    Search Results
  • #254187
    danbp
    Participant
    #254183
    Paul Wong-Gibbs
    Keymaster

    As both sites are WordPress, you can, for example, share the wp_users table between separate WordPress installations, but all the BuddyPress profile data is stored in custom BuddyPress tables. The non-BuddyPress site will have no idea where or how to get the profile data from the BuddyPress-powered site.

    You could, for example, copy the database tables across each night to keep the non-BuddyPress site updated, but you’ll still end up running BuddyPress on the main site in order to have access to APIs to query/fetch/display that data. Again, you could write custom SQL to achieve this, but you’re digging yourself into a large hole.

    I agree with the previous advice given 🙂

    Paul Wong-Gibbs
    Keymaster

    BuddyPress doesn’t support conditional profile fields (yet?). This is asked frequently but I can’t remember if anyone’s built a plugin that handles this. You might have to hack something together bespoke for your theme.

    Regarding the second point, I’d recommend creating a custom field type, if you know PHP. It’s not too hard to do — I worked on this code a year or two ago, and it’s pretty easy to do now. You could look at https://en-gb.wordpress.org/plugins/buddypress-xprofile-custom-fields-type/ for examples of how to add and register custom field types — specifically https://plugins.svn.wordpress.org/buddypress-xprofile-custom-fields-type/trunk/classes/Bxcft_Field_Type_SelectCustomPostType.php I think is a good example to work from as it displays custom post types in a list (you’d just query your custom table and pull in the values, wrap it in some caching, etc).

    Paul Wong-Gibbs
    Keymaster

    You’re correct. The relevant function is messages_new_message(): https://buddypress.trac.wordpress.org/browser/trunk/src/bp-messages/bp-messages-functions.php#L130

    You can set the BP_ENABLE_USERNAME_COMPATIBILITY_MODE constant to get BuddyPress to accept user_login values on the message compose screen rather than the user_nicename. See https://codex.buddypress.org/getting-started/customizing/changing-internal-configuration-settings/ for how to set it, basically you add it to wp-config.php.

    BUT setting this will also change the member URLs. For example: example.com/members/user-nicename/ will become example.com/members/user-login/. If you choose to change this, at the very least, you will have to set up redirects manually so as to not harm SEO.

    I think probably changing your modification to use the user_nicename will be best.

    #254179
    Paul Wong-Gibbs
    Keymaster

    I can’t speak for all the BuddyPress development team but, personally, I would not recommend W3TC. There is a specific bug with its Object Caching implementation that breaks password resets on BuddyPress for some obscure reason we weren’t able to track down.

    You need an Object Cache plugin, which will be backed by a Memcached or Redis instance, or something. If you’re using a great WordPress host rather than any old common host, like WP Engine or Pantheon or Siteground, they already have this infrastructure in place.

    You could have a full-page cache, but be sure to only configure it to cache requests for logged-out users. You can imagine that if the majority of your traffic is from logged in, then having a cache for logged-out views isn’t going to have much impact.

    #254177
    danbp
    Participant

    Hi,

    have you tested this plugin ?
    https://wordpress.org/plugins/buddypress-group-email-subscription/

    ADMIN NOTIFICATION Group admins can send out an email to all group members from the group’s admin section. The email will be sent to all group members regardless of subscription status. This feature is helpful to quickly communicate to the whole group, but it should be used with caution.

    #254171
    sharmavishal
    Participant
    danbp
    Participant

    Give this a try: (add to bp-custom.php) 1) & 2):

    function bpfr_hide_tabs() {
    global $bp;
    
    	if ( bp_is_user() && !is_super_admin() ) {
    		bp_core_remove_nav_item( 'notifications' );
    		bp_core_remove_subnav_item( 'messages', 'compose' );
    	}
    	
    }
    add_action( 'bp_setup_nav', 'bpfr_hide_tabs', 15 );

    3) With BP and xprofile component activated, a user doesn’t need access to WP dashboard. He can change his profile credentials from front-end.
    Easiest way would be to use this plugin.

    Retrieving them the possibility to change their email is anyway not a good idea. What happen when a user changed from yahoo to gmail, but can’t login because he lost his password ? Where will the new pwd be sent ?

    Perhaps you have also to remove this from the BP usermenu on toolbar ?
    Here’s how you can do it:

    function admin_bar_remove_this(){
    global $wp_admin_bar;
    	$wp_admin_bar->remove_node('my-account-messages-compose');
    }
    add_action('wp_before_admin_bar_render','admin_bar_remove_this');
    #254136

    In reply to: private buddy press

    cspub
    Participant

    i installed it but seem to be having issues with the buddy press page members. the website folder that wordpress is installed in is members also. can i change the file name of the member’s page? i see where in settings to associate a page for member. but didn’t know if it caused other issues

    #254131

    In reply to: private buddy press

    shanebp
    Moderator

    WP users are BP users, except for the profile fields you add in wp-admin > Users > Profile Fields

    For granular control of both WP and BP content re logged-in vs. not-logged-in, have you tried BP Simple Private ?

    You can get it here: WP Repo – BP Simple Private

    Or here: PhiloPress – BP Simple Private

    #254129
    alibong0
    Participant

    i just wanted to know the term ‘alternate row colour for…*****’to google help about it, hence the lack of detail.. i figured you wanted me to figure it out myself. http://www.templatemonster.com/demo/52997.html <— this is my theme. on the newest wordpress and buddypress.

    #254120
    sharmavishal
    Participant

    you need to have a wordpress multisite done….and install buddypress on a folder/domain…check codex’s of both..you will get an idea how you can run wp on main domain and bp on sub domain or sub folder

    trust me..you are not able to manage in the current scenario which you have…

    this is a free support forum..you dont need to talk to me on a one2one basis…custom help is not an option here…you might have a look at the job board if you are looking at custom help

    best of luck

    #254117
    mujalumni
    Participant

    I have two site one for static info about MUJ Alumni (http://mujalumni.in/muj2). It is also a wordpress site. The second one is a portal for our members (http://mujalumni.in/portal). It is also a wordpress site with buddypress support.

    No, I am not thinking of having subdomain /subfolder. I am already managing that.

    If you can provide your contact details, we can have a talk about this.

    #254115
    sharmavishal
    Participant

    no plugin for that…as @danbp suggested better to have one db of users..else its going to get quite complicated…

    before you installed buddypress was your site a wordpress site?

    also i see you installed bp in a sub folder..not in the root…http://mujalumni.in/portal/ is that correct?

    is the root site a wordpress enabled site?

    are you looking at having a main site and the community (powered by buddypress) on a seperate folder/subdomain?

    cesasol
    Participant

    Hi, I’m working on a project where I have to populate the contents of a page using custom post types and taxonomies with members of buddypress.
    Members fill out a field check boxes that match the terms of taxonomy to be used, then I have to fill posts with members that meet at least one match box checked with taxonomy term and then add the user to post.

    Navigation would be:
    User enters the “services” in the menu.
    Then see a list of services in card format
    Clicking has to display the “post” service with a short description and down members offering such services with a link to their profiles buddypress.

    Members will have the following experience:
    After registering as a special type of user they are activated the profile field “Professionals”, which, along with other fields will be the field of “treatments” that will check boxes. As save their changes, for example, they marked the “facial radiofrequency” box, your profile will appear in the services that have the taxonomy term “facial radiofrequency”

    It can be done in each post or maybe making a specific template with one using variables, and enter the custom loop within the loop the post after <php the_content (); ?> And before endwhile.

    The problem is that the loop is not done, and after searching I found I was developing #5839 but I could find no documentation.

    Thanks in advance.
    Cesasol

    #254104
    danbp
    Participant

    It woud be better if you merge your 2 db to the one controlled by WP.
    That said, you can also try to get something (even if not easy), after reading from here.

    #254097
    shanebp
    Moderator

    You can get older versions here:
    https://wordpress.org/plugins/buddypress/developers/

    ronsenbln
    Participant

    Hi, i am new with buddypress and wordpress to. Now i will create a community and use both. I like to show the posts of a user in his profil and not in an author page.

    I found that i can create a new tab and this works. The post will show. But i cant make it work without a double output.

    Here is my code:

    functions.php

    // Buddy Press Funktionen
    
    function my_redirect_canonical($redirect_url, $requested_url) {
     // If on a BuddyPress page, just go to the requested URL: no redirects!
     if ( bp_is_members_component() || bp_is_user() ) {
       return $requested_url;
     } else {
       return $redirect_url;
     }
    }
    add_filter('redirect_canonical', 'my_redirect_canonical', 10, 2);
    
    // Buddy Press Funktionen Posts im Profil
    
    add_action( 'bp_setup_nav', 'add_profileposts_tab', 100 );
    function add_profileposts_tab() {
    global $bp;
    bp_core_new_nav_item( array(
    'name' => 'News',
    'slug' => 'posts',
    'screen_function' => 'bp_postsonprofile',
    'default_subnav_slug' => 'News', 
    'position' => 250
    )
    );
    }
    // show feedback when 'Posts' tab is clicked
    function bp_postsonprofile() {
    add_action( 'bp_template_content', 'profile_screen_posts_show' );
    bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );
    }
    
    function profile_screen_posts_show() {
    query_posts( 'author=' . bp_displayed_user_id() );
    	if ( have_posts() ) :
    	get_template_part( 'author-user' );
    	else:?>
    	<div id="message" class="info">
    		<p><?php bp_displayed_user_username(); ?> hat noch nix geschrieben! </p>
    	</div>
        <?php endif; ?>    <?php
    
    }
    
    //POSTS ON PROFILE ENDS HERE

    author-posts.php

    <ul>
    		<!-- Loop -->
    		<?php while(have_posts()) : the_post(); ?>
    <?php the_post_thumbnail( 'teaser' ); ?>
    			<h2>
    				<a href="<?php esc_url(the_permalink()); ?>"><?php the_title(); ?></a>
    			</h2>
    			Erstellt am <?php echo get_the_date(); ?> 
    <div class="tags"><?php the_tags('','',''); ?></div>
    			<div class="content-inner"><?php the_excerpt(); ?></div>
    
    		<?php endwhile; ?>
    	
    		<!-- Paginierung -->
    		<p><?php posts_nav_link(); ?></p>
    
    <!-- End Loop -->
    
        </ul>
    

    This code shows the author posts in the right way. But under the output i like is an output that i dont like to have. It shows the post twice. Any idea for this problem? Best

    #254079

    In reply to: Wierd Buddypress Issue

    mugluck
    Participant

    Is there a way to set the default page template for profiles in Buddpress? I’ve isolated the problem to the fact that it’s generating from the default profile in our wordpress theme. But I don’t know which file in the buddypress system I should add the php code to.

    danbp
    Participant

    That is an old bbPress issue. When you edit a topic, i some case, the topic comes up twice(or more, depending how many edit you made) on the site activity.

    This bug will be corrected in bbP 2.6 (actual version is 2.5.9). See ticket & patch here.
    What you can do immediatly is to modify following file:

    
    wp-content/plugins/bbpress/includes/extend/buddypress/activity.php

    Replace code between line 277/279

    
    $existing = bp_activity_get_specific( array( 'activity_ids' => $activity_id, 'show_hidden' => true, 'spam' => 'all', ) );
    if ( empty( $existing['total'] ) || ( 1 !== (int) $existing['total'] ) )
    return null;

    by

    $existing = new BP_Activity_Activity( $activity_id );
    if ( empty( $existing->component ) ) {
    return null;
    }
    #254061
    r-a-y
    Keymaster

    @angelaq – I think your problem is related to this:
    https://buddypress.org/support/topic/bad-link-to-profile-edit/#post-174602

    I’m quoting the workaround solution below:

    Since I’ve seen so many threads regarding it and I was having same issue.

    this is regarding 404 error page if you are on page profile/edit/group/1/

    Problem is group 1 is missing in your profile section.

    All you need to do is go into you DB and look for table: wp_bp_xprofile_groups

    Then look for id=2, Base

    then just change id=2 to 1 and that’s it.

    This does sound like a legitimate bug.

    I’ve opened an issue about this here:
    https://buddypress.trac.wordpress.org/ticket/7109

    #254046
    sharmavishal
    Participant

    s2Member | A powerful (free) membership plugin for WordPress

    #254043
    amaya_terry
    Participant

    Buddy press’ve installed directly from the free version of wordpress, the theme we are using is a validly licensed own theme. All steps that tell me I activated as previously I worked correctly … I have other sisitos with the same plugin and does not happen to me

    #254041
    welsh10
    Participant

    Hi,

    I want to use TML (Theme My Login) and Default wordpress login.

    I keep getting warning messages about pages not being assigned to ‘register’ and ‘activate’.

    Hope do I get rid of this message?

    Also is there a way from preventing BuddyPress from automatically finding pages and allocating them?

    Thanks
    Ash

    #254035
    JensGoro
    Participant

    Hi together,

    i have found in WordPress Theme “Rehub” a perfect User Menu. I have copyed the Buddypress Folder from Rehub in my Theme and 1 Month ago it worked, than i have paused the Site.

    Now i have reactivated the Site and become no Symbols to show.

    This is showed original from rehub: x
    And this is my actually: x

    Does any body has an idea why the Symbols not working?

Viewing 25 results - 6,401 through 6,425 (of 32,678 total)
Skip to toolbar