Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 25,351 through 25,375 (of 94,558 total)
  • Author
    Search Results
  • @dugfunny,

    the following thread will solve your problem

    https://buddypress.org/support/topic/block-activity-stream-types/

    Naijaping

    #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)

    #183029
    rybo3000
    Participant

    Hello all,

    I’m in the process of trying to rescue a failed project built using BuddyPress. It’s a media sharing platform for church organizations to be able to share all of the media content that they generated for their Sunday church services. Other churches could then search for content and reuse it.

    One of the key challenges I have is trying to find a way to create a custom post which will display a subset of media items (videos, images, motion backgrounds, PDF docs, etc). Each collection of media items in its respective post would then be delivered via a cart “checkout” for use by church organizations.

    These are going to be user-submitted media collections, so I have to idiot-proof the upload process (I’m currently looking at Gravity Forms for a multi-page form). My big problem is that I can’t rely on simple category tags in a custom taxonomy to permanently bind media items together in a collection. Once someone else uses that same category tag, the media collection would start to contain media items that aren’t related to the original upload.

    Does anyone know of a way that a unique postmeta identifier could be automatically assigned to an upload form, in a way that wouldn’t require the uploading party to think of it themselves?

    The fallback is that I can make each upload subject to my approval, and assign those postmeta identifiers on the backend. Either way, I’d still need to engineer a UI for me to be able to do that.

    #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.

    cyndimarie
    Participant

    I am trying to fix my user activation page (see this forum post). Here are the errors on the site in debug mode:

    Error shown throughout site:

    Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in /var/www/vhosts/thesitename.com/www/wp-includes/functions.php on line 3245

    Errors shown on Activation page (after user registers they are sent an email with an activation link, they click on it and are sent to this page. The page should have content, but for some reason it is completely blank):

    Notice: update_user_meta( $user_id, ‘last_activity’ ) was called incorrectly. User last_activity data is no longer stored in usermeta. Use bp_update_user_last_activity() instead. Please see Debugging in WordPress for more information. (This message was added in version 2.0.0.) in /var/www/vhosts/thesitename.com/www/wp-includes/functions.php on line 3245

    Notice: get_user_meta( $user_id, ‘last_activity’ ) was called incorrectly. User last_activity data is no longer stored in usermeta. Use bp_get_user_last_activity() instead. Please see Debugging in WordPress for more information. (This message was added in version 2.0.0.) in /var/www/vhosts/thesitename.com/www/wp-includes/functions.php on line 3245

    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

    Any help would be appreciated 🙂

    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!

    #183003
    godavid33
    Participant

    WP 3.9.1 BP 2.0.1

    I am trying to deregister the javascript and then override it with custom javascript. I made a couple edits, mainly just making it so the whats-new post form doesnt animate on click. However, on certain activities (such as favoriting) I get the following javascript error: BP_DTheme is not defined

    Below is the code I am using to override the buddypress javascript.

    add_action( 'wp_print_scripts', 'de_script', 100 );
    add_action( 'wp_print_styles', 'de_style', 100 );
    
    function de_script() {
    	wp_dequeue_script( 'dtheme-ajax-js' );
    	wp_deregister_script( 'dtheme-ajax-js');
    	wp_enqueue_script( 'dtheme-ajax-js', get_bloginfo('stylesheet_directory') . '/_inc/buddypress.js', array( 'jquery' )  );
    	
    	wp_deregister_script( 'bp-legacy-js');
    	wp_dequeue_script( 'bp-legacy-js' );
    	wp_enqueue_script( 'bp-legacy-js', get_bloginfo('stylesheet_directory') . '/_inc/global.js', array( 'jquery' )  );	
    	
    }
    
    #183002
    StuntDevil007
    Participant

    I noticed there is no longer a special nav menu item menu for buddypress. Is there anyway to get that back?

    #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
    #182975
    hkcharlie
    Participant

    I see that Buddypress now has this extended menu system that allows you to put profile menu’s on the menu eg: my emails, my groups etc

    Is it now (more easily) possible to create a button with the same characteristics.
    I was looking to see if I could copy a link from the menu and put it in my button, but there is no link to copy.

    Is there any other simple solution that I am overlooking?

    (on a side note, I have been using Buddypress Direct Links Plugin and although the new menu option are available, if nothing else the user menu option with integrated avatar is a lot more slick than the built in version, also emails,notifications and groups with “totals”!)

    #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.

Viewing 25 results - 25,351 through 25,375 (of 94,558 total)
Skip to toolbar