Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 11,001 through 11,025 (of 69,119 total)
  • Author
    Search Results
  • cybmeta
    Participant

    I’ve made some more tests.

    In the database, the bp-pages row seems correct and the “register” option is correctly set to the page ID for registration.

    If I do this in the header.php of the theme:

    var_dump( bp_get_signup_page() );

    I get the incorrect value `https://example.com/wp-singup.php

    If I do this inside the function bp_get_signup_page() (I’ve tried to include the full code function but the system gives error submiting the post, so I’ve include only the modified lines of the function):

    var_dump( $page );
    return apply_filters( 'bp_get_signup_page', $page );

    I get the correct value http://example.com/register/.

    If I remove the filter bp_get_signup_page inside bp_get_signup_page() , just to check if there is some filter altering the value:

    return $page;

    Then I get the correct value in the header.php of the theme, but if I go to http://example.com/register/, the page doesn’t shows the registration form.

    It seems that there is some bp_get_signup_page filter changing the value but the problem exists without any other active plugin and with a core theme, so it have to be a filter insdie BuddyPress itself. Anyway, with the correct value of bp_get_signup_page(), the registration page doesn’t work.

    Neeraj Kulkarni
    Participant

    It can be an issue of wordpress installation of multisite and that causing conflicts with the buddypress. Not sure though.

    #250242
    Neeraj Kulkarni
    Participant

    The buddypress community is alive because of the people willing to contribute to the development of this platform. Cheers.

    #250240
    celziobiaz
    Participant

    I use Rumbletalk group chat room to do exactly that.

    1 – Decide the type of allowed logins to the room.

    So if you define GUESTS and Registered users (RumbleTalk), than your Buddypress users will be logged in automatically, guests would provide a name and then they could enter the chat.

    2 – Now, users could talk in a group or in private chats.
    ** They could also have live “one on one” Video Calls or audio calls.
    Note, Since they use WebRTC (google video protocol) you will need that your chat will be secured (https/SSL) to make audio and video chats.

    #250238
    Paul Wong-Gibbs
    Keymaster

    Ooh. Hi @paddy33! Sounds like you’ve got yourself an interesting challenge. I’m very interested to keep in touch to learn about what it’s like to upgrade a site between these versions.

    My initial thoughts:

    1) template-user-account.php is not/has never been the name of a template part bundled with any version of BuddyPress, so we’re dealing with a custom theme integration, which will make things a bit trickier for us to help (since we can’t see its code).

    2) While the Original site might be BP 1.7.2, it doesn’t mean the templates were built with *that* version; it could have launched on 1.5 or 1.6, etc. In this case, it’s quite possible theme compatibility was explicitly disabled.

    Does this line appear anywhere in your codebase?

    add_theme_support( 'buddypress' );

    3) I think you’re going to have to debug (hopefully in a development environment or development server) bp_core_load_template and compare where its looking for a template vs. where the template actually is.

    #250230
    zigsolutions
    Participant

    Found it! I needed to make the change to my-child-theme-directory/buddypress/groups/single/members.php instead of the members-loop.php in my-child-theme-directory/buddypress/members/.

    That took a while but glad I was able to find it. Now instead of the Activity information I want to display the Company field which is a custom field. I think I saw the code to do this and will try it tomorrow but it should be pretty straight forward right?

    Thanks again for all your help!!

    #250222
    zigsolutions
    Participant

    Here are the items that I’ve tried based on your previous suggestion:

    – Add text to different parts of the members-loop.php file and it doesn’t show up
    – Where it calls the page in the members/index.php I’ve commented that call out:

    <div id=”members-dir-list” class=”members dir-list”>
    <?php /* bp_get_template_part( ‘members/members-loop’ ); */ ?>
    </div><!– #members-dir-list –>

    – Checked the plugins/bp-custom.php that I created and removed the code in that file.
    – Disable all the plugins that are attached to BuddyPress
    – Renamed the members folders in the following locations to members2 to see if it affected displaying the members and it doesn’t seem like it references any of the locations: buddypress/bp-templates/bp-legacy/buddypress/members/, buddypress/bp-templates/bp-legacy/buddypress/members/ and my-child-theme-directory/buddypress/members/
    – The last thing I tried was to copy the buddypress/ folder into the WP 2013 theme and run it through that completely and still I don’t see the changes. Even after I change the theme to the BuddyPress Default theme and update members-loop.php it still shows that information.

    Not sure what else to try :P. Thank you for all your help so far! I’m very stumped!

    #250214
    Henry Wright
    Moderator

    Have you tried BuddyPress Simple Events?

    #250207
    zigsolutions
    Participant

    That was great thinking! I tried to enable 2013 with the change made to members-loop.php with no luck. It still shows the Activity.

    The theme that I am using is not a true BuddyPress theme. It’s just a normal WordPress theme but I know that shouldn’t really matter for what we are talking about I don’t think.

    I’ve also tried changing it in the bp-themes/bp-default/ which I believe is not really used anymore correct?

    Thank you so much! Any other suggestions?

    #250204
    zigsolutions
    Participant

    @kmw1130 … I’m having the same issue. Just trying to comment out the activity of the users that show up in the list for a specific group. Any changes I make to members-loop.php are not showing up. Not sure if I’m updating the correct file myself to make this change.

    Does anyone know how or where to make changes to the members-loop.php file so they show up in the latest version of BuddyPress?

    Thank you so much!

    #250190
    dave8528
    Participant

    Since I could not find bp-custom.php and I found out that it not a default file, so the directions here: https://codex.buddypress.org/themes/bp-custom-php/ says to create it manually – which I did and added the above code as you directed. Then I located member-header.php in following directory tree shown below and added your code:
    /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/member-header.php

    But, I don’t see it working! Did I get the files mixed up?
    Thanks for all help.

    #250188
    @mcuk
    Participant

    Just replied to another post which might be what you are after….see below. Saves me typing it out again ๐Ÿ™‚

    https://buddypress.org/support/topic/missing-add-friend-button/

    #250187
    @mcuk
    Participant

    Hi @missgridiron,

    Add this to your bp-custom.php:

    function add_another_friend_button() {
    	$user_id = get_the_author_meta( 'ID' );
    	$mybutton = bp_add_friend_button( $user_id ); 
    	if ( ( is_user_logged_in() && ! bp_is_my_profile() ) ) {
    		echo $mybutton;
    	}
    } 
    
    add_action( 'button_here', 'add_another_friend_button' );

    Then add the code below to wherever you want the button to appear (e.g. in the member-header.php file of your child theme if you want a button in your profile page header):

    <div id="another-friend-button">
    	<?php 
    		do_action( 'button_here' ); 
    	?>
    </div><!-- #another-friend-button -->

    for reference: https://buddypress.org/support/topic/add-friend-button-everywhere/

    ying-sun
    Participant
    #250167
    tolisp
    Participant

    I have changed theme, disabled all plugins but the problem persists…
    Anyone heard of something similar happen again? The buddypress is in a subsite domain/portal. I am thinking maybe the rewrite rules are the ones to blame.

    This is my htaccess

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    #250157
    Mathieu Viet
    Moderator

    Hi,

    By default the avatar sizes are :
    – 150x150px for Full size
    – 50x50px for thumb size

    If a message is asking for a different minimum size, then it’s meaning a plugin or a theme is using some of our filters/constants to edit these sizes.

    You can search for this filter bp_core_avatar_full_width or this constant BP_AVATAR_FULL_WIDTH outside of BuddyPress to find who’s setting the size to be 580x580px.

    #250156
    Henry Wright
    Moderator

    You can add functionality to BuddyPress using plugins. If a particular feature isn’t available as a plugin you could try implement it yourself or ask a coder for help. BuddyPress has a huge API that will help.

    The look and feel of your website is governed by the theme you choose.

    If you already have a dev site operational, try out some different plugins and themes to see which ones work best for your project.

    Ref:

    https://en-gb.wordpress.org/plugins
    https://en-gb.wordpress.org/themes

    #250130
    superbikerider69
    Participant

    Thanks very much for the reply

    So trying to understand, I copy the create file from the buddypress to the theme buddypress then add a conditional at the top of that copied file to check membership level?

    #250127
    shanebp
    Moderator

    Create a template overload of this file:
    buddypress\bp-templates\bp-legacy\buddypress\groups\create.php

    Add a conditional that checks user level at the top.

    Or use the do_action hook ( read 2nd answer ) at the top of that file:
    do_action( 'bp_before_create_group_page' );
    and write a function in your theme/functions.php

    #250120
    danbp
    Participant

    Hi,

    normally you have a filter upon the activity stream so you can sort it by different activities. By default, a stream use “anything”.

    Settings > BuddyPress > Settings -> Activity Settings and make sure that โ€œAllow activity stream commenting on blog and forum postsโ€ is checked. And also “Allow search engines”.

    While testing, i recommand that you use one of Twenty’s theme first. Just in case of… ๐Ÿ˜‰

    #250102
    danbp
    Participant

    You’re welcome ๐Ÿ˜‰

    Meanwhile, have you found this ?
    http://hookr.io/plugins/buddypress/2.4.3/functions/bp_core_get_user_displayname/

    #250100

    In reply to: Notes Empty

    danbp
    Participant

    Hi,

    i have several installs in french without any error at this level, so it’s difficult to tell you what’s going wrong for you.

    If you have a local install, i would suggest
    1) make a new test site and activate Twenty Thirteen or Fourteen. There should be only one user (you, as admin) at this stage. Once installed and workink, create a new user within admin, with subscriber status.
    2) upload a new copy of BuddyPress and bbPress and add Bp Default Data plugin, with all data options enabled.
    3) use WordPress in english for a first try. If ok, set it to french and re-test

    #250096

    In reply to: Notes Empty

    aerostar1974
    Participant

    Hi,

    I have enabled Options de Notifications (In Settings/Buddypress/Components, all is enabled, in Settings all is enabled except “Enable group creation for all users”)

    I haven’t touch anything in bp-custom or theme-functions, and more, i have tried the web site with many differents Themes, and with no plugin exept buddypress, and always the same problem.

    I have tried in english, and i have the same problem.

    #250093
    Andrew Tibbetts
    Participant

    Solution:

    There is an action to hook to inside bp_core_activate_signup() that fires right after activating the account ( user clicked the link in the email ), so when the user hits /activate this will fire and reset the user_status to 3 ( 1 is spammer I guess ). Now to figure out the rest…

    Here is the code ( the second function disallows the user from logging in with custom message ):

    add_action( 'bp_core_activated_user', 'custom_bp_core_activated_user' );
    function custom_bp_core_activated_user( $user ) {
    
    	if ( empty( $user ) ) {
    		
    		return false;
    	}
    
    	if ( is_array($user) ) {
    		
    		$user_id = $user['user_id'];
    	}
    	else {
    		
    		$user_id = $user;
    	}
    
    	$member_type = bp_get_member_type($user_id);
    	
    	if ( $member_type == 'member_type_to_manually_activate' ) {
    		
    		global $wpdb;
    		
    		$wpdb->query( $wpdb->prepare( "UPDATE $wpdb->users SET user_status = 3 WHERE ID = %d", $user_id ) );
    	}
    }
    
    add_filter( 'authenticate', 'custom_authenticate', 30 );
    function custom_authenticate( $user ) {
    
    	if ( is_wp_error( $user ) || empty( $user ) ) {
    
    		return $user;
    	}
    
    	if ( 3 == $user->user_status ) {
    
    		$member_type_name = bp_get_member_type($user->ID);
    		$member_type = bp_get_member_type_object($member_type_name);
    		
    		return new WP_Error( 'invalid_username', __( '<strong>ERROR</strong>: All ' . $member_type->labels['name'] . ' accounts require manual confirmation from an admin. You might be contacted soon to verify your identity. You will recieve an email once your account is approved.', 'buddypress' ) );
    	}
    
    	return $user;
    }
    #250085
    shanebp
    Moderator

    The images are not stored in the database.
    They are stored in the uploads folder.
    For a member with user_id = 1:
    /wp-content/uploads/buddypress/members/1/cover-image/

    To remove the cover photo, use the ‘Delete My Cover Image’ button at the bottom of this screen:
    .../members/designloud/profile/change-cover-image/

    If you don’t see that button, it may be an issue with your theme.
    To confirm, try switching momentarily to a WP theme like 2013

Viewing 25 results - 11,001 through 11,025 (of 69,119 total)
Skip to toolbar