Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 1,727 total)
  • Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    afaik, there is no option.
    Try this in your theme/functions.php

    function larnoult_remove_bbpress_notifications() {
        remove_action( 'bbp_new_reply', 'bbp_buddypress_add_notification', 10, 7 );
    }
    add_action( 'bbp_loaded', 'larnoult_remove_bbpress_notifications', 99  );

    You may need to tweak the priority settings.
    https://codex.wordpress.org/Function_Reference/remove_action

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Closed as duplicate of
    https://buddypress.org/support/topic/follow-categories-to-register/

    If you want to hire a developer, explain the exact task you want to accomplish.
    And provide your contact info.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    You can create a job listing here.
    Be sure to include your contact info.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    No, afaik.
    You would have to write some custom code.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    You can put anything you want in $message

    For example:

    $subject = ' this is the subject line for the message';
    $message = 'this is the message';
    wp_mail( $admin_email, $subject, $message );

    https://codex.wordpress.org/Function_Reference/wp_mail

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    The git code is 2.7 years old.

    If var_dump isn’t working, make sure the function is being called – try an echo before the preg_match call.

    You can also open an issue in the git plugin and see if you get a response.
    https://github.com/imath/bp-loop-filters/issues

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Again – Did you try switching to a WP theme like 2015 to determine if the issue is in your theme?

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Please use the code button when posting code.
    Try:

    <?php if( bp_group_is_forum_enabled() ) : ?>
       // do something
    <?php endif; ?>
    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    These plugins should address parts of #12:

    https://wordpress.org/plugins/bp-local-avatars/

    https://wordpress.org/plugins/buddypress-identicons/

    I do list “plupload.full.min.js” and other similar scripts in Autoptimze “Exclude list”

    If you don’t include required files, things tend not to work.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Did you put the profile fields in the ‘Base (Primary)’ group?
    By default, only those fields appear on Register.

    Did you try switching to a WP theme like 2015 to determine if the issue is in your theme?

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Optimize Press uses a custom post type.
    So you need to add activity tracking support to it.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Try:

    function angelo_filter_activity( $retval ) {
        
        $retval['scope'] = 'bbp_reply_create,bbp_topic_create';
     
        return $retval;
    }
    add_filter( 'bp_after_has_activities_parse_args', 'angelo_filter_activity' );
    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Moved to the Jobs forum.
    @lonewolf95665 – you need to provide contact info.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    You want to create an event via the update form on the activity page?
    afaik – that is not possible.

    You can create events that will also generate an entry in the activity stream.
    This plugin will do that: https://wordpress.org/plugins/buddypress-simple-events/

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    @gabriela-queiroz – a few words about what the solution was would be appreciated.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Glad you found the problem – the latest WLM has caused all kinds of issues re BP.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    In the function, try changing Country to country.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Don’t change the name, just follow the directions about using the function.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    You can’t find the word Country in the function called ‘naisai_make_field_delete’ ???

    Can you find this WHERE name = in that function?

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Don’t replace the code.

    Use this function, and change ‘Country’ to the name you gave the field.

    function naisai_make_field_delete() {
    	global $wpdb;
    	
    	$table = $wpdb->prefix . "bp_xprofile_fields"; 
    	$wpdb->query( "UPDATE $table SET can_delete = 1 WHERE name = 'Country'" );
    	
    }
    add_action( 'bp_ready', 'naisai_make_field_delete' );

    Then visit your site’s home page.
    Then go to that field in wp-admin and you should see a Delete link.
    If you have more than one field you want to Delete, then change the name in the function and repeat the process.
    When you are done – remove the function.

    Then, if you want, get the code from the gist and run again.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    You should remove that code as soon the field is created.
    If you edit the field name, then a new field will be created – if you don’t remove the code.

    They dont have a delete button and now I cannot remove any of the fields.

    That is because 'can_delete' => false, should be 'can_delete' => true,.
    I have corrected the gist.

    To delete the fields you already have, you can use a database tool like phpmyadmin.
    You need to find the row(s) in the bp_xprofile_fields table and for each row, change the can_delete field value to 1. Then a ‘Delete’ will appear for that field in wp-admin.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    What theme are you using?
    Try switching to a WP theme like 2015 – if the problem is gone, then it’s something in your theme.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    This is the BP support site.
    The bbPress support site is here.

    Have you tried https://wordpress.org/plugins/gd-bbpress-attachments/ ?

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Yeah – the names are very confusing and unfortunate.

    bp-default is deprecated and only there for compatibility with the few sites that still use it.

    I apologize for pointing you to that dir in my first answer – corrected.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    It’s probably a matter of adding a simple conditional.

    if( bp_is_my_profile() ) 
        // code to show the galleries

    If you added the galleries manually to profile-loop.php, then the conditional could go there.
    Have you asked rtMedia ?

Viewing 25 replies - 1 through 25 (of 1,727 total)
Skip to toolbar