Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 19,701 through 19,725 (of 94,540 total)
  • Author
    Search Results
  • #238932
    m1000
    Participant

    Hi,

    When go to Sent Invites tab, select some friend then below tabs is displayed 0 only. All other ajax actions like messages, add friends works fine. I enabled debug mode, no errors.

    I have the same code in send-invites.php like default theme:

    <?php do_action( 'bp_before_group_send_invites_content' ); ?>
     
    <?php
    /* Does the user have friends that could be invited to the group? */
    if ( bp_get_new_group_invite_friend_list() ) : ?>
     
            <?php /* 'send-invite-form' is important for AJAX support */ ?>
            <form action="<?php bp_group_send_invite_form_action(); ?>" method="post" id="send-invite-form" class="standard-form" role="main">
     
                    <div class="invite">
                            <?php bp_get_template_part( 'groups/single/invites-loop' ); ?>
                    </div>
     
                    <?php /* This is important, don't forget it */ ?>
                    <input type="hidden" name="group_id" id="group_id" value="<?php bp_group_id(); ?>" />
     
            </form><!-- #send-invite-form -->
     
    <?php
    /* No eligible friends? Maybe the user doesn't have any friends yet. */
    elseif ( 0 == bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?>
     
            <div id="message" class="info">
                    <p class="notice"><?php _e( 'Group invitations can only be extended to friends.', 'buddypress' ); ?></p>
                    <p class="message-body"><?php _e( "Once you've made some friendships, you'll be able to invite those members to this group.", 'buddypress' ); ?></p>
            </div>
     
    <?php
    /* The user does have friends, but none are eligible to be invited to this group. */
    else : ?>
     
            <div id="message" class="info">
                    <p class="notice"><?php _e( 'All of your friends already belong to this group.', 'buddypress' ); ?></p>
            </div>
     
    <?php endif; ?>
     
    <?php do_action( 'bp_after_group_send_invites_content' ); ?>

    invites-loop.php:

    <div class="left-menu">
     
            <div id="invite-list">
     
                    <ul>
                            <?php bp_new_group_invite_friend_list(); ?>
                    </ul>
     
                    <?php wp_nonce_field( 'groups_invite_uninvite_user', '_wpnonce_invite_uninvite_user' ); ?>
     
            </div>
     
    </div><!-- .left-menu -->
     
    <div class="main-column">
     
            <?php do_action( 'bp_before_group_send_invites_list' ); ?>
     
            <?php if ( bp_group_has_invites( bp_ajax_querystring( 'invite' ) . '&per_page=10' ) ) : ?>
     
                    <div id="pag-top" class="pagination">
     
                            <div class="pag-count" id="group-invite-count-top">
     
                                    <?php bp_group_invite_pagination_count(); ?>
     
                            </div>
     
                            <div class="pagination-links" id="group-invite-pag-top">
     
                                    <?php bp_group_invite_pagination_links(); ?>
     
                            </div>
     
                    </div>
     
                    <?php /* The ID 'friend-list' is important for AJAX support. */ ?>
                    <ul id="friend-list" class="item-list">
     
                    <?php while ( bp_group_invites() ) : bp_group_the_invite(); ?>
     
                            <li id="<?php bp_group_invite_item_id(); ?>">
                                    <?php bp_group_invite_user_avatar(); ?>
     
                                    <h4><?php bp_group_invite_user_link(); ?></h4>
                                    <span class="activity"><?php bp_group_invite_user_last_active(); ?></span>
     
                                    <?php do_action( 'bp_group_send_invites_item' ); ?>
     
                                    <div class="action">
                                            <a class="button remove" href="<?php bp_group_invite_user_remove_invite_url(); ?>" id="<?php bp_group_invite_item_id(); ?>"><?php _e( 'Remove Invite', 'buddypress' ); ?></a>
     
                                            <?php do_action( 'bp_group_send_invites_item_action' ); ?>
                                    </div>
                            </li>
     
                    <?php endwhile; ?>
     
                    </ul><!-- #friend-list -->
     
                    <div id="pag-bottom" class="pagination">
     
                            <div class="pag-count" id="group-invite-count-bottom">
     
                                    <?php bp_group_invite_pagination_count(); ?>
     
                            </div>
     
                            <div class="pagination-links" id="group-invite-pag-bottom">
     
                                    <?php bp_group_invite_pagination_links(); ?>
     
                            </div>
     
                    </div>
     
            <?php else : ?>
     
                    <div id="message" class="info">
                            <p><?php _e( 'Select friends to invite.', 'buddypress' ); ?></p>
                    </div>
     
            <?php endif; ?>
     
    <?php do_action( 'bp_after_group_send_invites_list' ); ?>
     
    </div><!-- .main-column -->
     
    <div class="submit">
            <input type="submit" name="submit" id="submit" value="<?php esc_attr_e( 'Send Invites', 'buddypress' ); ?>" />
    </div>
     
    <?php wp_nonce_field( 'groups_send_invites', '_wpnonce_send_invites' ); ?>

    PHP

    // Groups
    'groups_invite_user' => 'bp_legacy_theme_ajax_invite_user',
    'joinleave_group' => 'bp_legacy_theme_ajax_joinleave_group',

    http://pastebin.com/GybF2F5s

    AJAX
    http://pastebin.com/3Np10jnx

    #238927
    Lisa
    Participant

    @henrywright

    I tried your code and it does not work for password strength, when users try to change their password on the front-end.

    I also tried to change it to signup_password, but that also does not work. It seems to only work on signup and not once members are logged in and try to change their password. This is the code I used.

    function my_validation() {
     global $bp;
    
     if ( !empty( $_POST['signup_password'] ) )
       if ( strlen( $_POST['signup_password'] ) < 9 )
        $bp->signup->errors['signup_password'] = __( 'Your password is not strong enough and needs to be at least 9 characters long', 'buddypress' );  
     }
     add_action( 'bp_signup_validate', 'my_validation');
    #238926
    swetaj
    Participant

    Hello,

    Is there a way to use BuddyPress without permalink. BuddyPress is a great plugin which allows to create group and send messages to that specific group within wordpress.

    In fact, I need a messaging system which can send message by department(group). There are more than 500 users. So we need to group those users.

    But the problem here is that here is that the website does not use permalink. So I’m unable find another plugin which will provide this feature.

    Can you help me please or can you suggest me a plugin?

    Thanks,
    Sweta

    #238923
    mvp13585
    Participant

    Hi,

    i have similar problem.
    i have a custom post type “dwqa-question”

    i try the above code but the activity use default output.

    here my code in bp-custom :

    //dwqa-question
    
    function dwqa_question_activity_args() {
    	if ( ! bp_is_active( 'activity' ) ) {
    		return;
    	}
    
    	add_post_type_support( 'dwqa-question', 'buddypress-activity' );
    
    	bp_activity_set_post_type_tracking_args( 'dwqa-question', array(
    		'component_id'             => 'activity',
    		'action_id'                => 'new_dwqa_question',
            	'bp_activity_admin_filter' => __( 'Published a new Question', 'text-domain' ),
            	'bp_activity_front_filter' => __( 'Question', 'text-domain' ),
            	'contexts'                 => array( 'activity', 'member' ),
            	'activity_comment'         => true,
            	'bp_activity_new_post'     => __( '%1$s posted a new Question: <a href="%2$s">[Question]</a>', 'text-domain' ),
            	'bp_activity_new_post_ms'  => __( '%1$s posted a new Question: <a href="%2$s">[Question]</a>, on the site %3$s', 'text-domain' ),
            	'position'                 => 101,
        	) );
    }
    add_action( 'init', 'dwqa_question_activity_args' );
    
    function dwqa_question_include_post_type_title( $action, $activity ) {
    	if ( empty( $activity->id ) ) {
    		return $action;
    	}
    
    	if ( 'new_dwqa_question' != $activity->type ) {
    		return $action;
    	}
    
    	preg_match_all( '/<a.*?>([^>]*)<\/a>/', $action, $matches );
    
    	if ( empty( $matches[1][1] ) || '[Question]' != $matches[1][1] ) {
    		return $action;
    	}
    
    	$post_type_title = bp_activity_get_meta( $activity->id, 'post_title' );
    
    	if ( empty( $post_type_title ) ) {
    
    		switch_to_blog( $activity->item_id );
    
    		$post_type_title = get_post_field( 'post_title', $activity->secondary_item_id );
    
    		// We have a title save it in activity meta to avoid switching blogs too much
    		if ( ! empty( $post_type_title ) ) {
    			bp_activity_update_meta( $activity->id, 'post_title', $post_type_title );
    		}
    
    		restore_current_blog();
    	}
    
    	return str_replace( $matches[1][1], esc_html( $post_type_title ), $action );
    }
    add_filter( 'bp_activity_custom_post_type_post_action', 'dwqa_question_include_post_type_title', 10, 2 );

    do you know what’s wrong with this code?

    #238913
    Lisa
    Participant

    I tested it on my site and on a clean installation and both do not work on members/member_name/settings/ . Users do see a password strength meter, but can still change their password into something simple as 1 or A. How did you get it to work on members/member_name/settings/?

    With WordPress there are many plugins (none that work with buddypress frond-end settings page) that set a minimum strength for passwords. Such as Login Security Solution and iThemes Security. You can force users to change their password or set an amount of days when users must change their password.

    It seems like a major security problems (that has existed for a few years) that Buddypress allows simple passwords such as 1 and A on members/member_name/settings/

    morteza13055
    Participant

    Hi to all!
    after update to latest BP, all sidebars (include theme sb, custom sidebar plugin, BP sidebar plugin, widgetize page plugin sidebar) not loading and “BP CHILD PAGES” (not main BP pages) load full-wide!
    my custom theme CSS styles don’t load properly, too!

    Is there any idea for solve these problems?

    ————————————————————————————–
    BP= 2.2.3.1
    WP= 4.1.3

    theme=AVADA(latest)
    plugins=
    1-BP Friends Suggestions Widget
    2-BP Groups Suggest Widget
    3-BP Redirect to Profile for Buddypress
    4-BuddyPics
    5-BuddyPress Activity Privacy
    6-BuddyPress cover
    7-BuddyPress Follow
    8-Buddypress Social
    9-BuddyPress Wall
    10-Buddypress xProfile Rich Text Field
    11-MediaPress

    12-Acunetix WP Security
    13-Sucuri Security

    14-Akismet
    15-Captcha

    16-Login LockDown
    17-Login Widget With Shortcode
    18-Remove Dashboard Access
    19-Rename wp-login.php (unmaintained)

    20-Gravity Forms & its addons

    21-Advanced WP Columns
    22-Fusion Core (on AVADA theme)
    23-LayerSlider WP
    24-Print Friendly and PDF
    25-TinyMCE Advanced
    26-Widgetize pages Light
    27-Ultimate Taxonomy Manager
    28-WordPress SEO (YOAST)

    29-wp-statistics

    30-W3 Total Cache
    31-WP Smush
    32-WP Parallel Loading System
    33-Plugin Organizer

    34-Easy SMTP Mail
    35-SB Welcome Email Editor

    all of these plugins & theme are up to date
    ————————————————————————————
    THANKS a lot!

    #238910
    DewFL
    Participant

    @modemlooper thanks for the suggestion, I will change that from “register” to something else 🙂 I have tried changing the url on permlinks to a handful or different possibilities and still I get the 404 page, I have also tried all suggestions at: https://buddypress.org/support/topic/the-requested-url-register-was-not-found-on-this-server/ including adding a .htaccess file which was not in my WordPress root directory for some reason, I have also tried enabling mod_rewrite in Apache to no avail, I’m stocked 🙁

    #238909
    Klosurdo
    Participant

    These are the errors I receive when trying to activate buddypress

    Strict Standards: Declaration of BBP_Forums_Group_Extension::display() should be compatible with BP_Group_Extension::display($group_id = NULL) in /home1/cmpgorg/public_html/wp-content/plugins/bbpress/includes/extend/buddypress/groups.php on line 28

    Fatal error: Cannot redeclare kleo_bp_replace_placeholders() (previously declared in /home1/cmpgorg/public_html/wp-content/themes/kleo/lib/theme-functions.php:1894) in /home1/cmpgorg/public_html/wp-content/themes/kleo/lib/plugin-buddypress/config.php on line 105

    #238905
    Klosurdo
    Participant

    Ok got most of my site back however, when I activate buddypress I go to a white screen. Any suggestions

    #238904
    shavonn4prez
    Participant

    btw- that’s Buddypress Follows that I get the following IDs from.

    #238902
    DewFL
    Participant

    The registration page for instance has been created and can be reached at:

    http://www.witnessescity.com/index.php/register-4/

    You can reach it from my navigation menu, but the BuddyPress widget for some reason sets it to http://www.witnessescity.com/register-4/

    How do I correct that? also I no clue why the page is blank, am I supposed to input code of some sort in the page after it has been created?

    #238899
    danbp
    Participant

    You’re using kleo theme.
    Many related topics related to it are avaible on this forum.
    One of the latest:
    https://buddypress.org/support/topic/buddypress-activities-overlaps-on-post-click/

    And about third party premium themes, read here
    https://buddypress.org/support/topic/when-asking-for-support-2/

    #238898
    danbp
    Participant

    @dewfl

    witnessescity.com/registration/ = 404 error
    means that you have no page called registration.
    When activation and registration pages are not automatically created, you should do this manually

    See on BP settings Page tab. Check also the other components pages.

    Have you set up pretty permalinks ?

    Please read the doc

    Configure BuddyPress

    modemlooper
    Moderator

    if you have registration turned off in WordPress settings you will have registration troubles. When you got to settings > BuddyPress and on the pages tab do you have the pages assigned to components?

    #238890
    DewFL
    Participant

    Hi there,

    I’m creating a small community site, I have setup wordpress and buddypress successfully, however I haven’t managed to get things such as creation of new groups and registrations working, I also can’t figure out how to display things such as activity & members on the pages which have been automatically created by buddy press, the other automatically created pages such as Register, Activate and Groups also do not show any information, if I try to create a new group or register as a regular member of the site it won’t let me and only shows a “page cannot be found” message.

    Also things such as the Member’s Profile page and the “Edit Profile” feature cannot be accessed from the main page, they also display the “Page cannot be found” error, these two features seem to be available from inside the wordpress dashboard though, but the public member’s profile page cannot be accessed from anywhere.

    I would really appreciate it if anyone could give me a hand, I’m willing to give access to the backend to anyone who wishes to help, I’m a lost newbie, please help! 🙂

    dolphspeed99
    Participant

    Hi,
    I am having a problem that was pointed out to many others: the comments in activity streams (group discussion) are visible only to logged in members. I saw in this post: https://buddypress.trac.wordpress.org/ticket/5567 that the issue was fixed in 2.1 version, but I have 2.2.3.1 and it’s still here. I am also having the latest WP.
    I would appreciate some help with this problem. You can fully test this problem here: http://www.machomen.ro/discutii/ce-suplimente-consumam/ – just check the comments when logged out, you will see that only the main comments are showing, replies don’t, then log in (you can use FB) and you will see all the comments, including replies.
    Thank you!

    #238884
    danbp
    Participant
    danbp
    Participant

    The unique field coming with BP xtended profile is called Name by default. This field name can be changed and you can add some specific description to it to fit your need.

    On the register page you have on the left the 3 mandatory fields from WP
    username
    password
    email

    on the right BP’s Name field in which you can enter first and last name.

    Registration

    #238882
    danbp
    Participant

    You forgot to mention your bug report:
    https://buddypress.trac.wordpress.org/ticket/6428

    #238881
    thomasoriis
    Participant

    Actually It is solved if I disable profile sync between wordpress and buddypress – but what does that mean any way? Will it kill my client side to disable profile sync?

    #238880
    r-a-y
    Keymaster

    At the moment, you can’t.

    This is handled in the bbPress plugin:
    https://bbpress.trac.wordpress.org/browser/tags/2.5.7/includes/extend/buddypress/groups.php#L55

    You could try overriding those variables on the 'bp_include' hook. See where bbPress initializes BuddyPress:
    https://bbpress.trac.wordpress.org/browser/tags/2.5.7/includes/core/actions.php#L132
    https://bbpress.trac.wordpress.org/browser/tags/2.5.7/includes/core/extend.php#L38

    So in theory, you could overload those slugs on the bbpress()->extend->buddypress object on the 'bp_include' hook after priority 10.

    Untested, but see if that works. This will also break all your old forum links in the activity stream if you did this.

    Mickey
    Participant

    Actually thats easy to do I see it now, but I am wondering why was buddypress done it in this way, by having one field (nickname) instead of two – first and last names? With nicknames its much more difficult to sort.

    Mickey
    Participant

    Thanks, the issue was caused by
    BuddyPress Real Names plugin

    shanebp
    Moderator

    It sounds like the requests are being generated by a plugin or some other custom code – probably related to registration.
    Try turning off all plugins except BuddyPress and see it the issue persists.

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