Currently 15:56:19 GMT

(Login | Register)

Owner: Joevanni

Type: WPMU Plugin

Created: 2007-06-07 13:53:03

Last Modified: 2008-07-16 07:05:15


gt_search_all_blogs-1.1.rar (48 download(s))

gt_search_all_blog-1.1.zip (51 download(s))

gt_search_all_blog-1.1.tar.gz (34 download(s))

greek_language.inc.zip (27 download(s))

italian.zip (95 download(s))

gt_search_all_blogs.zip (1029 download(s))

gt_search_all_blogs.tar.gz (129 download(s))

gt_search_all_blogs.rar (69 download(s))

This is the new version of my plugin. I added more features and it is a little less buggy (I hope). Here the features:

To translate your search engine, open language.inc.php and change the variables from English to your language. If you want, you can send me your translation and it will be available on this page. As usually, please report any bug or error you have. Thanks. Here the post I wrote about this plugin.
  1. Copy gt_search_all_blogs.php and language.inc.php in your mu-plugins directory.
  2. Copy search.php in your template directory (overwrite your search.php, or modify your search.php, if you want).
  3. Enjoy your search in your WPMU main blog.
P.S.: The last version reached 100 downloads (and it was not so beautiful!).



Posted 2007-06-07 14:55:09 by enseignement.

It does not work for me, with subdirectories, it only give results of the main blog.


Posted 2007-06-07 17:59:01 by joevanni.

I solved it. I uploaded the wrong file. Sorry.


Posted 2007-06-24 21:04:06 by atgeist.

great plugin if you are italian, would be helpful in english and if the results displayed on a search results page


Posted 2007-07-13 20:11:28 by joevanni.

@ everybody I'm going to release a new version...with English as default language and customizable...stay tuned


Posted 2007-07-19 14:07:09 by aloncarmel2k.

Hey, i got a question, how can i retrieve/echo the post id for each post line inside the search results? its driving me kwazyy...


Posted 2007-07-22 07:26:20 by joevanni.

@aloncarmel2k what do you mean? do you want to show the post_id or the result id? please contact me via e-mail: joevanni99 [at] gmail [dot] com


Posted 2007-08-01 08:55:55 by Tim.

I notice at the moment it doesn't have permalinks? Also will you be keeping tables in it, or will it become table-less? Sorry to be picky, I'm not a lover of tables and avoid them if I can, I know I can change the code myself but would be cool if this became a constant thing with new releases. Thank you for this valuable plugin, it's fantastic.


Posted 2007-08-02 07:29:59 by Tim.

ah now when there are now results errors occur: Warning: arsort() expects parameter 1 to be array, string given in /homepages/wp-content/mu-plugins/gt_search_all_blogs.php on line 123 and Warning: Wrong parameter count for reset() in /homepages/wp-content/mu-plugins/gt_search_all_blogs.php on line 124


Posted 2007-08-04 18:03:13 by Tim.

I was using the standard search code you have in the distribution. I find by adding a simple if/end statement that gets rid of the visible error, a quick fix I know.


Posted 2007-08-05 21:45:24 by atgeist.

great plug-in! I appreciate it.


Posted 2007-08-11 11:32:27 by joevanni.

@ everybody: I'm on holiday...tomorrow I'll go to Copenhagen...I'll be back on August, 27th, so, no new releases or bugfixes till September. @ Tim: I don't understand what do you mean exactly. write me a more detaied e-mail: joevanni99 [at] gmail [dot] com (where "[at]" is "@" and "[dot]" is ".")...Thank you.


Posted 2007-08-21 09:15:57 by mnlo.

Hello, I appreciate it. Thank for your plugin is great. I would like to know if is possible to search across blogs Keywodrs, tags, post tagged. I had installed it and when I try to search by tags (I use the Simple tagging plugins) I get this message of error Warning: rsort() expects parameter 1 to be array, null given in /home/.krupp/nubesraras/exdigital.net/wp125/wp-content/mu-plugins/gt_search_all_blogs.php on line 120 Warning: reset() [function.reset]: Passed variable is not an array or object in /home/.krupp/nubesraras/exdigital.net/wp125/wp-content/mu-plugins/gt_search_all_blogs.php on line 121 1 - 0 of 0 results for apple Thanks


Posted 2007-08-27 15:27:00 by joevanni.

I'm back home! I will work on the bug you wrote about...the idea of searching across keywords and post is great...I don't know why it isn't added yet...but I'll do it soon!


Posted 2007-09-01 06:40:27 by dsader.

The "No result" message should occur before the result is sorted. Fix: $ci_sono = 1; $r_id++; } } } if ($ci_sono != 1) { print("$no_results $to_be_searched"); } else { rsort($search);


Posted 2007-09-26 09:00:04 by dubaidan.

Nice plugin... Search works fine, but if I get more than 10 results the prev/next links, which add the following to the URL
&s_page=2
are redirecting to the home page. Any thoughts on this?


Posted 2007-11-29 12:44:02 by Fini.

Mini patch: To get permalinks in results, change line 109 to: $search[$r_id]['link'] = get_blog_permalink( $id_blog, $thispost[$j]['ID'] ); Please Help: I have a major problem (for my project) that this plugin does not include the content on the main blog, it simply returns 0 hits when I search for stuff on the main blog posts or pages. Suggestions: Grouped results, where each blogs result are listed seperately in groups. Setting to include main blog in search. Bugfix: Page links in results page always point to main blog. But first page can be shown in other blogs context, thus changing theme and blog when skipping to page 2. Ability to use the same search on one-blog basis, i.e. a search with two radio buttons (search this blog and search all blogs). Setting ability to choose what items are searchable (pages, posts, tags, categories)


Posted 2007-12-04 21:13:21 by dbasulto.

Works fine, but i´m getting the same error described above, when a search has no results: Warning: rsort() expects parameter 1 to be array, null given in /wpmu/wp-content/mu-plugins/gt_search_all_blogs.php on line 120 Warning: reset() [function.reset]: Passed variable is not an array or object in /wmpu/wp-content/mu-plugins/gt_search_all_blogs.php on line 121 1 - 0 de 0 results for xfer


Posted 2008-03-18 12:41:43 by lenasterg.

Hi. Downloaded the latest version. Works great. Minor fix you have to do on gt_search_all_blogs.php. In order to avoid the "Warning: rsort() expects parameter 1 to be array, ..." when no search results add before line77, that is before: for ($i=0; $i < $blog_number; $i++) the $search=array(); Also I got it to work with the admin MU Admin Bar. Check http://blogs.sch.gr


Posted 2008-03-18 13:03:43 by lenasterg.

Hi again. Where can I send you the Greek translation?


Posted 2008-04-09 21:45:19 by joevanni.

@lenasterg Send me the greek translation to joevanni99 [at] gmail [dot] com . I will insert it on the page, and I will insert the bugfixed version, too.


Posted 2008-05-13 11:37:14 by dubaidan.

Anybody manage to get gt_search to work with ds_private plugin. When you enable both, the search results show posts from blogs that are set to private. Any thoughts.


Posted 2008-06-06 13:16:02 by altaseo.

I corrected the problem with the pages and sorting gt_search_all_blogs_altseo_fix_eng.rar


Posted 2008-06-18 21:05:39 by joevanni.

@altaseo: thank you for correcting these bugs. I provided to upload the new version of the plugin.


You must be registered and logged in to post comments. Not registered? Click here to get your free account!