Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 10,126 through 10,150 (of 69,150 total)
  • Author
    Search Results
  • navyspitfire
    Participant

    Essentially my issue is I am trying to see a users profile/registration before I activate them because their registration process includes info/files that need to be vetted before activation. Now it appears there’s no way to do that under vanilla buddypress/manage signups menu, but per this thread I can see all that info under the BP registration plugin.

    The issue becomes I need to activate/approve the user twice; once under manage signups, once under BP registration.

    #254707

    In reply to: CV upload in Profile

    aamirpsy
    Participant

    Thanks, i found helpful plugin for solution.
    Plugin Name:
    BuddyPress Xprofile Custom Fields Type
    https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/

    #254706

    In reply to: colors on emails

    r-a-y
    Keymaster

    Check out this codex page:
    https://codex.buddypress.org/emails/#customize-header

    danbp
    Participant

    By default these buttons are showing on the profile header.
    The action location is defined in
    /bp-templates/bp-legacy/buddypress/members/single/member-header.php:66
    /bp-templates/bp-legacy/buddypress/members/single/cover-image-header.php:45

    When Profile Cover option is enabled (see bp settings), BP use the cove-image-header file.
    If the option is disabled, he use member-header.

    In both case, these buttons need the displayed_user_id and the loggedin_user_id to work. This means you need to be at least in the member loop.

    You want these buttons to appear elsewhere. OK. But where exactly ?
    Don’t hesitate to provide a screenshot sketching the new place.

    #254701

    In reply to: CV upload in Profile

    danbp
    Participant

    Add a a new field group to profiles, call it CV, add some fields and options and you’re done.

    User Extended Profiles

    As you certainly want to get this part a bit apart of the other profile fields, you can also use this plugin who brings a nice tabbed profile page.

    #254697
    danbp
    Participant

    Error message can be changed to whatever by using the language file (even if your site use en_Us or en_GB…).

    Customizing Labels, Messages, and URLs

    danbp
    Participant

    I made some changes on BuddyPress theme

    – if don’t show what you did, how could it be possible to help you ?

    Revert back step by step to find what you did wrong.

    #254694
    danbp
    Participant

    @bryanbatcher,

    you can use a function within bp-custom.php
    Something like:

    function bpfr_remove_nav_tabs() {
    
    	bp_core_remove_nav_item( 'messages' ); 
       // and so on for each item you want to remove
    
    }
    add_action( 'bp_setup_nav', 'bpfr_remove_nav_tabs', 15 );

    References
    nav-item
    http://hookr.io/plugins/buddypress/2.4.3/functions/bp_core_remove_nav_item/
    sub-nav-item

    bp_core_remove_subnav_item

    For the header thing, see template file and made your modification from within a child-theme.
    – profile pic and username: bp-templates/bp-legacy/buddypress/members/single/member-header.php
    – cover image: bp-templates/bp-legacy/buddypress/members/single/profile.php

    #254691
    r-a-y
    Keymaster

    Group Extension API only works for groups. Andrew is asking about member navigation.

    There is currently no member extension API.

    Check out the bp_core_new_nav_item() and bp_core_new_subnav_item() functions in bp-core/bp-core-buddybar.php:
    https://buddypress.trac.wordpress.org/browser/tags/2.6.0-rc1/src/bp-core/bp-core-buddybar.php?marks=15-38,369-399#L15

    You’d want to register your navs on the 'bp_setup_nav' hook.

    eg.

    function my_custom_bp_nav() {
    	// Fill this in from the documentation.
    	$nav_args = array();
    
    	// Add nav.
    	bp_core_new_nav_item( $nav_args );
    
    	// If you need to add another nav, copy and paste the block above and paste here.
    }
    add_action( 'bp_setup_nav', 'my_custom_bp_nav' );

    Check out this older example on the codex as well:
    https://codex.buddypress.org/developer/function-examples/core/bp_core_new_nav_item/

    Depending on your requirements, you could also use the BP Skeleton Component:
    https://github.com/boonebgorges/buddypress-skeleton-component

    However, that might be too much for what you need.

    r-a-y
    Keymaster

    You should only activate group extensions on the BuddyPress site whenever possible, not network-wide.

    What happens when you activate the group extensions only on the BuddyPress site?

    sharmavishal
    Participant

    if i deactivate BuddyPress Event Organiser By Christian Wach and wise chat the sub domain comes up

    sharmavishal
    Participant

    refreshed the page and strangely line number changed

    Fatal error: Call to undefined function bp_get_current_group_id() in /wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php on line 488

    sharmavishal
    Participant

    @danbp thanks..yeah read that…

    added the code…line number changes..

    Fatal error: Call to undefined function bp_get_current_group_id() in /wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php on line 486

    r-a-y
    Keymaster

    @sharmavishal – Can you add the following in wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php:

    if ( defined( 'WP_NETWORK_ADMIN' ) ) {
    	echo get_called_class();
    }
    

    Right before this:

    // Usually this will work.
    $group_id = bp_get_current_group_id();
    

    This should print the names of the group extension classes that are being loaded right before the fatal error.

    Can you copy and paste this info here?

    Thanks!

    sharmavishal
    Participant

    BuddyPress Groups Extras am using deactivated it…created a new site via add new same issue

    sharmavishal
    Participant

    @r-a-y existing multisite site setup. bp activated network wide. added a new site via add new site in admin….the site added page comes up..but when u click on dashboard of new site or visit new site both dont come up….the error mentioned before….tested with rc1 bp also..following debug error with rc1:

    Fatal error: Call to undefined function bp_get_current_group_id() in /wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php on line 484

    #254647
    r-a-y
    Keymaster

    Sjoerd – I think your issue should be fixed in BuddyPress 2.6.

    BuddyPress 2.6 is going to be released next week, so if you can wait until then that would be great.

    Or, you can test our release candidate version here:

    BuddyPress 2.6.0 Release Candidate 1 now available for testing

    #254646

    In reply to: Adding Sub-groups

    r-a-y
    Keymaster

    but BP Group types is comming in BuddyPress 2.6..just wait for that if that would meet your requirements cause that would be in the core of bp…

    For BuddyPress 2.6, group types will not allow you to sort groups into sub-groups. It’s only a developer feature for organizing groups into different types (think tagging posts) at the moment. We hope to expand this feature in future versions.

    Check out the codex article for more info:
    https://codex.buddypress.org/developer/group-types

    #254644
    r-a-y
    Keymaster

    We do not show the preview of the URL in the actual activity stream. It shows up in the activity embed when you want to share your activity update on other sites.

    Check out the codex article for more info:
    https://codex.buddypress.org/activity-embeds

    Your suggestion is something I’ve been thinking about as well, but this will be changing the default behavior of oEmbed items since BP v1.5. We might think about this for a later version of BuddyPress.

    Masoud
    Participant

    @shanebp
    hi. tnx for answer and patience. got 5 more minutes? 🙂
    i read and worked on what you said. and if i want to be honest, i could’t do anything special unfortunately.
    now, i want to ask your opinion about this idea:
    i’ve come up with the idea of hiding that field. (not email field), how?
    with the use of if condition… (if it’s not empty show it. if it has data, hide it)!
    ——-
    i’ve created a custom-meta with this code in theme functions:

    add_action( 'personal_options_update', 'my_save_extra_profile_fields' );
    add_action( 'edit_user_profile_update', 'my_save_extra_profile_fields' );
    function my_save_extra_profile_fields( $user_id ) {
    if ( !current_user_can( 'edit_user', $user_id ) )
    	return false;
    /* Copy and paste this line for additional fields. */
    add_user_meta( $user_id, ‘person_relation’, 30318 );
    update_usermeta( absint( $user_id ), 'person_relation', wp_kses_post( $_POST['person_relation'] ) );
    update_user_meta( $user_id, 'person_relation', $_POST['person_relation'] );
    }

    and used it in my buddypress signup form, to get data from users. ok?
    after what you said, i went to edit.php (copy to my theme buddypress folder…)
    and added these codes. but it seems that they do not recieve/send data at all.
    it looks like they are empty!! 😐
    after <?php at the start,
    i added :

    global $user, $user_id;
    $person_relation = get_the_author_meta( 'person_relation', $user->ID );
    $user_id = get_current_user_id();

    and in the <form> ,
    i added this piece of code (not working)
    then copied and changed the “save changes button”.
    so there is 2 buttons. one is for my-custom-meta, and the other is for buddypress form.
    buddypress edit page
    if user writes the name and click save. the box/button, all should gone. and i have to see the data in Users admin panel.
    but nothing is getting save… and i dont know where am i doing it wrong

    <?php if( $person_relation == '' ): ?>
    <tr>
    <th><label for="person_relation">Invitor's Name</label></th>
    <td>
    <input type="text" name="person_relation" id="person_relation" value="<?php update_usermeta( $user_id, 'person_relation', $_POST['person_relation'] ); ?>" class="regular-text" /><br />
    <span class="description">Please enter your invitor's name.</span>
    </td>
    </tr>
    <input type="hidden" id="userID" value="<?php echo $user_id ?>"/>
    <div class="submit">
    <input type="submit" name="profile-group-edit-submit" id="profile-group-edit-submit" value="<?php esc_attr_e( 'Save Name', 'buddypress' ); ?> " />
    </div>
    <input type="hidden" name="person_relation" id="person_relation" value="<?php update_usermeta( $user_id, 'person_relation', $_POST['person_relation'] ); ?>" />
    <?php add_action( 'personal_options_update', 'my_save_extra_profile_fields' ); ?>
    <?php add_action( 'edit_user_profile_update', 'my_save_extra_profile_fields' ); ?>
    <?php do_action( 'xprofile_profile_field_data_updated'); ?>
    <?php endif; ?>

    so sorry for long description. tnx for help.
    any suggestions do you have?

    valuser
    Participant

    see

    BuddyPress 2.6.0 Release Candidate 1…

    perhaps best, if not already, to leave a ticket at

    https://buddypress.trac.wordpress.org/newticket

    hope you get it sorted.

    #254630
    danbp
    Participant

    notification not working on blog posts.

    It’s not implemented. See why on #4046

    But you can eventually try the one or other plugin actually available on WP repository.

    Particulary Mentionable, Email Mentioned or Mention comment’s Authors

    #254627
    danbp
    Participant

    Please don’t double post. I answered you on this topic.

    #254626
    danbp
    Participant

    Private message

    A user must have friends to send private messages or visit the profile of another user to send him a msg.

    Messages

    To get it to work, you need also to enable following options in BP settings:
    – Friend Connections
    – Private messaging
    Additionnally, if you want to be notified by email
    – Notifications

    Whatever the option you activate, best practice is to control how it works on your config. To do that, use only WP, BP and one of Twenty’s theme before activating a third party theme and any other plugin.
    This will ensure you that BP is fully working on a standart WP config.

    Mention

    @mention use AJAX which can in some case, mostly with sophisticated themes or frameworks, lead to conflict. In that case, the culprit isn’t BP or WP, but the theme or a plugin whose code (generally) use a different standart as WP.

    If you get issues with mention or messaging, activate wp_debug in wp-config and check your browser JS console to track down errors. The one or the other can give you precious debug information. You can also use a debug tool like Firebug.

    #254625

    In reply to: Adding Sub-groups

    sharmavishal
    Participant

    go to pull requests

    https://github.com/ddean4040/BP-Group-Hierarchy/pulls

    exampe: check christianwach request…you would get the files he would have modified….

    you can see the latest one would be for BuddyPress 2.6 which would release soon…

    dont think so this would be merged in bp…the moderators would have better idea on this…but BP Group types is comming in BuddyPress 2.6..just wait for that if that would meet your requirements cause that would be in the core of bp…

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

Viewing 25 results - 10,126 through 10,150 (of 69,150 total)
Skip to toolbar