Continue reading Restricting the indexing to particular user roles

Restricting the indexing to particular user roles

From the Relevanssi settings, you can only choose whether subscribers are indexed or not. If you need finer control over what user roles are indexed by Relevanssi, you can use the relevanssi_user_index_ok filter hook with the following code. Place it in your theme functions.php: Just adjust the $block_these_roles array to include the roles you want…

Read more Restricting the indexing to particular user roles 0 Comment on Restricting the indexing to particular user roles
Continue reading bbPress: Private Groups support

bbPress: Private Groups support

Private Groups is a plugin that makes bbPress forum groups private. Relevanssi, however, doesn’t understand that privacy and will show those groups in the search results. Relevanssi has means to support this, however, with the help of the relevanssi_post_ok filter. Here’s some code from Mark Wass that makes the private forum posts private in search.…

Read more bbPress: Private Groups support 0 Comment on bbPress: Private Groups support
Continue reading Premium 1.14.6 | Free 3.5.6

Premium 1.14.6 | Free 3.5.6

Relevanssi Premium 1.14.6 and Relevanssi 3.5.6 are important security updates. There’s a SQL injection vulnerability in Relevanssi. It’s not terribly dangerous, as it requires admin access, but it is possible to exploit. Premium also has another security vulnerability: the option import option can be exploited. That exploit also requires admin access. Both of these vulnerabilities…

Read more Premium 1.14.6 | Free 3.5.6 2 Comments on Premium 1.14.6 | Free 3.5.6
Continue reading Utf8mb4 charset and index problems

Utf8mb4 charset and index problems

If you use utf8mb4 charset, Relevanssi database table may be missing an index. That’s because part of the index includes a column type that is of varchar(210) type. This is fine with utf8, but fails for utf8mb4, which only allows columns 191 characters long (because maximum column size is 767 bytes, and for 4-byte utf8mb4…

Read more Utf8mb4 charset and index problems 0 Comment on Utf8mb4 charset and index problems
Continue reading Free 3.5.5

Free 3.5.5

Relevanssi 3.5.5 is out now and available from the plugin repository. 500 errors caused by arrays in custom fields should be gone now. Improvements to the ACF “select” field support. Relevanssi will not break when frontend plugins insert posts. relevanssi_match filter has a new parameter, which contains the search term. Polylang support has been improved.…

Read more Free 3.5.5 0 Comment on Free 3.5.5
Continue reading Premium 1.14.5

Premium 1.14.5

Relevanssi Premium 1.14.5 is a recommended release, as it fixes significant bugs that caused failures when custom fields contained arrays and when front-end plugins created posts. Multisite users are happy to find out meta_query support has been added to multisite searches and the post type filters work better. Relevanssi had problems with plus signs in…

Read more Premium 1.14.5 1 Comment on Premium 1.14.5
Continue reading Relevanssi Premium as a Composer package

Relevanssi Premium as a Composer package

…use the following: https://www.relevanssi.com/update/get_version.php?api_key=XXX&version=2.20.1 The Composer package should look something like this: { “type”: “package”, “package”: { “name”: “relevanssi/relevanssi-premium”, “version”: “2.20.1”, “type”: “wordpress-plugin”, “dist”: { “type”: “zip”, “url”: “https://www.relevanssi.com/update/get_version.php?api_key=XXX&version=2.20.1″ }, } } WP CLI also supports installing plugins from URLs. You can do this to install Relevanssi Premium: wp plugin…If you want to install Relevanssi Premium as a Composer package, you can use the following URL to fetch the latest version: https://www.relevanssi.com/update/fetch_latest_version.php?api_key=XXX Replace XXX with your valid API key. The URL will always return the latest version of the plugin files. If you want a specific version, you can……install https://www.relevanssi.com/update/fetch_latest_version.php?api_key=XXX Both URLs support HTTP basic auth. If you don’t include the api_key parameter, you’ll be prompted for your user name and password. Use your Relevanssi.com account user name (not the login email) as the user name and your API key as the password. These can be stored in…

Read more Relevanssi Premium as a Composer package 0 Comment on Relevanssi Premium as a Composer package
Continue reading Premium 1.14.3

Premium 1.14.3

Version 1.14.3 of Relevanssi Premium is out. This version includes small bug fixes. One of the bugs affects relevancy values of posts, which can be significant, so I would recommend updating. Fix for a small bug that caused inflated relevancy values. relevanssi_didyoumean_url has two more parameters (uncorrected query and the suggestion). The Did you mean…

Read more Premium 1.14.3 0 Comment on Premium 1.14.3