Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 76 through 100 (of 1,585 total)
  • @boonebgorges

    Keymaster

    Hi @aubreyw – The email should show up immediately. If it’s not, the places you should check are:

    1. Is any email being sent from your server? For example, do BP emails (like private message notifications) show up? How about other WP notifications, like a password reset?

    2. Check your spam folders (which it sounds like you’ve already done)

    It’s possible to manually trigger the activation of a changed email address, but it sounds like the more fundamental problem here is that emails aren’t working properly, so it seems better to try to address that problem first.

    In reply to: Cover Photo Issues

    @boonebgorges

    Keymaster

    Hm. In this case, there must be a disconnect between your theme’s setting $content_width and the BP features that use this value. Start your debugging at bp_register_theme_compat_default_features() in bp-core/bp-core-theme-compatibility.php.

    @boonebgorges

    Keymaster

    @mbfit If by “unsearchable” you mean that they don’t show up in the directory anymore, then the problem is probably that the plugin deleted the ‘last_activity’ activity items for each user. As such, BP doesn’t show them as active users.

    If you retained a backup before you ran the delete process, then you should restore the last_activity items from it. If not, you can run a script that will set last_activity for all users that don’t have it set – though note carefully that it won’t really be *accurate*.

    
    function bbg_set_last_activity() {
        global $wpdb;
        $user_ids = $wpdb->get_col( "SELECT ID FROM {$wpdb->users}" );
        foreach ( $user_ids as $user_id ) {
            if ( bp_get_user_last_activity( $user_id ) ) {
                continue;
            }
    
            bp_update_user_last_activity( $user_id );
        }
    }
    

    As to your original question, there is no single UI or command you can run to delete activity items based on date. wp-cli-buddypress would be part of a good solution, but it would take additional scripting to delete based on date range. If you have some familiarity with bash scripting or PHP scripting, I will point you in the right direction, but I don’t want to just give you stuff to copy and paste, because deleting stuff is dangerous 😀

    @boonebgorges

    Keymaster

    Can you give an example of what the “main forums page” URL looks like? Is it example.com/forums? (BP itself is not responsible for creating a page like this, so I want to have a better idea of where I can send you for help.)

    @boonebgorges

    Keymaster

    I’m not sure that previous_posts_link() and next_posts_link() will work in the context of a custom WP_Query loop. See https://wordpress.stackexchange.com/questions/20424/wp-query-and-next-posts-link for a pointer.

    @boonebgorges

    Keymaster

    To be clear, you should see a ‘Take Photo’ link next to ‘Upload’ in the Change Profile Photo interface. See https://postimg.org/image/8q5qy769z/

    A first check: Look at the source of the page and search for the string camera_warnings (which should be a list of error messages). If you don’t see this, then it’s likely that another plugin is disabling the webcam feature on the server, using the bp_avatar_use_webcam hook.

    @boonebgorges

    Keymaster

    Hi @humiges – Are the posts themselves being published on schedule? If I understand you correctly, the posts are being published but the corresponding activity items are not being created. Is that correct?

    I just checked, and it does appear that activity items generally *are* created for scheduled posts, at the time of publishing. So what you’re looking for is, in fact, expected behavior.

    Are the scheduled blog posts public?

    In reply to: Blink my avatar

    @boonebgorges

    Keymaster

    Hi @autox420 – The first answer to this question https://stackoverflow.com/questions/21203526/hide-unhide-div-with-button shows a technique that you can use to add a button like this to your theme.

    @boonebgorges

    Keymaster

    Not sure if this is directly related to what you’re trying to do, but I wrote a post about dynamically adding items to a WP menu a couple years ago, which demonstrates some of what Henry has mentioned above: https://teleogistic.net/2013/02/11/dynamically-add-items-to-a-wp_nav_menu-list/

    @boonebgorges

    Keymaster

    Glad you found the problem!

    @boonebgorges

    Keymaster

    Don’t abandon the Groups functionality or BuddyPress over this small display issue! With a plugin like this https://wordpress.org/plugins/simple-custom-css/, it is trivial to add the CSS that I gave above.

    Building a child theme is more complex, and is something you should learn down the road if you plan to make extensive customizations. But if you just need to make a small change like what I’ve suggested, then a plugin like https://wordpress.org/plugins/simple-custom-css/ is more than enough.

    @boonebgorges

    Keymaster

    I should note that, if you are at all uncomfortable with building a child theme, then you should instead use Jetpack’s Custom CSS module (or a similar plugin). While building a child theme is pretty straightforward once you’re used to it, it can be intimidating at first and has the potential to break your site (temporarily!) if not implemented correctly.

    @boonebgorges

    Keymaster

    No – you have put it inside the comment marks that indicate the stylesheet header. Move it below this:

    
    */
    

    Then you have to actually activate the them. It looks like you are still running the parabola theme.

    @boonebgorges

    Keymaster

    I don’t know of an existing tool to do this, but you could create it yourself. Use the ‘delete_user’ hook, which fires just *before* the user account is actually deleted; you’ll need to do it this way so that you still have access to the email address. Something like:

    
    add_action( 'delete_user', function( $user_id ) {
        $user = new WP_User( $user_id );
        $email = $user->user_email;
        // ...
    } );
    

    @boonebgorges

    Keymaster

    Thanks for the link. It does appear that the margin-top property is the culprit.

    Here is the CSS that should fix it:

    
    body.single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content, body.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions {
        margin-top: 0px;
    }
    

    I don’t recommend that you make the change directly to your themes/parabola/style.css stylesheet, as it will be overridden on the next update. I suggest building a child theme. But you could also use a custom CSS plugin, or the Custom CSS tools in Jetpack.

    @boonebgorges

    Keymaster

    If your theme uses bp-legacy theme templates, then the styles for the Who’s Online widget are in buddypress/bp-templates/bp-legacy/css/buddypress.css.

    https://postimg.org/image/sl03lqwff/

    BuddyPress does have a lot of files, but it’s organized according to pretty specific principles, and I don’t think it qualifies as “messy”. In any case, for the purposes of CSS, you can always use your browser inspector (see image above) to locate styles.

    @boonebgorges

    Keymaster

    Ah yes, thanks for that.

    It looks like your theme is loading scripts from BuddyPress, but is using an old path for these scripts. (BP changed the paths a couple versions ago. See https://buddypress.trac.wordpress.org/changeset/11009.) Look in your theme – probably in functions.php – to see how it’s loading the cookie, caret, and atwho scripts. Then update the paths as needed (I think you can just add /vendor/).

    @boonebgorges

    Keymaster

    Excellent – thanks for reporting back!

    @boonebgorges

    Keymaster

    You may be able to disable the linking in the admin. Go to Dashboard > Users > Profile Fields. Find the Email field, and click Edit. On the right-hand column, find the “Autolink” metabox. Switch it to ‘Disabled’ and save.

    @boonebgorges

    Keymaster
    In reply to: customize members page

    @boonebgorges

    Keymaster

    > i created customed fields for the inner-page of the user, but they don’t show in the members list page.

    The details depend on how you created these “customed fields”. If they are xprofile fields, then the simplest way is to do this:

    
    $user_id = bp_get_member_user_id();
    $data = xprofile_get_field_data( 'Custom Field Name', $user_id );
    if ( $data ) {
        echo $data;
    }
    

    If you stored it in user meta, do something similar:

    
    $data = get_user_meta( $user_id, 'custom_field_name', true );
    

    Either way, bp_get_member_user_id() is how you get the ID of the current user in the loop.

    @boonebgorges

    Keymaster

    Your problem is probably bp_displayed_user_id(). This returns the ID of the user whose profile you’re currently viewing – that is, example.com/members/username.

    Within a bp_has_members() loop, use bp_get_member_user_id() instead.

    @boonebgorges

    Keymaster

    Can you say how the slider is “broken”? I just clicked on the link and it seems to be working OK.

    You might consider opening your JS console (generally, press F12 and hit the Console tab) to see if you find any JS errors that might be triggering something to break.

    @boonebgorges

    Keymaster

    Cool – thanks for reporting back!

    @boonebgorges

    Keymaster

    I think you want something like this:

    
    $user_id = bp_loggedin_user_id();
    $user_profile_url = bp_core_get_user_domain( $user_id );
    
Viewing 25 replies - 76 through 100 (of 1,585 total)
Skip to toolbar