Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 7,226 through 7,250 (of 69,106 total)
  • Author
    Search Results
  • #271033
    Venutius
    Moderator

    Those look like bbPress files, not BuddyPress as such.

    #271028
    jameshh93
    Participant

    If user makes a comment on an admins comments then it appears without nofollow which I want but when comment made on activity comment from non admin comment link appears with a nofollow which im guessing because getting to the role in the if statement from the activity id rather than the comment id? How can I fix this to work for both main activity updates and comments?

    Also the way im doing it probably isnt very fast because buddypress is adding the nofollow and then all im doing is search and removing the nofollow every single time :/

    #271020
    franciscofgb
    Participant

    I have the same issue and as we I can see in google, it is not a new problem. I deactivated plugins, changed the theme… I can´t fix the problem. I am using GeneratePress and I integrated buddypress with LearnDash and Gamipress. I can create the first group, but after that I am not able to create any other group. I can´t pass the fisrt step

    #271007
    Nik
    Participant

    @pd9soft

    Ah I forgot to report back here but I’ve been discussing elsewhere and the issue has already been reported here –

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

    and a there’s solution by r-a-y here
    https://buddypress.trac.wordpress.org/attachment/ticket/7674/7674.01.patch

    Apparently a fix will be available in next release.

    #271005
    pd9soft
    Participant

    Found the bug tracker & reported here
    https://buddypress.trac.wordpress.org/ticket/7702#ticket

    #270998
    angrywarrior
    Participant

    Right thanks @derrickhall.

    So is there any Buddypresss admin/dev that could jump in and help out with how to disable that?

    It´s really a privacy concern and issue because groups are somewhat a private entity and updates should stay inside the groups themselves and not be spammed in the general forums update stream.

    Thanks!

    #270997
    Robin W
    Participant

    @r-a-y

    I know this is an old thread, but I can’t get your excellent code working for tinymce on topic/reply front end.

    Works fine in tinymce on backend, Works fine for textarea on front end, but not timymce on front end. I need it working on frontend in forums.

    Is there a more up to date version that works with current bp and bbp, or do you have any ideas how to get it working.

    the code I am using is

    /**
     * Enable at-mention autocomplete on BuddyPress group forum textareas.
     */
    function my_enable_mentions_in_group_forum_textareas( $retval ) {
    	$bbpress = false;
    
    	// Group forum reply.
    	if ( bp_is_group() && 'topic' === bp_action_variable() && bp_action_variable( 1 ) ) {
    		$bbpress = true;
    	}
    
    	// Group forum topic.
    	if ( bp_is_group() && bp_is_current_action( 'forum' ) ) {
    		$bbpress = true;
    	}
    
    	// Do stuff when on a group forum page.
    	if ( true === $bbpress ) {
    		$retval = true;
    		
    		// Ensure at-mentions autocomplete works with TinyMCE for bbPress.
    		add_filter( 'tiny_mce_before_init', 'cac_enable_mentions_in_group_forum_tinymce', 10, 2 );
    	}
    
    	return $retval;
    }
    add_filter( 'bp_activity_maybe_load_mentions_scripts', 'my_enable_mentions_in_group_forum_textareas' );
    
    /**
     * Ensure at-mentions autocomplete works with TinyMCE for bbPress.
     *
     * @param array  $settings   An array with TinyMCE config.
     * @param string $editor_id Unique editor identifier, e.g. 'content'.
     * @return array  $mceInit   An array with TinyMCE config.
     */
    function cac_enable_mentions_in_group_forum_tinymce( $settings, $editor_id ) {
    	// Add bbPress' editor IDs to enable BP mention autocomplete.
    	if ( 'bbp_topic_content' === $editor_id || 'bbp_reply_content' === $editor_id ) {
    		$settings['init_instance_callback'] = 'window.bp.mentions.tinyMCEinit';
    	}
    
    	return $settings;
    }
    #270989
    redbananasander
    Participant

    Hmm… Maybe this is normal funcition from buddypress? I have 24 active plug-ins:
    – ACF Accordion
    – Advanced Custom Fields PRO
    – Advanced Custom Fields: Font Awesome
    – Advanced Custom Fields: Gravity Forms Field
    – Black Studio TinyMCE Widget
    – BuddyPress
    – BuddyPress Activity Plus
    – BuddyPress Admin Only Profile Fields
    – BuddyPress Edit Activity
    – BuddyPress Global Search
    – Colsensation Addons (own plugin)
    – Custom Post Type UI
    – Export User Data
    – Gravity Forms
    – Gravity Forms (nl)
    – Gravity Forms User Registration Add-On
    – GravityView – Gravity Forms Import Entries
    – Invite Anyone
    – Members Import
    – Pronamic Pay
    – Warpdrive
    – WP Pusher
    – WP Sync DB
    – Yoast SEO

    That’s all 😉

    amandafrench
    Participant

    Never mind! I’ve found a fabulous solution that has gotten me out of SQL query hell. Again, if anyone else is trying to sort a Members Directory, here’s what I did:

    1) Put it in a table, not a list (I had done this anyway, since I wanted a single-page directory that displayed xprofile fields horizontally) — make sure it has a <th> table header row;
    2) Install the plugin Table Sorter https://wordpress.org/plugins/table-sorter/ and add the class “tablesorter” to the table.

    Et voilà! I commented out the sort type dropdown in members/index.php starting with
    <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Members directory secondary navigation', 'buddypress' ); ?>" role="navigation">
    all the way through

    <?php
    /**
     * Fires inside the members directory member order options.
     *
     * @since 1.2.0
     */
    do_action( 'bp_members_directory_order_options' ); ?>
    </select>
    </li>
    </ul>
    </div>

    and I made sure that the default single page list showed all users alphabetically by default in members-loop.php

    <?php if ( bp_get_current_member_type() ) : ?>
    	<p class="current-member-type"><?php bp_current_member_type_message() ?></p>
    <?php endif; ?>
    
    <?php if ( bp_has_members( bp_ajax_querystring( 'members' ) . '&per_page=500' . '&exclude=1,2,3,4,6' . '&type=alphabetical') ) : ?>

    And then all I had to do was add that tablesorter class to the table as required by the tablesorter plugin, and I got a nice dynamic table with sortable columns, which can also be sorted by multiple criteria by holding down the Shift key on the second column. I set the initial sort order with parameters that select the column by number, as described at http://tablesorter.com/docs/example-option-sort-list.html and elsewhere.

    <table id="members-list" class="tablesorter {sortlist:[[4,0], [3,0], [2,0], [1,0], [0,0]]}" aria-live="assertive" aria-relevant="all">

    Yay.

    #270985
    oliverrealize
    Participant
    #buddypress form#whats-new-form #aw-whats-new-submit {
        background: transparent;
    }

    The above is what chooses the color of the button. Just replace transparent with a hex. i.e. #000000 for black.

    You can also limit it to just the activity page with the activity pages class which is .activity:

    .activity #buddypress form#whats-new-form #aw-whats-new-submit {
        background: transparent;
    }

    I’d be careful with the .activity class, it’s a really vague class so other plugins, themes may use it.

    #270977
    sasenzon
    Participant

    Someone at bbpress told me to come here. I wish I could figure out the answer.

    My intent was to have it only available to users in this class.
    I set it up as hidden in the manage settings on the front end.
    On the dashboard however, it is set to open public.
    Also – it is in a group that I set up as hidden.
    However, the dashboard it shows that it is in a public group.

    Perhaps there is a conflict here?
    I am self-taught at buddypress. Would love to learn how to be an expert.

    #270972

    In reply to: list of all functions

    Venutius
    Moderator
    #270962

    In reply to: Delete Account

    David Cavins
    Keymaster

    Hi @mironegrini-

    This isn’t possible, and will likely be even less possible in the future (as GDPR becomes a reality). BuddyPress does a bunch of cleanup when a user is deleted. You can search the code base for the actions: 'wpmu_delete_user' and 'delete_user' to see all the hooked cleanup functions. You could unhook those actions, but then you’d likely have broken content (all of the user functions would refer to nonexistent users).

    #270960
    David Cavins
    Keymaster

    Hi @danperis-

    This is something that the devs are actively working on with that plugin and it’s a known issue. You can watch their progress here: https://github.com/boonebgorges/buddypress-group-email-subscription/tree/digest-queue

    and maybe here: https://github.com/boonebgorges/buddypress-group-email-subscription/pull/100

    #270956
    David Cavins
    Keymaster

    Hi I’m not exactly sure what you mean, but if you’re looking to get the profile image associated with a group or user, you can use the avatar-fetching function that BP uses in its templates, bp_core_fetch_avatar():
    https://buddypress.trac.wordpress.org/browser/tags/2.9.3/src/bp-core/bp-core-avatars.php#L99

    As an example, you might use

    bp_core_fetch_avatar( array(
    			'item_id' => $user_id,
    			'type'    => 'thumb',
    			'width'   => false,
    			'height'  => false,
    			'html'    => true,
    			'alt'     => sprintf( __( 'Profile picture of %s', 'buddypress' ), 'user name' )
    ) );
    
    #270955
    David Cavins
    Keymaster

    Hello, you can take advantage of User Extended Profiles to collect Skype information from your users, like their username or whatever.

    User Extended Profiles

    #270939
    Varun Dubey
    Participant
    #270931
    angrywarrior
    Participant

    Thanks @dcavins for your advise, but that is not a option for us a we run a new public service so it is open for anyone to join and create.

    However we have found a solution which is editing the admin.php and removing the code part that displays this option in the groups settings.

    I will stop probably 99% of all users and left is only very advanced users that would craft such URL I guess?

    On a sidenote:
    I think it would be good if you guys that are part of the BuddyPress Team would consider adding an option in BP back-end setting to be able to enable/disable groups types eg. hidden groups and maybe private to give people more control? Well at least hidden groups.

    Thanks!

    Kind regards
    AngryWarrior.

    #270922
    David Cavins
    Keymaster

    This plugin is awfully close to what you’re trying to do. You might try modifying it to show groups in a drop down instead of the options offered:

    BuddyPress Registration Groups

    I doubt that any plugin is going to support group creation at registration; group creation is a multi-step process, and is too much to ask a new user to do at the same time as registration.

    #270921
    David Cavins
    Keymaster

    I’d say if you’re worried about people creating groups (which is a reasonable thing to worry about), your safest bet is to uncheck the checkbox “Enable group creation for all users” (or something like that) at wp-admin > settings > buddypress , and restrict group creation to site admins only. Then, add a group request form or similar, and you can either create the group or not.

    #270907
    Venutius
    Moderator
    #270905

    In reply to: Question

    aladinDr
    Participant

    thanks but i’m not specialist in buddypress developement , it’s complicated for me

    #270903
    angrywarrior
    Participant

    Hi
    Well as the subject says. How can you completely disable hidden groups in Buddypress?

    Considering that my site is public its dangerous feature that will attract all the worst of the internet has to offer. Criminals and alike. So i need to get this done somehow.

    It somewhat surprises me that this isn´t a built in setting in BuddyPress core settings so you could just click to disable it min the first place.
    Anyways: i would very much appreciate help with this.

    Please advise.

    Kind regards
    AngryWarrior.

    #270897
    David Cavins
    Keymaster

    Yes, you can do any amount of extra validation on the hook bp_signup_validate.

    Something like this would probably do what you are trying to do:

    
    add_action( 'bp_signup_validate', function(){
    	$allowed_users = array( 'user1@domain.com', 'user2@domain.org' );
    	if ( isset( $_POST[ 'signup_username' ] ) && ! in_array( $_POST[ 'signup_username' ], $allowed_users ) ) {
    		$bp = buddypress();
    		$bp->signup->errors['signup_username'] = 'Sorry, your email address is not able to register with this site.';
    	}
    } );
    

    There are several examples on the web for doing things on that hook. (BuddyPress Registration Options does some things, for instance.)

    #270896
    David Cavins
    Keymaster

    HI @baccoeur-

    The best way to troubleshoot is to deactivate as many plugins as feasible, ideally leaving only BuddyPress active and using a common theme like Twenty Seventeen, to test the behavior. Then, check to see if the problem is resolved. Reactivate plugins and re-check to see which one is causing the conflict.

    It only takes a few minutes to do this test, and will help you figure out where the problem actually is.

Viewing 25 results - 7,226 through 7,250 (of 69,106 total)
Skip to toolbar