Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 18,701 through 18,725 (of 94,540 total)
  • Author
    Search Results
  • aniclip
    Participant

    Maybe complex question I still dont find the way to finalize it :
    A. ACTIVE TEMPLATE :
    a.1 – kleo buddypress website
    a.2 – wpmudev plugins
    a.3 – woocommerce
    a.4 – gravityform
    a.5 – xfield buddypress

    B – SITUATION
    Everybody can create a profil its ok but everyone have the same question. I need different data for each kind.
    I EXPLAIN :
    I would like Visitor to create a profil and in this way be able to do different things
    B1 : Level 1 member is a peaple
    B2 : Level 2 is a pro and show a specific profil with specific data
    B3 : Level 3 is a pro and can sell product

    C – QUESTION
    How can I have different field and members capabilities ?
    C1 – If I select B1, its personal info and data (its like that today)
    C2 – If visitor select B2, its personal and business info and data. At this time I can create another business field with xfield buddypress but I can’t Hide it for C1
    C3 – if visitor select B3, its personal and business info and data. At this time I can create another business field with xfield buddypress but I can’t Hide it for C1. C3 offer a personal shop and a website. How can I allow this with fields, rôles and capabilities, How can I do ? (I dont find with pmp and switch to wpmudev membershippro2 but xfield and different field stay and its the second problem, I also ask to wpmudev)

    Thank you Very Much

    #242509
    danbp
    Participant
    #242506
    @mercime
    Participant

    > then click on ‘Complete Signup’ button but nothing happens and no users are created in the backend.

    @startershut Click on wp-admin menu Users and click on BP’s Pending link on screen then activate the user you just created. https://codex.buddypress.org/administrator-guide/pending-users-admin-screen/

    Here’s how regular member registration works: https://codex.buddypress.org/member-guide/registration/

    AM77
    Participant

    That’s where it is.

    I’ve always created sites in the admin, and since I’ve never tried BuddyPress with multisite, I was wondering how a user that doesn’t have access to admin would create a site when they are registered as a subscriber, as you can’t create a sites in the sites tab. But it shows in that drop down on the right.

    Thanks for your help.

    startershut
    Participant

    Hi,

    I have decided to allow users to register for my site to have extra features and I have installed BuddyPress as well.

    However when I go to test the creation of a new user I go to the Register form and fill out the few fields and then click on ‘Complete Signup’ button but nothing happens and no users are created in the backend.

    Is there something I am missing?

    I have ticked the Anyone can register checkbox.

    Do I need to add anything to the Register page?

    Any advice.

    Thanks

    #242493
    Nithin K Varrier
    Participant

    Hi,

    I’m trying to create custom notification in my plugin.

    created this function in Class:
    public function setup_globals( $args = array() ) {
    global $bp;
    $sr_notifications_test_slug = ‘sr_notifications_test’;
    parent::setup_globals( array(
    ‘id’ => ‘sr_notifications_test’,
    ‘slug’ => $sr_notifications_test_slug,
    ‘notification_callback’ => array( $this, ‘sr_format_notifications_test’ )
    ) );

    /* Register this in the active components array */
    $bp->active_components[$sr_notifications_test_slug] = ‘sr_notifications_test’;

    }

    created following function :

    function sr_format_notifications_test( $action, $item_id, $secondary_item_id, $total_items, $format = ‘string’ ) {

    switch ( $action ) {
    case ‘my_test’:
    $link = get_permalink( $item_id );
    $text = “Test Notification”;

    $return = apply_filters( $filter, array(
    ‘text’ => $text,
    ‘link’ => $link
    ), $link, (int) $total_items, $text, $link, $item_id, $secondary_item_id );
    break;
    }

    do_action( ‘sr_format_notifications_test’, $action, $item_id, $secondary_item_id, $total_items );
    return $return;
    }

    Notification added to DB:
    bp_notifications_add_notification( array(
    ‘user_id’ => $user_id,
    ‘item_id’ => $activity->id,
    ‘secondary_item_id’ => $activity->user_id,
    ‘component_name’ => buddypress()->activity->id,
    ‘component_action’ => ‘my_test’,
    ‘date_notified’ => bp_core_current_time(),
    ‘is_new’ => 1

    ) );

    Please help call back function is not calling.

    Thanks

    #242490
    kjgbriggs
    Participant

    I am looking to remove my WordPress Admin Bar (hide it completely) as users will not have access to most stuff on there anyway.

    I would however like to keep the BuddyPress notifications area (the thing that says Howdy…) that has all the account options on.

    I want to move this to an independent bar below my main menu as has been done on the BuddyPress site here, the bar that says BuddyPress.org My Sites and has the Howdy account bar on the right.

    Does anyone know how this was done and how to do it?

    Lars Henriksen
    Participant

    Hi,

    I would like to add content from 4-5 custom X-profile fields to the ‘new user registered email’ like this

    A new user registered …

    Username: X

    Xprofile 1: Y

    Xprofile 2: Z (….)

    A solution is posted here, but the code isn’t tested and the topic is closed.

    BP: 2.3.2.1
    WP: 4.2.3

    #242487

    In reply to: Add dynamic menu link

    danbp
    Participant

    Codex reference:

    Members Navigation Menus

    Also, on the forum, several topics, with many snippets:
    https://buddypress.org/support/search/bp_nav_menu/

    Here a working example, which add 2 external links on a profile.

    function bpfr_custom_setup_nav() {
      if ( bp_is_active( 'xprofile' ) )
    ?>
    <li><a href="<?php bp_members_directory_permalink(); ?>"><?php printf( __( 'All Members', 'buddypress' ) ); ?></a></li>
    <li><a href="http://buddypress.org" target="_blank" title="BP">BuddyPress</a></li>
    <?php  
    }
    add_action( 'bp_member_options_nav', 'bpfr_custom_setup_nav' );
    danbp
    Participant

    @tomnikkola,

    as you discovered already, the CSS trick is a poor solution.
    Two solution are on hand.
    A first one, which applies to all activity feeds.
    Basically the below snippet handles globally the activties output. You simply remove the activity(ies) you don’t want to see from the list. Note that almost all activity types are listed.
    Add it to child functions.php or to bp-custom.php

    function demo_parse( $retval ) {
    	// existing BP/bbP activities
    	// remove the one you wont to see from that list
    	$retval['action'] = '
    		activity_comment,
    		activity_update,
    		bbp_topic_create,
                    bbp_reply_create,
    		friendship_created,
    		joined_group,
    		last_activity,
    		new_avatar,
    		new_blog_post, 	
    		new_member,
    		updated_profile
    	';	
    
    	return $retval;
    	
    	}
    add_filter( 'bp_after_has_activities_parse_args', 'demo_parse' );

    Codex:

    Using bp_parse_args() to filter BuddyPress template loops

    The second solution, is to use a child-theme with a modified activity loop. This let you handle finer condition for each user.

    Read this tut how you can do that.

    Codex:

    Activity Loop

    tomnikkola
    Participant

    Hello

    We have two different membership groups using our website. The first group should only see certain forum topics and replies. The other group can see all. When the members use the actual forums, this works great, but if any of the members use their activity feed, they see content from forums they should not see.

    As a short-term solution, I want to hide ALL topics and replies from the activity feed, but not hide the “mentions.”

    I put this in my CSS editor:

    .bbpress.activity-item {
    display: none;
    }

    and while it it does remove the forum topics and replies from all activity feeds, it also removes the list of mentions.

    I’ve looked throughout the BuddyPress and bbPress forums and can’t find an answer. I’d much appreciate any assistance.

    #242469
    shanebp
    Moderator

    There are, unfortunately, two sets of user data.

    Your imported data was placed in the _usermeta table.
    This data will show in wp-admin > users > user > profile

    BuddyPress uses different tables: _xprofile_
    This data will show in wp-admin > users > user > extended profile
    And on the front end while viewing a member profile.

    You may want to write a script that migrates from usermeta to xprofile.
    Study the structure of the tables used for xprofile.

    Hi BuddyPress Wizards,
    I’ve imported some users into my site with S2Member Pro’s advanced import tool.
    On the user list at wp-admin/users, I can see the content of users’ extended profile fields.
    But the content does not show in the BP profiles at the front end or in the profile editor, e.g: (http://www.mirandanet.ac.uk/wp-admin/users.php?page=bp-profile-edit&user_id=1007).
    So the content data is in the MYSQL database but not seen by BuddyPress.
    Can you help.
    Wordpress version: 4.2.3
    BuddyPress version: 2.3.2.1
    Website: http://www.mirandanet.ac.uk
    Theme: Good News version: 5.4 by Momizat. Forgive me, but it would take ages to replicate the essentials on Twenty15.

    Best Wishes

    Robert

    AM77
    Participant

    I have a BuddyPress running on a multisite, so I also give users the the option to create sites. At the bottom of the registration form, users have the option to create a new site at the bottom:

    ‘Blog details – Yes, I’d like to create a new site’.

    However if users don’t tick this box to create a new site on signup, and decide later that they would like a site, there is no way a user can create a site.

    Is there a solution to this? Is there a plugin that allows users to create a site at anytime? Or is there a way to make the multisite register form work? Because with BuddyPress installed, that multisite form “mysite.com/wp-signup.php” redirects to home.

    Any help appreciated

    mhawksey
    Participant

    Opened #6567

    #242463
    Henry Wright
    Moderator

    Cool running club! I was looking to join a club near me but Harold Wood is about a 30 minute drive away.

    Regarding your question:

    Is there a way of passing this path to Buddypress as the default avatar?

    You can filter the default avatar URL using the bp_core_default_avatar_user hook.

    Hope this helps!

    #242462
    dgcov
    Participant

    Hi, my users have profile pictures which are located in wp-content/plugins/chron_reg/images.

    These are referred to by filename (without the path) in the user_meta table meta-key name ‘avatar’.

    Is there a way of passing this path to Buddypress as the default avatar?

    Many thanks,

    Dave

    WP version recently updated to 4.2.3
    BP version updated to 2.3.2.1
    site: haroldwoodrc.co.uk (forgive the garish theme).

    #242461
    Henry Wright
    Moderator

    Are activity updates a wordpress custom posts types?

    No. Activity items aren’t custom posts; instead, they live in the bp_activity table. See here for a diagram.

    Henry Wright
    Moderator

    Hi @mhawksey

    Can you open a new bug report for this on Trac referencing #5733?

    ggsalas
    Participant

    Hi, I would like to publish all the activity updates to my social accounts. I think that could use Jetpack for do this. To do that I need to know:

    Are activity updates a wordpress custom posts types? Which is the name of the activity custom post type? (My goal is do this: https://wordpress.org/support/topic/how-to-use-jetpack-publicize-with-buddypress-activity-updates?replies=2#post-7213768 )

    If the activity updates are not custom post types: Do you know a way to automatically share an activity update?

    Best regards,
    Gabriel

    #242458
    Henry Wright
    Moderator

    This isn’t possible out-of-the-box but there may be a plugin in the WordPress Plugin Directory that adds Disqus functionality.

    Adding items to the BuddyPress activity stream is very easy. Check out the bp_activity_add() article for more info.

    mhawksey
    Participant

    Hi,

    We’ve got a multisite WP/BP installation (WP 4.2.3/BP 2.3.2.1) using the BP Multi Network plugin. Networks are in sub directories. We are in the process of setting up the site and encountered an issue defining the site pages for members, group, activity etc. Setting up one network was fine but when we created a second BP network member, group, activity pages included an error where the menu renders saying:

    Warning: in_array() expects parameter 2 to be array, null given in /home/altc/public_html/wp-content/plugins/buddypress/bp-core/bp-core-filters.php on line 192

    Updating the directory page options for the network with the error messages would remove the errors from that site, but they instead appeared on the other network.

    Digging around the code we believe the problem is linked to the directory pages (bp_core_get_directory_pages()) being called from the cache line 545 in bp-core-functions.php .

    I found a related ticket #5733 marked fixed but my interpretation is this only fixed xprofile.

    We’ve patched our own install with add_filter('bp_core_get_directory_pages', 'bp_core_get_directory_pages_cache_mod'); which suffixes the cache group with the root blog id. My concern is that this is not the only cache call.

    #242456
    joepesci
    Participant

    Hi, not on the buddypress specific activity steam, but my own. I just want to know how to create a custom field or something in order for the logged in user to select which news sources they want to see.

    #242455
    jrunfitpro
    Participant

    Hi Everybody,

    Is there a way to use the Disqus comments over WP Comments and have the Disqus commenting show in the BP Activity stream?

    Thanks,

    Justin

    #242450
    danbp
    Participant

    buddypress/bp-templates/bp-legacy/buddypress/activity/entry.php

    Go here to search inside BuddyPress

Viewing 25 results - 18,701 through 18,725 (of 94,540 total)
Skip to toolbar