Multisite Global Search

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:

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.
    Vertical Multisite Search Form 

    [multisite_search_form type="vertical"]

    Horizontal Multisite Search Form

    [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.

144 comentarios en «Multisite Global Search»

  1. great plugin!!!

    is there a way to limit the results to just the title? I have a lot of contect so it returns a lot of information.

    thanks so much

  2. in my code it has …… if(strcmp($excerpt, «yes») == 0)

    i got it to work with this code… so it only returns the title. for some reason it doesnt recognize «excerpt» so i added this uder it

    echo substr(strip_tags($post->post_content), 0, 200);
    else
    echo substr(strip_tags($post->post_content), 0, 200); ?>

    i think my code is quick and dirty maybe there is a better way…

  3. Gracias por el plugin, la verdad quiero instalarlo pero no puedo.
    Sucede que tengo un wp 3.0.4 actualizado desde un wordpress mu 1.3, el problema es que como vengo de un upgrade no puedo activar la opcion MULTISITE, porque si lo hago no me reconoce la base de datos.
    Intente borrar las partes de tu codigo que lo solicitaban pero aun asi no me agarra, como opcion desdesperada borre toda posibilidad de que pidiera el multisite pero cuando lo hago solo me agrega uno de los sitios a la vista de la base de datos.

    Por favor te pido alguna guia para hacer funcionar esto, no puedo reinstalar wordpress ya que son muuuuuuuuuuuuuuuchos posts en cada uno de los blogs y no los puedo perder.

    Gracias de antemano.
    Claudio

  4. Hi Aicia,

    I have switched to you latest Multisite Global Search. I am getting the following error when trying to activate the plugin

    Error creating search views in the database. Deactivate Multisite Global Search and check you have create views privilege in your WordPress database.
    The used SELECT statements have a different number of columns

    I have double checked an the data base user hall ALL privileges and the version of MySQL is 5.0.91

    So I am thinking there must be a wrong number of columns in the database. What columns are referenced in the Select statement and what columns should I look for in the database.

  5. @Claudio Castro Prueba a ver si te funciona cambiando la línea 31:

    if ( !defined( ‘MULTISITE’ ) || MULTISITE == false ) {

    Por esto:

    if( !is_multisite() ) {

    Ese es el único lugar donde compruebo que sea multisite. Me he dado cuenta que como utilizo la función wp_blogs_prefix no funciona adecuadamente para mi plugin así que arreglaré este bug en la siguiente actualización 😉

  6. @aliciagh

    WP 3.0.4, BP 1.2.7 and MGS 1.2.4

    After installing and network activating, error arrived:

    Error creating search views in the database. Deactivate Multisite Global Search and check you have create views privilege in your WordPress database.
    CREATE VIEW command denied to user ’user’@’localhost’ for table ’wp_v_posts’

    How to fix this ?

    Regards,

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *