Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 16,276 through 16,300 (of 73,981 total)
  • Author
    Search Results
  • #247687

    In reply to: Pages Not Working?

    mas6ce
    Participant

    Another follow-up: it turns out this is because of a plugin I was using – Multilanguage by BestWebSoft… I would really love to keep using this plugin (I’ve been hunting for translation plugins for over a month and this is the only one I’ve found that actually does what I need it to do translation-wise)

    Is there any way to make the plugin BuddyPress-Compatible?

    #247686
    browserco
    Participant

    hi @bruce30, thanks for your help 🙂 However, i don’t want to completely remove the ability for friend connections I just don’t want certain members to have friends. I guess I will have to leave this issue as is. It really is a bummer that buddypress devs cannot provide code that help us add/remove features for different member types. What is the point of member types function if members still have same abilities?

    #247685
    Henry Wright
    Moderator

    Thanks @r-a-y, I think I was looking at an out-of-date database. 🙂

    #247679
    happymunkee
    Participant

    This thread may have the solution to your answer. I used information here to display all Groups to my registration page and have them populate my DB.

    https://buddypress.org/support/topic/how-to-show-multiple-profile-field-groups-on-register-php/

    #247673
    r-a-y
    Keymaster

    There is a message meta table.

    You can find those functions here:
    https://buddypress.trac.wordpress.org/browser/tags/2.4.0/src/bp-messages/bp-messages-functions.php#L406

    I would probably piggyback on the marked as read functionality to do this though.

    #247670
    r-a-y
    Keymaster

    Try using an object caching plugin.

    You could also try not loading older BuddyPress deprecated code by adding the following line to wp-config.php:
    define( 'BP_IGNORE_DEPRECATED', true );

    #247669
    r-a-y
    Keymaster

    Thanks for noticing this, kennibc.

    I’ve attached a fix for this here:
    https://buddypress.trac.wordpress.org/attachment/ticket/6770/6770.01.patch

    The change you’ll be interested in is located in the /bp-xprofile/bp-xprofile-filters.php file.

    #247666
    shanebp
    Moderator

    Your directory structure is wrong.
    It should be:
    \twentythirteen\buddypress\members\single\home.php

    #247653
    bruce30
    Participant

    hi @browserco ., did you try to uncheck the Friend Connection under the Buddypress component?
    if not. Go to admin dashboard, go to settings, click buddypress,. and under components you can see there the Friend Connections try to uncheck it., i hope this is what you mean and this will help you. 🙂

    #247645
    kennibc
    Participant

    Thanks. That indeed did the trick. However, if I view an individual profile and click on the profile field it shows a page with others who have the same profile term and uses the wrong format again. That is baked into the buddypress profile page. I cannot change that.

    see this page and click on the school building tag in the profile: http://iblog.dearbornschools.org/members/kieselh/profile/

    Then try the pagination. It’s broke because it uses ?s_= and that is generated by Buddypress for the custom profile.

    #247644
    r-a-y
    Keymaster

    Disable starring messages with this snippet in wp-content/plugins/bp-custom.php:

    add_filter( 'bp_is_messages_star_active', '__return_false' );

    To remove the ‘Delete’ link from the messages inbox, you’ll have to override the inbox template and remove the ‘Delete’ link.

    Read the Overloading Template Compatibility theme files section of this codex article for more info.

    The template you’ll want to copy over to your theme to override is this one:
    https://buddypress.trac.wordpress.org/browser/tags/2.4.2/src/bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php

    #247642
    r-a-y
    Keymaster

    See my note here:
    https://buddypress.org/support/topic/bp-2-4-breaks-on-page-2-of-custom-search-results/#post-247017

    You have to rename the parameter to members_search for BP 2.4.2 in your custom page content.

    #247641
    danbp
    Participant

    Hi,

    best solution is to use the built-in filter, instead of modifying tinymce which may affect all editors.

    I provided a working example here:
    https://buddypress.org/support/topic/suppressing-rich-text-on-xprofile-text-area/#post-247640

    #247635
    lolotrgeek
    Participant

    Oops hit reply not edit! well…

    Here’s the solution I arrived at:

    function filter_change_email_subject ( $email_subject, $sender_name, $ud ) {
    	$email_subject = sprintf( __('%1$s wants to say hello', 'buddypress' ), $sender_name);
    	return $email_subject;
    }
    add_filter( 'messages_notification_new_message_subject', 'filter_change_email_subject' , 10, 7 );

    This works for what I’m doing, for someone else that wants to pass a dynamic subject you may need to nest this function.

    #247634
    @mcuk
    Participant
    #247633
    @mcuk
    Participant

    After a lot of searching I’ve put this together. It appears to remove the ability of normal site users to use the rich text area editor in ‘multi line text areas’. Its use now allows jQuery functions for character limits to be applied to the text area which was not possible when tinymce was active.

    function bptest_remove_tinymce() {
    	if ( !is_super_admin() ) {
    	tinymce.activeEditor.getBody().setAttribute( 'contenteditable', false );
    	}
    }
    add_action( 'wp_footer', 'bptest_remove_tinymce' );

    Note that the is_super_admin() is included. Without it the WP bar at the top of the screen which is used to access dashboard etc disappears.

    Then to remove the remaining Visual/Text tabs attached to the text area, use the CSS display:none on the relevant div id.

    I am still very curious as to whether there are better methods for excluding the rich text editor / tinymce from Buddypress (across the site and/or targeting specific text areas). Would appreciate any input from anyone more in the know!

    Thanks

    #247629

    In reply to: wall page

    shweikiart
    Participant

    I’m using boss theme, no i didn’t ask them, I thought it is buddypress issue
    what about activity filter?

    Henry Wright
    Moderator

    You can open a bug report for this on Trac (the login details will be the same as those you use here in this forum).

    #247600
    old account
    Participant

    Error: “You do not have sufficient permissions to access this page.”

    This happens when clicking on ‘Pending’ in Users when BuddyPress is activated only on main site of multisite install but, you can see pending users at /wp-admin/network/users.php?page=bp-signups i.e. network side.


    @imath
    posted a working patch for this issue which is scheduled for BP 4.4 branch (hopefully)
    https://buddypress.trac.wordpress.org/ticket/5977

    Hope this helps.

    #247579
    Alicia Fritz
    Participant

    Hi,

    I use buddypress for my site but its login override default wordpress login box. I don’t want it because visitors will have to sign up twice.

    Can I retrieve default wordpress login back and use buddypress login in my custom page (I want to put a CTA button in my homepage directing to a login page)?

    Please let me know if I have submitted a question in the wrong thread.

    Thank you.

    Alicia Fritz Herman.

    #247572

    In reply to: Registration page

    @mercime
    Participant

    @shweikiart WP/BP versions? Have you tried deactivating all other plugins except BuddyPress then change to the Twenty Fifteen theme?

    #247570
    reedy
    Participant

    I installed WP Crontrol and saw nothing out of the ordinary:

    ws_plugin__s2member_auto_eot_system__schedule
    _cron_zencache_cleanup
    bp_activity_akismet_delete_old_metadata
    wp_maybe_auto_update
    wp_version_check
    wp_update_plugins
    wp_update_themes
    akismet_scheduled_delete
    wp_scheduled_delete
    wp_scheduled_auto_draft_delete

    Earlier today I added the following to my functions.php file:

    add_filter( 'bp_activity_do_mentions', '__return_false' );

    No @mention emails were generated since then. As soon as I commented that code out, within 5-10 minutes thirteen @mention email notifications went out – all with links to content that is years old (pre-import).

    I’ve therefore put the filter back into functions.php and can only assume I’ll have to do without the @mention functionality of buddypress.

    I appreciate everyone’s help up to this point.

    #247565
    Henry Wright
    Moderator

    @reedy to my knowledge BuddyPress doesn’t implement any cron jobs, especially ones that send email.

    they seem to more or less be coming out every time a page is loaded

    This indicates something is hooked to init, or bp_loaded etc. But that would almost certainly be custom code because nothing in BuddyPress or bbPress would hook to those events and send email.

    Have you fully disabled the importer script?

    #247557
    reedy
    Participant

    My host said emails are STILL being sent out.

    Can anyone suggest an interim solution (other than switching off my mailserver completely) to stop these emails going out?

    Evidently placing the code below in functions.php had no effect:

    //buddypress stop mention emails //
    remove_action( 'bp_activity_sent_mention_email', 'bp_activity_at_message_notification', 10, 5 );
    //End buddypress stop mention emails //
    #247553
    shanebp
    Moderator

    You could use this action hook, found in :
    buddypress\bp-messages\classes\class-bp-messages-message.php
    do_action_ref_array( 'messages_message_before_save', array( &$this ) );

    Untested, but try:

    function block_the_jerk( $message_info ) {
    
       if( $message_info->sender_id == 666 )  // change 666 to jerk's user_id
           unset( $message_info->recipients );
    
       return $message_info;
    }
    add_action( 'messages_message_before_save', 'block_the_jerk');

    This should remove all recipients – causing the send message function to return false.
    I’m not sure what if any feedback the jerk will see.

Viewing 25 results - 16,276 through 16,300 (of 73,981 total)
Skip to toolbar