Easily search through all blogs into your WordPress Multisite posts by post title, post content or post author. Multisite Global Search doesn’t work with single WordPress installation and it must be activated for all sites using «network activate» in the plugins admin panel.
This plugin is based on my other global search plugin, WPMU Global Search. It has some new features but if you want to keep using the older version of WordPress MU, you can install my other plugin.
Currently in the following languages:
- English (en_GB)
- French (fr_FR) by Fabrice Perrinel
- German (de_DE) by Dennis Vorpahl
- Norwegian Bokmal (nb_NO) by Tore Johnny Bråtveit
- Portuguese (pt_PT) by José Anjos
- Romanian (ro_RO) by Alexander Ovsov Web Geek Science
- Russian (ru_RU) by Sam Savinov
- Serbian (sr_RS) by Andrijana Nikolic http://science.webhostinggeeks.com/multisite-global-search
- Slovak (sk_SK) by Branco WebHostingGeeks.com
- Spanish (es_ES)
If you have created your own language pack, or have an update of an existing one, you can send gettext .po and .mo files to me so that I can bundle it into Multisite Global Search.
Requeriments
- WordPress Multisite Installation.
- MySQL 5.0.1 or greater.
- The MySQL user needs to be assigned the ability to «create views» and «drop views» in WordPress database.
- Permalink structure must be diferent to default when widget is activated in a blog of your network.
Features
- Search on posts and pages.
- Put search form into your code.
Multisite_Global_Search::ms_global_search_vertical_form(your_results_page)
Multisite_Global_Search::ms_global_search_horizontal_form(your_results_page)
- Insert search form in templates using a shortcode:
[multisite_search_form]
- Use type attribute to select vertical form or horizontal form. Default attribute value: vertical.
[multisite_search_form type="vertical"]
[multisite_search_form type="horizontal"]
- Use page attribute to change results page URI. Default attribute value: globalsearch.
[multisite_search_form page="multisite-search"]
Search results will be showed in http://your_blog_URL/multisite-search.
- Search results are showed in a page which contents the shortcode:
[multisite_search_result]
- Show excerpted results:
[multisite_search_result excerpt="yes"]
- Multisite Global Search Widget. Show a search form in your sidebar.
- Customizable relative URI for results page.
- Two different form types, vertical and horizontal.
- Search across all network blogs or only in your blogs if you are logged.
- Entries on every site across your installation appear in search results immediately after publication.
- Receive results from your complete blog network, even sites you do not own or control.
- Customizable style sheet for widget and results page.
Download
Download the plugin from the WordPress Plugin Repository: http://wordpress.org/extend/plugins/multisite-global-search/
If plugin works in your WP version, send your vote and push works in the compatibility form.
Also getting this error:
Fatal error: Cannot redeclare ms_global_search_install_multisite_notice() (previously declared in /home///public_html/wp-content/plugins/multisite-global-search/multisite-global-search.php:37) in /home///public_html/wp-content/plugins/multisite-global-search/multisite-global-search.php on line 40
Also, only seeing v_posts and v_postmeta in the database.
@Scot I just send you an email with a development version but you can download here. If it works, please leave me a message by twitter, email or in this page.
Hi
Downloaded, installed, get:
Error creating search views in the database. Deactivate Multisite Global Search and check you have create views privilege in your WordPress database.
@Scot Let’s try again please. I’ve updated development version, download here, install, deactivate plugin and activate it.
I just receive your email, you can edit multisite-global-search/style.css to match the search results with your existing theme.
Hi Alicia,
I use WP3 multisite and tested MS Global Search 1.2.2 — having the same result as Scot («Error creating search views in the database. Deactivate Multisite Global Search and check you have create views privilege in your WordPress database.»).
You refer to a «development version» but I cannot see it anywhere. Do I need new glasses? 🙂
-Frank
@Frank J. Scot’s error was resolved and now development version is the same than version 1.2.2.
Check error log and database tables. Have to exists three views v_posts, v_comments and v_postmeta.
Would you mind explaining what it means to «Create view privilege in WordPress database»?
@Roy The database user in wp_config.php (define(‘DB_USER’, ‘usernamehere’);) have to have the «create view» privilege and the «drop» privilege. I’m talking about MySQL privileges.
If you are using root user you don’t have anything to worry about.
@aliciagh
Sorry, but inspite of a whole afternoon of ‘Googling’ that is still Greek to me (or Spanish, haha). I have one database, one user, I have looked in the plesk admin, but I can’t find how to set user privileges, but I CAN run sql statements. I found one that gives (I think) the same error as your plugin on activation
My server has SQL 4.1.21, could that be the problem?