-
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_queryorfilter_queryinstead. -
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_termsparameter 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. -
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]
-
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
stringjust 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] -
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, notsearch_term -
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:
-
Zacharia hwhyte's profile was updated 10 years, 2 months ago
-
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_argsfilter 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;
} ); -
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.
-
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. -
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!
-
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?
screenshotThanks in advance
-
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 😀
-
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?
-
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?
-
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.
-
Henry Wright replied to the topic Where's the plugins directory page? in the forum Third Party Plugins 10 years, 2 months ago
-
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:
-
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.
-
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_argsfor this. The article below has some really great examples to get you started:I’d imagine
search_termswould be the most suitable parameter to filter in your case. - Load More