Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 16,701 through 16,725 (of 94,565 total)
  • Author
    Search Results
  • #248948
    Laz
    Participant

    Doesn’t work. When wp_create_user is called, it clearly doesn’t alert BuddyPress to generate a new new_member activity. Is there any hook or any function to call to create that?

    Andrea Armeni
    Participant

    Hi to everyone,
    I’m new with buddypress, so i would show some columns in the admin user view (/wp-admin/users.php).
    I’ve created 2 custom field in extended profiles (/wp-admin/users.php?page=bp-profile-setup) so i would insert this 2 custom field in the panel where the admin can edit/view all users (about 30 members).
    The two custom fields are numerical, so the user can update manually this value.
    Please could you tell me how i can make this?
    Thanks a lot
    Kind regards

    Note: Sorry, my english is not so good

    #248940
    michaelnewsomejr
    Participant

    I’ve been having a problem getting the profile image and cover image to work. When I attempt to crop the image, it give me the “there was an error cropping your profile image” error and doesn’t post.

    The site is hosted on a dedicated server.

    I have deactivated all plugins except Buddypress and activated the 2015 theme, and it still gives the same error.

    PHP version: 5.6
    Buddypress version: 2.4.3
    Wordpress version: 4.4.1

    The file I’m trying to uplaod and use is 9.7kb, titled X.png, and 300px by 375px

    Any help or advice would be appreciated/

    #248933
    lolotrgeek
    Participant

    Hi, I want to change the subject of the email buddypress sends after a friend request.

    Here’s what I have, it is not working:

    function newSubject($initiator_name )  
    {	
    	$subject  = bp_get_email_subject( array( 'text' => sprintf( __( 'New subject %s', 'buddypress' ), $initiator_name ) ) );
    
    		return $subject;
    }
    
    add_filter( 'friends_notification_new_request', 'newSubject', 10, 1);

    What am I doing wrong? (reference)

    Thanks!

    #248913
    jmgrodi
    Participant

    Hey All,

    Just sharing in case this might be helpful. I (like many) had done much fruitless searching for a way to bump activity feed items that had new comments. This isn’t ideal, but seemed the only way to stay appraised of new comments on older posts and make these visible to users.

    @r-a-y ‘s “BuddyPress – Show Individual Activity Comments Separately” plugin works great for this. It not only adds new activity items for comments on the activity feed, but also for blog comments (in my case, a variety of custom post type comments!).

    The new activity feed items say “(user) posted a new activity comment (x time ago)”

    In the case of comments on the blog or custom post types, the items say “(user) commented on the post (title) (x time ago)”

    Additionally, each item includes a button “View Conversation”, taking you directly to the original activity item OR post on which the comment was made.

    https://gist.github.com/r-a-y/10937509

    I hope that all made sense.

    JMGrodi

    #248911

    In reply to: Error Posting Comments

    Manoj Chacko
    Participant

    I did check the theme before with twenty fifteen and the error was still there, we currently using a studiopress theme. But I checked it again with twenty fifteen and the issue remains.

    1. Which version of WordPress are you running?
    WordPress 4.3.2

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

    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?
    Yes, don’t remember which version it was 4.2.* I think

    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?
    BuddyPress 2.4.3.

    7. Did you upgraded from a previous version of BP? If so, from which version?
    yes, I think it was buddypress 2.2.*

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    Yes,
    Akismet; BuddyPress; BuddyPress Docs; BuddyPress Group Email Subscription; BuddyPress Sitewide Activity Widget; CustomPress; Google Analytics +
    ImageInject; Jetpack by WordPress.com; More Privacy Options; Multisite Plugin Manager; New Blog Templates; Site Categories; TinyMCE Advanced
    Ultimate Branding; User Role Editor; WordPress Importer; WP Author Slug; WPMU DEV Dashboard; WPMU Ldap Authentication;

    9. Are you using the standard WordPress theme or customized theme?
    Studiopress theme (Tested with twenty 15 as well)

    10. Have you modified the core files in any way?
    No
    11. Do you have any custom functions in bp-custom.php?
    No
    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    BBpress Version 2.5.8

    13. Please provide a list of any errors in your server’s log files.
    Under the windows event viewer is an error
    “Faulting application name: httpd.exe, version: 2.4.16.0, time stamp: 0x55a22a64
    Faulting module name: php5ts.dll, version: 5.6.12.0, time stamp: 0x55c3b699”
    Happens whenever this error occurs.
    Nothing related within the apache logs That I can see.

    14. Which company provides your hosting?
    University Hosted (Temple University)
    15. Is your server running Windows, or if Linux; Apache, nginx or something else?
    Windows running Xampp

    akndsandhu
    Participant

    Dear All,
    I am new to buddypress, in my registration page there is one extra field that i want to remove its the name of “hero” and my link is http://shaaadii.com/register/ .
    please help me to remove this extra filed.

    Xtremefaith
    Participant

    I have a custom registration form that tweaked the registration.php template to include a couple additional inputs. The form works as expected, being processed through the buddypress channels

    bp_core_screen_signup()

    Then I hook into the bp_core_signup_user like so:

    # Capture registration form's metadata fields
    add_action('bp_core_signup_user', array( $this, 'add_registration_metadata' ),10 ,1);

    Through my custom add_registration_metadata() method I store the $_POST meta to the user_id like so:

    public function add_registration_metadata($user_id){
    	$type = isset($_POST['team_type']) ? $_POST['team_type'] : FALSE;
    	if ($type){
    		# Make sure that the post value matches the available options
    		if (($type == "type1") || ($type == "type2"))
    			# Save the value as user meta
    			add_user_meta( $user_id, 'team_type', $type);
    	}
    	/* Save username to metadata */
    	$username = isset($_POST['signup_username']) ? $_POST['signup_username'] : FALSE;
    	/* Save first name to metadata */
    	$fname = isset($_POST['signup_fname']) ? $_POST['signup_fname'] : FALSE;
    	/* Save last name to metadata */
    	$lname = isset($_POST['signup_lname']) ? $_POST['signup_lname'] : FALSE;
    
    	/* Update WordPress Details */
    	$userdata = array (
    		'ID' => $user_id,
    		'first_name' => $fname,
    		'last_name' => $lname,
    		'nickname' => $username,
    		'user_nicename' => DIV_Helper::slugify($username)
    	);
    	wp_update_user( $userdata );
    }

    As expected all the values are set in the usermeta table. I would think this is all that is left to do but its not and there is some confusion as to what is happening next.

    So now the user attempts to activate their account through their email obviously passing the activation key. This works! BUT my metadata values are gone. For some reason BuddyPress wipes the values stored in the usermeta table. So then I try to hook into the bp_core_activate_signup like so:

    add_action('bp_core_activated_user', array( $this, 'setup_registration_metadata') );

    This custom method attempts to re-update the user information but for some reason no combination seems to work, here’s what I have at the moment:

    public function setup_registration_metadata($user){
    	if (! empty( $user ) ) {
    		if ( is_array( $user ) ) {
    			$user_id = $user['user_id'];
    		} else {
    			$user_id = $user;
    		}
    	
    		if ( ! empty( $user_id ) ) {
    			$usermeta = get_user_meta($user_id);	
                                
                                // This doesn't seem to work as expected	
    			$type = $usermeta['team_type'];
                                // But this does...
                                $type = get_user_meta($user_id, 'team_type' TRUE);
    
    			# Make sure the value matches the available options
    			if (($type == "type1") || ($type == "type2"))
    				# Set the member type
    				bp_set_member_type($user_id, $type);
    
    			# Setup username
    			$username = $usermeta['username'][0];
    			# Setup first name
    			$fname = $usermeta['first_name'][0];
    			# Setup last name
    			$lname = $usermeta['last_name'][0];
    			
    			/* Update WordPress Details */
    			$userdata = array (
    				'ID' => $user_id,
    				'first_name' => $fname,
    				'last_name' => $lname,
    				'nickname' => $username,
    				'user_nicename' => DIV_Helper::slugify($username)
    			);
    			wp_update_user( $userdata );
    
                      ...
    }

    Any clues as to how I can update the first & last names (not using some xprofile field that redundantly stores the same information), as well as any other custom fields I may add in the future. It’s seems I’m on the right track, this just is working right now.

    Thank youl

    #248892
    wph4
    Participant

    Hi,

    I think Buddypress + bbpress would help me. I am looking for a solution like this:

    A want to have a list of members and groups. All groups will be private of hidden.
    Further I will give each group its own forum. I am using bbpress for this.

    I want to be sure each member can only see the forums from own group. How can I get it done? or does it already work this way?
    Trying it out I have seen that some group forums could be accessed from the forum root. How can I avoid this?

    Thanks a lot for taking the time to help!

    Cheers!

    Slava Abakumov
    Moderator

    This is a required field
    On my screenshot here https://monosnap.com/file/GLDmV6D1PVbSwtSEB7rDVQatZKcC93# that text (This field is required) is just a field description.

    It seems to me, that you are using the old version of BuddyPress. What is it?
    On newest versions required fields are marked with the text (required), and not asterisk.

    #248890
    pandreas
    Participant

    I would also like to have some help to this topic.

    I have the same problem. Two languages on my site using polylang! How can these buddypress pages be translated and work to the second language as well?

    Thank you in advance!

    #248887
    bruce30
    Participant

    i hope someones still there. 🙂
    i still cant change the Messages word, that comes from the buddypress right? no problem with the Forum word, its already changed.

    #248877

    In reply to: Error Posting Comments

    @mercime
    Participant

    Issue is whenever user post a comment

    @mjc82in Just so we’re clear, when you say “post a comment”, do you mean post a comment in the comment form of a blog post? If so, that could be an issue with a theme which needs to be updated to be compatible with the latest WP and BP versions.

    What theme are you using? Have you tried changing to the Twenty Fifteen theme and check if issue is resolved?

    I can give access to my site to one of the moderators or developer if it helps.

    We will ask for a throw-away (not admin) account should the need arise. But at this stage, it’s looking to be a theme issue, not a BuddyPress bug. So your problem is not resolved by changing the theme, do provide answers to all the questions in the link I gave you so we can see the overall structure of your installation.

    #248873

    In reply to: Theme Incompatible?

    Slava Abakumov
    Moderator

    I believe this theme compatibility problems is better to discuss with theme authors. I googled and found several issues with this particular theme, that users can’t fix by themselves.

    BuddyPress tries to work with all possible themes, and it’s very hard to be good with everyone. In my opinion, theme authors should check their themes with popular plugins.

    #248870
    Slava Abakumov
    Moderator

    Separate languages – no, because all the plugins (and BuddyPress is a plugin) use the same language as the system. Because of the amount of hooks/filters in WordPress it’s nearly impossible (or very time and/or resources consuming) to create a reliable solution, that will switch language for plugins, but will not for WordPress.

    The easiest way is to have /wp-admin in one language, and front-end – in another.
    Here is the solution: https://wordpress.org/support/topic/different-languages-for-front-end-and-back-end?replies=5

    #248869
    Slava Abakumov
    Moderator

    I’m the developer of this plugin.

    BP Default Data does nothing on plugin activation and deactivation. It has own clearing routine, you can see it here: https://github.com/slaFFik/BP-Default-Data/blob/master/bp-default-data.php#L643
    If you deleted dummy data by your own – some orphaned data could be left in DB. It’s better to use built-in functionality. It removes everything, not touching the user with ID=1. It does NOT touches wp_posts table, where all posts and pages are stored.

    To fix – just create a page and assign it as Members directory page in BuddyPress -> Pages.

    #248868
    aamir_faried
    Participant

    @johnnybkk, could you please tell me how did you manage to get buddypress with polylang or or other multilanguage plugin

    It works : http://www.mysite/members
    This link does not work : http://www.mysite/en/members

    could you pleae tell me how can i make it work. thanks

    #248863

    Topic: Subdomains

    in group forum Installing BuddyPress
    FridaFric
    Participant

    Hello everyone.
    I want to make a couple of social networks in the BuddyPress. Each network should be different, should uses different plug-ins and has a different themes. My provider advised me to do this in a subdomain. I created them in cPanel but they were not active. Then he told me that I have to make WP Multisite. I did this by using the tutorials https://www.youtube.com/watch?v=y3cd5N4NcDw. But again subdomains are not active. Then I came across this tutorial https://www.youtube.com/watch?v=c0yQHucyENk who says that we have to make the MySQL and database. Is that all necessary and whether is a problem that I made WP multisite? I tried to used those sites that I made with multisite but they seem not support BP and they are unable to put different themes for each site.
    I hope someone will be able to help me I really have no idea what to do next.
    Regards,
    Frida

    #248861
    r-a-y
    Keymaster

    You might want to read this reply:
    https://buddypress.org/support/topic/css-causing-cover-image-to-disappear/#post-248031

    Let me know if that helps.

    #248860

    In reply to: where is edit this?

    Hastig
    Participant

    I think activate.php

    /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/activate.php

    To edit you will first want to copy it to your own theme’s buddypress folder

    #248855

    In reply to: Error Posting Comments

    Manoj Chacko
    Participant

    Hi,

    I am running WordPress 4.3.2 and BuddyPress 2.4.3. BBpress Version 2.5.8 . Issue started happening couple of versions back. Installed in the root (using Xampp) It was working fine before wordpress/buddypress upgrade past summer.

    Issue is whenever user post a comment, it think for a second and gives out an error.
    Error, sometimes on some browser is just a error page, sometimes it s shows duplicate post error.

    But when I go back refresh the page. The comment was published. So something is happening after comment gets published and it has to redirect to the page.

    I have a bunch of plugins installed, but as rule of elimination I tried different combination. by removing and putting in plugin one by one.
    Conclusion issue is with WordPress/Buddypress/Akisment combo. with just wordpress and akismet it worked. just wordpress and buddypress it worked. With all three issue reappears, I have been troubleshooting it with Akismet first, But does not look like they are causing the issue.

    I can give access to my site to one of the moderators or developer if it helps.This issue is kind of becoming critical now.

    Thanks
    Manoj

    #248841
    Hugo Ashmore
    Participant

    Those look to be modified files, not the copies from the BP core plugin, the cover-image-header.php file appears to be missing some elements necessary.

    Again as my earlier comment have you asked this question of the themes authors, you need to as we can’t really support third party custom work, if they find that there is indeed an issue with the core implementation then we’ll definitely look into it.

    Also you could look to test things by ensuring you are running a copy of the files taken from the core bp-templates/bp-legacy/buddypress/members/single/ directory.

    #248838
    Florent
    Participant

    Please find portion of my home.php that may fire the cover image :

    <div id="item-header" role="complementary">
    
                  <?php
                  /**
                   * If the cover image feature is enabled, use a specific header
                   */
                  if ( version_compare( BP_VERSION, '2.4', '>=' ) && bp_displayed_user_use_cover_image_header() ) :
                      bp_get_template_part( 'members/single/cover-image-header' );
                  else :
                      bp_get_template_part( 'members/single/member-header' );
                  endif;
                  ?>
    
              </div>

    According to this, file cover-image-header.php loads the cover image but it is strange because as you can see this file display directly the avatar image. The div item-header-avatar is inside in item-header.

    <?php
    
    /**
     * BuddyPress - Cover Header
     *
     * @package BuddyPress
     * @subpackage bp-legacy
     */
    
    ?>
    
    <?php
    
    /**
     * Fires before the display of a member's header.
     *
     * @since 1.2.0
     */
    do_action( 'bp_before_member_header' ); ?>
    
    	<div id="item-header-avatar" class="rounded">
    		<a href="<?php bp_displayed_user_link(); ?>">
    
    			<?php bp_displayed_user_avatar( 'type=full' ); ?>
    
    		</a>
    		<?php do_action('bp_member_online_status', bp_displayed_user_id()); ?>
    	</div><!-- #item-header-avatar -->
Viewing 25 results - 16,701 through 16,725 (of 94,565 total)
Skip to toolbar