Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 9,551 through 9,575 (of 69,015 total)
  • Author
    Search Results
  • #257251
    wescravn
    Participant

    DO you know any import plugin for free that supports buddypress?

    #257250
    Paul Wong-Gibbs
    Keymaster

    Unless they have an add-on to support BuddyPress, you’re out of luck (unless you write one yourself).

    #257225
    coffeywebdev
    Participant

    You could hook into the bp_activity_add action like this:

    function bp_plugin_hook_activity_add( $activity ) {
     
        // insert code to be executed when activity is created
        // read the link below for more code examples
     
    }
     
    add_action( 'bp_activity_add', 'bp_plugin_hook_activity_add', 10, 1 );

    You can access the activity variables like this:

    $activity[‘type’] or $activity[‘content’]

    you should be able to use any of the keys below:

    id
    action
    content
    component
    type
    primary_link
    user_id
    item_id
    secondary_item_id
    recorded_time
    hide_sitewide
    is_spam

    For more reading check out this link:

    Posting Activity from Plugins

    #257222
    mrjarbenne
    Participant

    As you have established that this is a WordPress issue, and not a BuddyPress one, you might be better to create a ticket over on wordpress.org, where there are more eyes looking at your ticket.

    #257215
    mrjarbenne
    Participant

    You could use something like this to add a badge to admin/verified users.

    https://wordpress.org/plugins/buddypress-verified/

    #257210
    mrjarbenne
    Participant

    Did you try this code snippet from the BP codex: https://codex.buddypress.org/getting-started/guides/change-members-profile-landing-tab/

    It does exactly what you are looking for.

    #257202
    r-a-y
    Keymaster

    The Notifications %s string looks like it is available:
    https://plugins.svn.wordpress.org/buddypress/tags/2.6.1.1/buddypress.pot

    If you’re using a custom translation from a previous version, you need to merge your language files together. Here’s a quick tutorial I found on Google:
    http://www.marketpressthemes.com/blog/how-to-merge-two-po-files-using-poedit/

    You might also benefit from a translation that is already available here:
    https://translate.wordpress.org/projects/wp-plugins/buddypress

    #257201
    Anonymous User 14235950
    Inactive

    Nope, it’s Microsoft Dynamics CRM. With REST, shouldn’t it be possible to just add our CRM URL to a plugin and have it query that to find our members, then it does everything else automatically? It would be nice if BuddyPress added this functionality since REST seems like it’s the de facto standard for apps to communicate data to each other now. Custom solutions for each CRM type seem kind of backwards when REST is already a possibility.

    #257200
    r-a-y
    Keymaster

    I see that BuddyPress has a REST API now that can access BuddyPress data from a URL.

    BuddyPress is in its early stages of developing the REST API. It’s not close for production usage yet. Follow development here:
    https://github.com/buddypress/BP-REST

    It would be great if I could just add a URL somewhere in the settings and have data get pulled in.

    You will need to do some custom development here.

    If your CRM is CiviCRM, there is a BuddyPress plugin that syncs with that. If your CRM is something else, you could take a look at the codebase and modify it to suit your needs:
    https://github.com/christianwach/civicrm-wp-member-sync

    #257180
    r-a-y
    Keymaster

    I don’t believe this is a BuddyPress issue. When you change your permalinks, are you able to visit a regular WP post permalink? If not, it’s a WordPress issue.

    I would say make sure your server is able to write to the .htaccess file.

    Also, you might have to alter your .htaccess file to add the following to the top of the file:

    Options +FollowSymlinks

    #257166
    buddycore
    Participant

    I’m sorry, groups_is_user_admin() is the wrong function, you need something more like this current_user_can('editor') || current_user_can('administrator'). That needs to be wrapped in an IF statement.

    You would put that in your-theme/buddypress/activity/post-form.php.

    #257161
    shanebp
    Moderator

    Use the Group Extension API. Bit of a learning curve, but powerful once you get it.

    #257149
    buddycore
    Participant
    buddycore
    Participant

    I believe this is the default functionality of a BuddyPress powered site.

    Your theme may be hijacking this, I’d look in the theme files first for a template.

    #257144
    buddycore
    Participant

    First you are creating a custom function called automatic_group_membership() this takes one parameter $user_id.

    This function terminates if there is no $user_id provided, meaning you don’t run rogue code and your site is more optimised.

    When a $user_id is present the groups_accept_invite() function is run. This function is a BuddyPress core function you can find it in wp-content/plugins/buddypress/bp-groups/bp-groups-functions.php on line 1400.

    It accepts two parameters a $user_id and a $group_id. You need both in order to create the relationship.

    This function is “hooked” with add_action() which is a WordPress core function. This function add_action() has many hooks available for various situations. You can read more about hooks here https://codex.wordpress.org/Plugin_API/Hooks.

    Essentially it’s an opportunity to run your own code against WordPress core, or in this case BuddyPress core. BuddyPress provides the hook and we use them to achieve cool things.

    So the hook in this case is bp_core_activated_user and the code we want to run when this hook is available would be the customer function automatic_group_membership which is passed as a second parameter.

    I’m not sure where the $user_id gets populated along the way here, nor the $group_id maybe someone can help?

    Otherwise, I would do this not on activation but when a user has logged in for the first time.

    Then we have access to global $bp which contains a loggedin_user->id which can be used with this function and you could manually set the $group_id in bp-custom.php

    #257118
    etavio
    Participant

    Thank you for your thorough explanation and my apologies for the delayed response — while this method did get rid of the title, it is still not pulling content from the post editor. Basically, the whole goal behind this is so I can use a shortcode above the buddypress activity feed to insert a small slider. Furthermore, what would I have to add to that php snippet to pull in widgets as well?

    Thanks again

    #257113

    In reply to: Login Redirect

    Earl_D
    Participant

    Don’t know if it will work with your theme but you may want to look at the code snippets here

    Login redirects not working

    #257100
    hidalgoantonio
    Participant

    Hi!

    Found the culprit!

    Like you said, it wasn’t Buddypress at all. It was the rtMedia plugin’s js file called “rtMedia.backbone.js” that had the on click function set to “false” for some reason. I changed that to “true” in row 756, and deleted this from rows 717-723:

    //handling the "post update: button on activity page
    	jQuery( '#aw-whats-new-submit' ).removeAttr( 'disabled' );
    	jQuery( document ).on( "blur", '#whats-new', function () {
    		setTimeout( function () {
    			jQuery( '#aw-whats-new-submit' ).removeAttr( 'disabled' );
    		}, 100 );
    	} );

    Just documenting this here in case other folks find their way to this through search engines.

    Cheers!

    #257099
    Marcos Nobre
    Participant

    Hi, this started to happen to me with the latest buddypress update, I have a buddypress folder in my theme with my customizations, so I tried renaming that folder so it won’t be used, however the issue still occurs…

    the php error is the following

    [error] 10524#0: *41486276 FastCGI sent in stderr: “PHP message: PHP Warning: reset() expects parameter 1 to be array, boolean given in /var/www/website.com/wp-content/plugins/buddypress/bp-core/bp-core-template.php on line 3048” while reading response header from upstream, client: 74.130.56.345, server: website.com, request: “GET /members/meinhardt/media/604/ HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php5-fpm.sock:”, host: “www.website.com”, referrer: “http://www.website.com/activity/“

    #257095
    juanandrius
    Participant

    Hi Henry Wright,

    I solved my problem. i had to unclick this option:

    “Only registered or approved members can view BuddyPress/bbPress pages (Private Network).”

    and it was fine.

    Thanks!!

    #257086
    thilina82
    Participant

    Oops sorry…. I found the error.

    I have changed the wrong register.php

    Earlier I have changed “/public_html/wp-content/plugins/buddypress/bp-themes/bp-default/registration/register.php

    Changing the text in the following register.php solved the problem

    /public_html/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/register.php“.

    buddycore
    Participant

    I use a shared hosting environment and performance is sluggish at best and I’ve taken a lot of time to develop a theme that is barebones with regard to what WordPress and BuddyPress both give you.

    So, you may want to setup in an environment where you can be provisioned for more hardware resources or better hardware.

    Like Paul says though, there are many successful sites out there. I’d do your research and speak with the host.

    I’m not savvy in this area, only speaking from experience,

    #257073
    Earl_D
    Participant
    #257069
    hidalgoantonio
    Participant

    Hi. Thanks for your response.

    Unfortunately, the issue is still ongoing. I’ve tried simple javascript, invoking jQuery functions, etc.

    It looks like some triggers are being applied from separate scripts.

    I’ve installed BuddyPress without modifying anything from the core in two separate websites and the issue is being reproduced in both.

    I’ll continue researching; if I figure it out, I’ll post the solution here.

    Thanks again.

    #257068
    Henry Wright
    Moderator

    Try asking the theme author to add BuddyPress support. It’s easy for themes to support BuddyPress ever since the template hierarchy went live in BP 1.7.

Viewing 25 results - 9,551 through 9,575 (of 69,015 total)
Skip to toolbar