Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 11,351 through 11,375 (of 69,016 total)
  • Author
    Search Results
  • #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.

    #247552
    reedy
    Participant

    OK, just so we’re on the same page I’ll give the URIs as I respond.

    Having looked into my notifications feed here:

    /members/member-name/notifications/

    I see that notifications were indeed coming in in ‘batches’, too.

    For example:

    All refer to pre-import mentions.

    HOWEVER, no notifications for pre-import activity appear there from the time I ran the below mySQL query yesterday:

    UPDATE bp_notifications SET is_new=0 WHERE is_new=1

    So that seems to have had some effect (yet emails continued to go out).

    As for activity entries being created, if I go to:

    /members/member-name/activity/

    … it contains all activity from the start of time (post-import and pre-import activity).

    bbpress told me this is a buddypress issue since buddypress generates the @mention email notifications.

    A couple of hours ago I added this to my functions.php file:

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

    Hopefully that will stop new emails from going out. Not the ideal solution, though as it also blocks mentions for anything post-import, too (I believe).

    #247551
    shanebp
    Moderator

    Because emails are being sent, a lot of notifications were created too, correct?
    Are the notifications being created in ‘batches’ ala the emails?
    And were any activity entries created?

    afaik – BuddyPress only handles @ mentions in the context of activity, hence:
    add_filter( 'bp_activity_do_mentions', '__return_false' );

    If true, then bbPress is parsing @ mentions in forum posts and creating BP notifications which result in emails being sent.

    I don’t have a solution – just trying to outline the sequence.
    Very curious to know why, given that the email server queue isn’t massive, there seems to be a throttle on the process.

    Have you tried asking bbPress about this?
    You may need to open a ticket to get a useful response. If you do, please share it here.

    #247549
    Henry Wright
    Moderator

    I very much doubt my install has been compromised. In fact, searching through the buddypress support forum it seems this is an issue that crops up after imports

    That suggests your import script is the issue. Which script are you using?

    #247546
    reedy
    Participant

    I very much doubt my install has been compromised. In fact, searching through the buddypress support forum it seems this is an issue that crops up after imports – so I believe there is probably something in the core code doing this.

    A couple of examples:

    https://buddypress.org/support/topic/post-migration-constant-user-email-notifications-for-mentions/ @zane

    https://buddypress.org/support/topic/mass-notifications-of-old-mentions/ @halo-diehard

    Disabling my mail server is not a practical solution. For now I will just have to block all email notifications for mentions until (hopefully) a solution is found.

    Pssst @netweb – are you still around?

Viewing 25 results - 11,351 through 11,375 (of 69,016 total)
Skip to toolbar