Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 2,802 total)

  • shanebp
    Moderator

    @shanebp

    @prashantvatsh – thanks for the rely.
    Please use the code button when sharing code.


    shanebp
    Moderator

    @shanebp

    afaik, date_query is the argument you should use.
    See WP_Date_Query::__construct()} for syntax.


    shanebp
    Moderator

    @shanebp


    shanebp
    Moderator

    @shanebp


    shanebp
    Moderator

    @shanebp

    You should read up on what they do and how to use action and filter hooks.

    Untested, just to give you the general idea..

    function jen_check_avatar_upload( true, $file, $upload_dir_filter ) {
    
       // check the $file re type, dims, etc
       // if you don't like the value of any param, 
       // return false
    
       return true;
    
    }
    add_action( 'bp_core_pre_avatar_handle_upload', 'jen_check_avatar_upload', 10, 3 );

    shanebp
    Moderator

    @shanebp

    Try using this hook bp_core_pre_avatar_handle_upload
    Found in buddypress\bp-core\bp-core-avatars.php


    shanebp
    Moderator

    @shanebp

    “Show Toolbar when viewing site” is a WP setting.
    Somebody probably has such a function.
    But you should ask a larger audience – try wordpress.org/support/


    shanebp
    Moderator

    @shanebp

    Perhaps it’s a hook priority issue – try using a number less than 10.

    Or… Did you try using messages_message_after_save ?
    Found in buddypress\bp-messages\classes\class-bp-messages-message.php


    shanebp
    Moderator

    @shanebp


    shanebp
    Moderator

    @shanebp

    As of BuddyPress 2.0, last_activity is no longer stored in usermeta.
    However, it is mirrored there for backward compatibility.
    Instead, refer to the _bp_activity table.

    My first reply included a link to code for insuring that all members have a ‘last_activity’ timestamp.
    Did you follow the directions and run the code?


    shanebp
    Moderator

    @shanebp

    Make sure all your members have a ‘last_activity’ timestamp.

    New users not showing on member page until they sign in

    If the issues persist, you need to do some basic debugging.
    Start by using a WP theme like 2017 and use the BP > Options > Template Pack > BuddyPress Legacy templates. If that clears up the issues, then you need to get a solution from BuddyBoss.

    If the issues persist, deactivate any other plugins.
    If the issues persist, there is a serious and unknown problem.
    Otherwise, activate the other plugins one at a time until you see an issue.


    shanebp
    Moderator

    @shanebp

    Set your permalinks to ‘Post Name’ and click ‘Save Changes’.
    dot.com/wp-admin/options-permalink.php


    shanebp
    Moderator

    @shanebp

    How is that incorrect ?

    What do you think the fix should be ?


    shanebp
    Moderator

    @shanebp

    On the front end, go to a group and select ‘Manage’.
    You should end up on an url like: .../groups/your-group/admin/edit-details/
    And be able to edit the description.

    On the back-end, wp-admin > Groups > roll over a group name and select ‘Edit’.

    Re the second issue: https://buddypress.org/support/topic/description-groups/


    shanebp
    Moderator

    @shanebp

    Paste in your theme functions.php or in bp-custom.php.
    Load the site in a browser
    Remove from your theme functions.php or bp-custom.php.

    https://gist.github.com/shanebp/b73343e9c9a6509d2bbc47de80c881c1


    shanebp
    Moderator

    @shanebp

    I’m not very familiar with Nouveau.
    I think you’re using a custom ‘front.php’ template ?
    Perhaps you could add a hook to that template and write a function to call whenever that template loads. Not very slick, but easy and flexible.


    shanebp
    Moderator

    @shanebp

    What do you mean by ‘bp front page’ ?
    The home page of your site ?
    The landing page of any profile ?
    Share an url fragment as part of your reply.


    shanebp
    Moderator

    @shanebp

    In this context, item_id is related to the component.
    For example, if the component is ‘groups’, then the item_id is a group id.
    And secondary_item_id is kinda like another filter, maybe a comment_id.

    But custom-rolling an activity list is going to lead you, at some point, into a dead end.

    A much better approach is to use the many parameters of bp_has_activities.
    And maybe write some custom sql to gather data arrays to feed into that function.


    shanebp
    Moderator

    @shanebp

    BuddyPress does not provide a login popup window.
    You need to talk to whoever created the login popup that you are using.


    shanebp
    Moderator

    @shanebp

    How are you getting item_id ?
    You probably already have the author ID in the same object or array that is providing the item_id, especially if you’re in a loop.

    You can always write a direct sql query: https://codex.wordpress.org/Class_Reference/wpdb


    shanebp
    Moderator

    @shanebp

    …it is possible to add custom fields to groups?

    Yes – you will need skill as a WP developer.

    Group Extension API


    shanebp
    Moderator

    @shanebp


    shanebp
    Moderator

    @shanebp

    Google for ‘wordpress database search replace’.
    And find results like:
    https://interconnectit.com/products/search-and-replace-for-wordpress-databases/


    shanebp
    Moderator

    @shanebp

    Please use the code button when sharing code.

    Thank you for this report and suggested fix.
    Typically, bug reports are submitted in the support forum for a specific plugin.

    BuddyPress Simple Events


    The plugin has been updated.


    shanebp
    Moderator

    @shanebp

    Please use the code button when sharing code.

    When extending Groups, you should use the BP_Group_Extension.
    It’s easy to use and handles creation of nav items.

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