Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 16,676 through 16,700 (of 69,016 total)
  • Author
    Search Results
  • #183033

    In reply to: 2.1 top features

    ricardo_s
    Participant

    Wishlist:

    1. Integrate chat option (one-to-one, group chat, friends chat)
    2. Profile header to show more info of use at a glance (much like what is shown on buddypress homepage that showcases James Jacoby’s profile header)

    #183016
    cyndimarie
    Participant

    Looks like the fatal error is most likely causing the issue:

    Fatal error: Call to undefined function bp_xprofile_create_field_type() in /var/www/vhosts/thesitename.com/www/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-classes.php on line 560

    Anyone know how to fix this?

    #183015
    cyndimarie
    Participant

    I have enabled debug mode and found some errors on the activation page: see this forum post.

    rudik123
    Participant

    It is link to my instalation -> http://www.randkujemy.pl
    I have buddypress 2.0.1 and wordpress 3.9.1

    Cheers,
    Tomek

    dugfunny
    Participant

    I am running buddypress 2.0.1 and wordpress 3.9.1, as well as a child theme of kleo 1.3. Thanks again!

    #183001
    Gemusli
    Participant

    I fixed my issue by downloading the alpha release off subversion (link to it is on the upper right download page) and uploading (ftp) the release files replacing the existing 2.0.1 with 2.1-alpha BuddyPress installation.

    #182994
    godavid33
    Participant

    The .mo and .po files are right, it’s just about the ajax. At any rate, I found my problem – if you have the Buddypress Extended Friend Request Plugin activated, the method I outlined above won’t work because they are already unhooking the bp core function to use their own!

    If you don’t use the BP extended friend request plugin, and want to know how I changed the text of the ajax button just holla and I’ll throw my code up.

    #182990
    Henry Wright
    Moderator

    @godavid33 that plugin is actually free. Maybe tear open the code to see if a solution jumps out at you? Just an idea.

    Regarding your problem, I came across the issue a few months back when 1.9 was rolled out. You need to capture the item’s ID when adding a notification. See here for some related discussion

    https://buddypress.trac.wordpress.org/ticket/5389

    #182987
    Gemusli
    Participant

    I am having the same issue, but my url structure looks like:

    thesite.com/activate/?key=4a5bb0e685b93cad4af90d46f81d2643

    I am being redirected to the homepage.

    Wordpress 3.9.1
    BuddyPress 2.0.1

    BBPress…KLEO theme. (I am not using Gravity Forms.)

    Users are being created and I can see the accounts in inactive status under dashboard->users->manage signups

    #182983
    BuddyBoss
    Participant

    Fragment caching would be ideal, but that really needs to be built into BP core. You can do it on your own but you’ll be hacking up template files right and left and it will be hard to update later. A lot of effort if you don’t NEED it. I would suggest Object Caching as Paul Gibbs said.

    Ideally you will use APC object caching as it’s really fast (stores cached values in RAM). If you use W3TC with file caching (default) it will not be as fast as it has to read from files.

    Here’s a tutorial I wrote about how to enable Object Caching on BuddyPress:

    Caching BuddyPress

    Briefly:

    If you are hosting with a VPS or other setup where you have server admin access, you can contact your web host and request that they install APC on your server (it’s free) and then it will be available to you as a very fast method for Object Caching. Generally you cannot install APC on a shared hosting environment. APC stores the cached values in RAM, which is why I recommend at least 2GB of RAM for ideal server performance.

    Once your web host has confirmed that APC is installed and working, you will then need to enable it for WordPress with a plugin. My recommended method is with the APC Object Cache Backend plugin (as Paul Gibbs suggested). This is not a true plugin, but rather a “drop-in” file. As such, you do not actually activate the plugin. You just need to copy the object-cache.php file into your /wp-content/ directory. You don’t even need to upload the actual plugin. That’s it! As long as you have APC installed on your server and have placed the file correctly, APC-powered Object Caching should now be enabled and you should begin seeing performance improvements. To confirm that it’s working, you can type this into your browser while logged in as an admin: http://www.yourdomain.com/wp-admin/plugins.php?plugin_status=dropins (change yourdomain.com!). It should show APC Object Cache as a drop-in, and if so, you now have a good caching method enabled.

    #182981
    BuddyBoss
    Participant

    And here’s a tutorial for setting up a CDN with WordPress/BuddyPress. This makes such a big difference and is really easy and cheap to set up. A no brainer.

    Content Delivery Network

    #182980
    BuddyBoss
    Participant

    Here’s a tutorial I wrote about how to enable Object Caching on BuddyPress:

    Caching BuddyPress

    Briefly:

    If you are hosting with a VPS or other setup where you have server admin access, you can contact your web host and request that they install APC on your server (it’s free) and then it will be available to you as a very fast method for Object Caching. Generally you cannot install APC on a shared hosting environment. APC stores the cached values in RAM, which is why I recommend at least 2GB of RAM for ideal server performance.

    Once your web host has confirmed that APC is installed and working, you will then need to enable it for WordPress with a plugin. My recommended method is with the APC Object Cache Backend plugin (as Paul Gibbs suggested). This is not a true plugin, but rather a “drop-in” file. As such, you do not actually activate the plugin. You just need to copy the object-cache.php file into your /wp-content/ directory. You don’t even need to upload the actual plugin. That’s it! As long as you have APC installed on your server and have placed the file correctly, APC-powered Object Caching should now be enabled and you should begin seeing performance improvements. To confirm that it’s working, you can type this into your browser while logged in as an admin: http://www.yourdomain.com/wp-admin/plugins.php?plugin_status=dropins (change yourdomain.com!). It should show APC Object Cache as a drop-in, and if so, you now have a good caching method enabled.

    #182976
    BuddyBoss
    Participant
    #182972
    BuddyBoss
    Participant

    That htaccess looks okay, but maybe it’s corrupted in some way. You could delete your htaccess (back up first) and then go to Settings > Permalinks and update the permalinks. This should automatically recreate your htaccess, which will rule that issue out.

    You could try adding these lines into your htaccess, below the other stuff:

    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php

    You could also try deactivating other plugins, and only activate BuddyPress, and see what happens. Maybe another plugin related to redirects is causing the problem.

    Beyond that, contact your web host..

    #182968
    David Cavins
    Keymaster

    Does the logout redirect work if BuddyPress is deactivated (i.e. if you’re just running a typical WordPress site)?

    #182967
    mika89
    Participant

    I just figured out that whatever the BP function I use it always return a boolean false !! What’s wrong with my code ??

    if ( !function_exists( 'bp_core_install' ) ) {
    	require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
    	if ( is_plugin_active( 'buddypress/bp-loader.php' ) )
    		require_once ( WP_PLUGIN_DIR . '/buddypress/bp-loader.php' );
    	else
    		return;
    }
    
    /* remove inactive members from friends */
    function removeInactiveFromFriends(){	
    	global $wpdb;
    	$args = array('count_total' => true);
    	$user_query = new WP_User_Query($args);
    	if ( ! empty( $user_query->results ) ) {
    		foreach ( $user_query->results as $user ) {
    			echo '<p>' . $user->display_name . '</p>';
       			$sqlGetFriends = $wpdb->prepare( "SELECT friend_user_id FROM wp_bp_friends WHERE initiator_user_id = %s",$user->ID) ;
       			$friends_id = $wpdb->get_results($sqlGetFriends);
    			foreach ($friends_id as $friend_id) {
    					$friend = get_user_by('id',$friend_id);
    					var_dump($friend);
    					echo '-----------<p>' . $friend->display_name . '</p>';
    			}
    		}
    		
    	}
    	else {
    		echo 'No users found.';
    	}	?></pre><?php
    }
    
    add_action( 'bp_include', 'removeInactiveFromFriends' );
    ?>

    I var_dumped the user object I get with the function get_user_by() and it just prints

    boolean false
    boolean false
    boolean false
    boolean false
    #182966
    islandcastaway
    Participant

    Ok, after a day of troubleshooting I figured it out. (jump to the end for the stupid answer)

    Changing themes did not fix it, but it did open up a whole new can of worms because I was using a custom child theme running off of the bp-default theme. I see that I will have to totally redo my theme because of the changing BuddyPress structure.

    I rolled my database back to 4/29/2013 wordpress 3.6 era (3.9 files tho)

    deactivated BuddyPress
    Installed BuddyPress 1.7
    reactivated BuddyPress
    buddypress 1.7 works

    Did the same for 1.8 – 1.9. They all worked.
    I did notice that the title for the “members” list was “directory”, not members.
    I also noticed that in the plugins list throughout the updates it always said “There is a new version of BuddyPress available. View version 1.7 details”, even after 1.9

    Did the same steps for 2.0, still working.
    The “members list” page title was now “members” instead of “directory”.

    Did the same steps for 2.01, still working.

    The entire time I never hit upgrade network. When I did, I got an error saying no connection to sites, my dev box has all of the addresses hard coded in the hosts files and the site did pull up, just got the network update errors.

    Tried deactivating domain mapping, still errors.

    Updated the database with a current backup and BuddyPress was broke again.

    Tried the permalink switch again. Never noticed “BuddyPress is almost ready. You must update your permalink structure to something other than the default for it to work.” before.

    Went through each of the permalink options and still no go.

    Deactivated all plugins except BuddyPress, still no go.

    Rolled back the data base to 4/29/2013 and exported the wp_options table

    Imported the 3.6 era options into the 3.9.1 database.

    Tit worx.

    Got a “Fast Secure Contact Form has imported settings from the old version.”

    “Site Tracking Directory” is the “blogs” list page title

    So I manually flushed the rewrites table in wp_options, no go.
    Manually deleted _transient rows, no go

    Compared the bp-options rows in wp_options in the old and new databases.
    “blogs” was missing from “bp-active-components” in the newer database:

    a:4:{s:8:”xprofile”;s:1:”1″;s:8:”settings”;s:1:”1″;s:5:”blogs”;s:1:”1″;s:7:”members”;s:1:”1″;}

    Pasted that into the newer database and BINGO!

    Went to the BuddyPress component admin page and no blogs setting, but toggling on/off “Site Tracking” was they key.

    One friggin checkbox.

    How the ### does “Site Tracking – Record activity for new sites, posts, and comments across your network.” translate into disabling “members profile pages” and the “blogs list”?

    That seriously need to have a better description.

    So mission accomplished.

    Grrrrrrrrrrrrrrrrrrr

    #182958
    David Cavins
    Keymaster

    The label of the button is internationalized. See bp-friends-template.php : bp_get_add_friend_button()

    I’d double-check this guide: https://codex.buddypress.org/getting-started/customizing/customizing-labels-messages-and-urls/

    I personally had trouble with getting the naming convention on the .po and .mo files right.

    #182957
    godavid33
    Participant

    Bumping is usually when a topic has not been solved, but an answer is still needed (at least that has been my experience in every forum I’ve ever been in).

    Yes, buddypress natively produces notifications for most things. I have never natively gotten a notification for activity comments/replies, and this is what I’m trying to accomplish (as well as notifications for favorites), and I can add the notification but I need to know how to add a URL with it as well.

    #182951
    Aron Prins
    Participant

    Hey @sigtric,

    When you’re on the menu’s page, hit the Screen Option on the top right.
    Check the BuddyPress checkbox and voila 😉

    Hope this helps!
    Cheers,
    Aron

    #182948

    In reply to: Translation problem

    danbp
    Participant

    Hi 3×7 !

    since 2.0 BP is loading automatic translation; This means that if you had a previous version installed, with a correct translation, that the new one is now active.

    Check in the wp/content/languages/ directorythe /plugins/ folder who maybe contain buddypress-xx_XX.mo/po files and it’s possible that you have also buddypress-xx_XX in the /languages/

    Open the po file and take a look to header. Normally you will see the version number.

    If you use a custom po/mo for your BP, put these files in the wp/content/languages/plugins/

    See also in your theme and avoid to use buddypress-xx_XX.mo from /buddypress/bp-languages/ (as a reminder)

    More details about translation, here and here.

    BP translation for all languages are now on translate.wordpress.org. If you’re a translator or if you want to contribute, i encourage you to participate on this projet. 😉

    #182939
    julianprice
    Participant

    @bp-help I guess form this previous forum topic he’s wanting to create just utilize private messages https://buddypress.org/support/topic/using-buddypress-messaging-in-a-unique-way/


    @sparkingproducts
    Can you gives us more detail of what you trying to accomplish because it could be as simple as deactivating a component or styling CSS elements to be hidden

    #182937
    julianprice
    Participant

    @godavid33 Just thought I would comment because you bumped your post. What I understanding bumping a post shows topics have been respond too.

    Unfortunately, I am unable to help you because completely out of beginner knowledge but I did go back & look at all your post on the forum. I am trying to understand the logic in all the customization when BuddyPress natively provides notifications.

    #182935
    julianprice
    Participant

    Have you configured components by checking friend connections located under Settings > BuddyPress > Components https://codex.buddypress.org/getting-started/configure-components/

    https://mercime.files.wordpress.com/2013/12/bpcomponents1.png

    #182934
    julianprice
    Participant

    @antimuffin are you referring to extending profile fields. If so here’s the link for that which supports drop down select. however unsure if it supports conditional/dependent fields. You may have to look into a plugin.

    i.e
    Drop Down Select:
    – option 1 NAME
    – option 2 NAME
    – option 3 Other
    if other [TEXT BOX]

    Anyways here’s the link to codex https://codex.buddypress.org/buddypress-components-and-features/extended-profiles/

Viewing 25 results - 16,676 through 16,700 (of 69,016 total)
Skip to toolbar