Skip to:
Content
Pages
Categories
Search
Top
Bottom

  • About
  • News
  • Codex
  • Develop
  • Make
  • Forums
  • Download

BuddyPress.org


  • All Members
  • RSS
  • Profile picture of Henry Wright

    Henry Wright replied to the topic How to create activity streams based on words or hashtags? in the forum How-to & Troubleshooting 10 years, 2 months ago

    Because your query has become more complex than a single search term or phrase, I think you’ll need to use meta_query or filter_query instead.

  • Profile picture of Henry Wright

    Henry Wright replied to the topic How to create activity streams based on words or hashtags? in the forum How-to & Troubleshooting 10 years, 2 months ago

    The search_terms parameter acts kind of like a search box (you can type in a term or phrase). To the best of my knowledge, just like a search box, it doesn’t handle multiple terms or phrases. For example philippine tube-nosed fruit bat will be treated as one phrase. You can’t specify 2 phrases such as philippine tube-nosed fruit bat || nyctimene rabori.

  • Profile picture of Oscar Estepa

    Oscar Estepa started the topic Disable All RSS Feeds – update in the forum Creating & Extending 10 years, 2 months ago

    Hi,

    I have a site using buddypress 2.4.3 where all buddypress functionality must be private (requires login) while the blog part is public.

    The problem is that the Activity feed was being crawled by feedly and other services, thus breaking our users privacy.

    Searching on google I found out this…[Read more]

  • Profile picture of Henry Wright

    Henry Wright replied to the topic How to create activity streams based on words or hashtags? in the forum How-to & Troubleshooting 10 years, 2 months ago

    The search terms should be passed as a string just like you did in your code. For example:

    $retval['search_terms'] = 'philippine tube-nosed fruit bat';

    Also, is_page() should work. Try something like this:

    if ( is_page() ) {
    // Get the data you will use as a search term.

    // Filter search_terms
    $retval['search_terms'] = 'search…
    [Read more]

  • Profile picture of Henry Wright

    Henry Wright replied to the topic How to create activity streams based on words or hashtags? in the forum How-to & Troubleshooting 10 years, 2 months ago

    Do you think this will work?

    I don’t think so. The param is actually search_terms, not search_term

  • Profile picture of Henry Wright

    Henry Wright replied to the topic Compose private message issues in BP v2.5.0/2.5.1 in the forum How-to & Troubleshooting 10 years, 2 months ago

    Hi @per4mance

    I just tried #1 and couldn’t reproduce the issue using Twenty Fifteen and no plugins activated. I was able to send the message successfully:

    View post on imgur.com

  • Profile picture of Zacharia hwhyte

    Zacharia hwhyte's profile was updated 10 years, 2 months ago

    Zacharia hwhyte

    @zachariahwhyte

    View Profile
  • Profile picture of Henry Wright

    Henry Wright replied to the topic How to create activity streams based on words or hashtags? in the forum How-to & Troubleshooting 10 years, 2 months ago

    You can add a custom function to the bp_after_has_activities_parse_args filter hook like this:

    add_filter( 'bp_after_has_activities_parse_args', function( $retval ) {
    // Change search-term to your own search term.
    $retval['search_terms'] = 'search-term';
    return $retval;
    } );

  • Profile picture of Henry Wright

    Henry Wright replied to the topic How to replace Username with Email only on login form ? in the forum How-to & Troubleshooting 10 years, 2 months ago

    If you use the Theme My Login plugin, you can customise the login template quite easily.

  • Profile picture of Georgio

    Georgio replied to the topic How to make the admin bar transparent? in the forum How-to & Troubleshooting 10 years, 2 months ago

    With your code and the use of the plugin Better Admin Bar I have made a nice unobtrusive admin bar.
    Any idea how to hide/remove the dashboard link for NON-admins? Thanks.

    screenshot

  • Profile picture of Georgio

    Georgio replied to the topic How to make the admin bar transparent? in the forum How-to & Troubleshooting 10 years, 2 months ago

    It works fine! Thank you very much!

  • Profile picture of Georgio

    Georgio started the topic How to make the admin bar transparent? in the forum How-to & Troubleshooting 10 years, 2 months ago

    Hi
    I would like to make my adminbar transparent. Is it possible?
    screenshot

    Thanks in advance

  • Profile picture of Henry Wright

    Henry Wright replied to the topic There was a problem cropping your profile photo. in the forum How-to & Troubleshooting 10 years, 2 months ago

    Great 😀

  • Profile picture of Henry Wright

    Henry Wright replied to the topic There was a problem cropping your profile photo. in the forum How-to & Troubleshooting 10 years, 2 months ago

    The PHP version you’re using shouldn’t matter unless it’s < 5.2. Also JavaScript is responsible for the actual cropping. I’m guessing you’ve either modified your template in some way or are using some conflicting JavaScript elsewhere?

  • Profile picture of Henry Wright

    Henry Wright replied to the topic How to show "updates" as default in activity? in the forum How-to & Troubleshooting 10 years, 2 months ago

    Can you show us the code you’ve tried?

  • Profile picture of Henry Wright

    Henry Wright replied to the topic Single login for multisite in the forum Showcase 10 years, 2 months ago

    The Jetpack plugin supports single sign on. When you network activate it, you should see a Jetpack > Settings tab in your network admin.

    Ref: https://jetpack.com/2014/02/26/jetpack-2-9/

  • Profile picture of Henry Wright

    Henry Wright replied to the topic Where's the plugins directory page? in the forum Third Party Plugins 10 years, 2 months ago

    I see what you mean now @tangpage. That page was removed last week as far as I know. @djpaul is undergoing a clean-up which I think will also involve removing the individual plugin forums at some point.

  • Profile picture of Henry Wright

    Henry Wright replied to the topic Register Page Multi Language Help in the forum How-to & Troubleshooting 10 years, 2 months ago

    There are several ways to do that. You could use language file(s), filtering or even contribute to a particular language pack. See the following article for more info:

    Customizing Labels, Messages, and URLs

  • Profile picture of Henry Wright

    Henry Wright replied to the topic Members behind login show up in Google search results in the forum How-to & Troubleshooting 10 years, 2 months ago

    How are you restricting access to those pages? If Google can see the content then those pages aren’t private. BuddyPress doesn’t make content private by default, neither does it try to.

  • Profile picture of Henry Wright

    Henry Wright replied to the topic How to create activity streams based on words or hashtags? in the forum How-to & Troubleshooting 10 years, 2 months ago

    You will need to use bp_before_has_activities_parse_args for this. The article below has some really great examples to get you started:

    Using bp_parse_args() to filter BuddyPress template loops

    I’d imagine search_terms would be the most suitable parameter to filter in your case.

  • Load More

WordPress.org bbPress.org BuddyPress.org Matt Blog RSS

GPL Contact Us Privacy Terms of Service X

Skip to toolbar
    • WordPress.org
      • About WordPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
    • bbPress.org
      • About bbPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
    • BuddyPress.org
      • About BuddyPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
  • Log in
  • Anonymous
    • AnonymousNot Logged In
    • Register
    • Log In