Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 599 total)
  • Avatar of henrywright
    henrywright
    Moderator

    @henrywright

    In that case check out the BP template hierarchy article:

    http://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/

    Avatar of henrywright
    henrywright
    Moderator

    @henrywright

    Avatar of henrywright
    henrywright
    Moderator

    @henrywright

    I’m not able to test at the moment (am away for the next 7 days and am currently typing from my tablet). But it sounds like the ‘load more’ click is resulting in all activity item comments being revealed? As far as I’m aware, a load more click should load new activity items onto the page and should not have any impact on activity item comments being shown or hidden. It would make sense for the functionality which displays or hides activity item comments to be associated with a different event listener (i.e. not the load more button click)

    Avatar of henrywright
    henrywright
    Moderator

    @henrywright

    Hey @mcpeanut!

    Considering you’ve tested unsuccessfully on an unmodified Twenty Twelve – Thirteen – Fourteen, it might be worth making the core dev team aware of the problem by opening a Trac ticket:

    https://buddypress.trac.wordpress.org

    Avatar of henrywright
    henrywright
    Moderator

    @henrywright

    Further to @bphelp‘s suggestion, keep an eye on this ticket which aims to have this available in core by v2.2

    https://buddypress.trac.wordpress.org/ticket/4988

    Avatar of henrywright
    henrywright
    Moderator

    @henrywright

    Being a premium theme, I can’t see the code. Try asking their support team, they should be able to help

    Avatar of henrywright
    henrywright
    Moderator

    @henrywright

    Hi @tightflks

    You can use get_avatar() instead of the BuddyPress function bp_core_fetch_avatar(). See: http://codex.wordpress.org/Function_Reference/get_avatar

    Avatar of henrywright
    henrywright
    Moderator

    @henrywright

    Hi @alberhd

    This is actually something specific to the theme you’re using. Which theme are you using?

    Avatar of henrywright
    henrywright
    Moderator

    @henrywright

    Look into WP multisite. It will allow you to have multiple sub domains use a single database.

    Avatar of henrywright
    henrywright
    Moderator

    @henrywright

    It’s best if you open a ticket for this on Trac:

    https://buddypress.trac.wordpress.org

    Avatar of henrywright
    henrywright
    Moderator

    @henrywright

    Hi @pstidsen

    It sure is possible but you’ll need to write a custom function to handle the behaviour. The hook you’ll need is messages_message_sent. It fires after a private message has been sent successfully.

    Avatar of henrywright
    henrywright
    Moderator

    @henrywright

    @danbp I’ve used Hashbuddy in the past and remember it to be a very good plugin!

    Avatar of henrywright
    henrywright
    Moderator

    @henrywright

    @julia_b I just re-read your question. I’m now wondering what exactly you mean by tag someone? If you mean @-mention someone then email alert settings are available but if you meant hashtag someone #henrywright (which is what I originally thought you meant but am now not so sure) then that sort of functionality isn’t standard.

    Avatar of henrywright
    henrywright
    Moderator

    @henrywright

    @danbp I completely missed the comment in bp-activity-functions.php you pointed out! I see there’s a @todo in the source, so I’m sure the core devs are dreaming up a solution as we speak :)

    Avatar of henrywright
    henrywright
    Moderator

    @henrywright

    @danbp

    Great explanation :)

    Regarding mentions, I’m not seeing how spaces in usernames can work. Say hypothetically my username is Henry Wright (note that’s my username and not my display name). How would you mention me in a public message?

    @Henry Wright wouldn’t mention me. It’d mention someone with the username @Henry.

    Avatar of henrywright
    henrywright
    Moderator

    @henrywright

    Maybe I’m misunderstanding how @-mentions work. The way I see it, if your username is (note the space):

    Jane Doe

    …and I want to mention you in an update, then I’d write:

    @Jane Doe

    But, as you can see there is a problem with that. Jane Doe won’t get the notification because somebody with the username @Jane got it instead.

    Perhaps @danbp can shed some light on this?

    Avatar of henrywright
    henrywright
    Moderator

    @henrywright

    In the last screenshot, if you take a look under the IP address it reads: @ Julia Buckley

    Regarding the roadmap, 2.1 is due any time soon. See https://buddypress.trac.wordpress.org/roadmap

    Avatar of henrywright
    henrywright
    Moderator

    @henrywright

    Hi @julia_b

    As @durkk mentioned, @-mentions work on username and not on display name. So going on what you have in the screenshot, sending a public message to @ Julia Buckley will actually send the message to a user with username @ Julia. This probably isn’t want you want.

    Avatar of henrywright
    henrywright
    Moderator

    @henrywright

    @shanebp even if I provided some explanation of the priority requirement, I think my edit to change the hook to wp_enqueue_scripts may have introduced confusion to some people not as familiar with the priority param. I think it’s safer all round just to use wp_print_scripts, especially as the hook isn’t being deprecated as first thought.

    Avatar of henrywright
    henrywright
    Moderator

    @henrywright

    @albert101

    If you copy and paste this into your theme’s functions.php file, it should work.

    function my_dequeue_script() {
        if ( bp_is_activity() )
            wp_dequeue_script( 'xyz-custom-script' );
    }
    add_action( 'wp_print_scripts', 'my_dequeue_script', 100 );

    Your functions.php file will be located at: /wp-content/themes/your-theme/functions.php

    Avatar of henrywright
    henrywright
    Moderator

    @henrywright

    @hnla we’ll blame the Red Arrows for interrupting our concentration :)

    Thanks @shanebp for pointing out.

    Avatar of henrywright
    henrywright
    Moderator

    @henrywright

    Probably best if I revert my change! I’ll see to that now…

    Avatar of henrywright
    henrywright
    Moderator

    @henrywright

    Here is the updated code:

    function my_dequeue_script() {
        if ( bp_is_activity() )
            wp_dequeue_script( 'xyz-custom-script' );
    }
    add_action( 'wp_enqueue_scripts', 'my_dequeue_script', 100 );
    Avatar of henrywright
    henrywright
    Moderator

    @henrywright

    Done! :)

    Avatar of henrywright
    henrywright
    Moderator

    @henrywright

    @hnla good spot. I took the example from the WP Codex article I referenced in my post. Do you want to update or should I?

Viewing 25 replies - 1 through 25 (of 599 total)