Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 16,776 through 16,800 (of 69,108 total)
  • Author
    Search Results
  • #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/

    #182929
    mth75
    Participant

    @julianprice

    I did a test on a clean wordpress/buddypress/bbpress install, same problem (no plugins except buddy press/bbpress).

    Thx for the tip, i’ve planned to look into this one in new release (parallel to a new buddyboss rel.).

    In the meantime I’ve created a ticket … this is a bug.

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

    Very nice corporate site btw, we don’t have those vista’s here in the Netherlands.

    #182926
    mth75
    Participant

    @julianprice

    Thx for looking Julian. I did check with Buddyboss (they are great indeed). I tested with a none Buddyboss theme/install (wp 2013 en 2014) … same problem. It’s most definitely a Buddypress issue.

    The guys from Buddyboss made a note of my problem, but I won’t hold my breath for this one.

    Can I elevate this problem as a bug?

    Best regards,

    Marc

    #182903

    In reply to: Theme development woes

    ernest8888
    Participant

    Hi Renato
    Thanks for your fast reply, yes you are right CIAB does the same as BuddyPress in a way, But it still needs Buddypress. I have looked at many really many BuddyPress theme, compaired them with non BuddyPress themes. I think I understand the template organization and have followed it. it is something else that I miss, I am thinking more on some type of code or function. That tells BuddyPress that I am a BuddyPress theme. I have seen code like this in many BuddyPress Parent themes
    if ( ! function_exists( ‘bp_dtheme_setup’ )
    function bp_dtheme_setup()
    add_theme_support( ‘buddypress’ );
    if ( function_exists( ‘bp_is_active’ ) )
    if ( bp_is_active( ‘friends’ ) )
    add_action( ‘after_setup_theme’, ‘bp_dtheme_setup’ );
    endif; Thing something here tell BuddyPress if a theme is a BuddyPress theme Or not
    I need to find out what that is and do it in a child theme. So that BuddyPress will now recognize my theme as a BuddyPress theme.
    If I get the message this is not a BuddyPress compatible theme what am I missing?

    Thanks
    EMac

    #182884
    shanebp
    Moderator

    @mika89

    You’re probably calling the BP function before BP has loaded.
    Read this: https://codex.buddypress.org/plugindev/checking-buddypress-is-active/

    There may be additional problems with your code including the issue raised by @henrywright

    #182876

    In reply to: Theme development woes

    Renato Alves
    Moderator

    Hi @ernest8888,

    I’ve never used Commons In a Box, so I couldn’t say what kind of theme compatibility is necessary to work with it.

    I do think you’re using two plugins that perform the same thing, as far as I know about it, CIAB does what BuddyPress does, am I wrong?

    Also, check if there has to be some sort of organization in the template structure for it to work. That must likely be the problem in your case.

    #182875
    okamiokami
    Participant

    @sharmavishal; @bp-help
    thank you for your reply.

    I installed BuddyPress Registration Options (latest stable release), and left it as the only Registration plugins.

    Apparently everything is working fine: I get an email for every new user request, and I can veto the application if necessary.

    I’d like to thank everybody for the help; I’ll post a follow-up in a few weeks.

    #182873
    mika89
    Participant

    Hi ! Thanks for your answer.

    Well, I’m a begginer in BP dev so I must have forgot something.
    BP is activated, but what do you mean by “Friends component enabled” ? If it means that users can have friends, yes it’s enabled.

    When you develop a plugin isn’t there issues of dependencies ? Like, shouldn’t I include some files ? I tried :

    require_once(ABSPATH . '/wp-content/plugins/buddypress/bp-friends/bp-friends-functions.php');
    require_once(ABSPATH . '/wp-content/plugins/buddypress/bp-friends/bp-friends-classes.php');

    But everytime it tells me that an other function is undefined, so I don’t think it’s the right way to do it…

    #182870
    ernest8888
    Participant

    Hi it is very nice and friendly from all the people that help us newbe’s , but it seems that at know one want to say add this to your child theme and it will be buddypress v2.0.1 compat.

    Thanks

Viewing 25 results - 16,776 through 16,800 (of 69,108 total)
Skip to toolbar