Currently 16:06:40 GMT

(Login | Register)

Owner: ColinFilmJournal

Type: WPMU Plugin

Created: 2007-01-10 10:20:08

Last Modified: 2007-02-07 18:05:43


wp-search-0.0.4.zip (1318 download(s))

wp-search-0.0.3.zip (206 download(s))

Allows the searching of Blogs, Posts and Comments across your entire WPMU installation. Download version 0.0.3 and please ensure you read the README file included for installation instructions. This is a beta release. Future developments will include an admin interface to give you more control over the search and also some more efficient search code. It works well for now and you can see it up and running at http://filmjournal.net. UPDATE: Version 0.0.4 fixes a problem with latestposts.php for installations with modified comments tables (such as installations running comvatars.



Posted 2007-01-10 11:11:05 by ColinFilmJournal.

This may need some work for users of sub-domains as it's been developed for a directory-based system. It has also got hard-coded links for some instances and these will need to be stripped out and replaced. This won't work just by uploading it to your server and will require some modification.


Posted 2007-01-10 11:26:14 by ColinFilmJournal.

v0.0.2 removes all hardcoded links. Still only coded to support directories so will need work for subdomains


Posted 2007-01-11 00:26:31 by suleimankhan.

i can help you test for subdomains colin


Posted 2007-01-13 10:42:33 by mcfoo.

has anyone able to modify this script to work with subdomains? please let me know.. thanks


Posted 2007-01-14 14:25:16 by ColinFilmJournal.

Not as far as I know. I've got it on my list of things to do - but it'll be like poking around in the dark!


Posted 2007-01-16 11:41:39 by ColinFilmJournal.

v0.0.3 has now been released. You no longer need to download the latest posts code as this is included in the release. There are also basic installation instructions included.


Posted 2007-01-31 17:33:41 by suleimankhan.

This works very well except that it is only placing my posts into the latest_posts table but not putting any comments into the latest_comments table. Aside from that I love it!


Posted 2007-02-07 18:06:20 by ColinFilmJournal.

This problem should now be resolved in v0.0.4


Posted 2007-02-07 18:48:17 by ColinFilmJournal.

v0.0.4 is also confirmed to work with subdomains thanks to suleimankhan


Posted 2007-02-17 16:39:14 by nsputnik.

For some reason the link to the search results for the root blog are http://mydomain.com/ /hello-world There is a space and and extra / which makes a 404 occur.


Posted 2007-02-17 19:24:39 by nsputnik.

For some reason the link to the search results for the root blog are http://mydomain.com/ /hello-world There is a space and and extra / which makes a 404 occur.


Posted 2007-03-05 01:11:27 by mahfudh.

When I searched Blogs, it gives me the right list ... but it always points to root .. not the sub domain. Why?


Posted 2007-03-11 19:28:11 by ColinFilmJournal.

The subdomain solution has been tested and works, but I don't have a subdomain test environment. As far as I know there is no need for modification.


Posted 2007-04-13 12:03:24 by nekt.

I get this error message when trying to search: "Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in wp-search.php on line 43 No search results found " Also I dont have latestpost plugin because I can't find it.. How to fix it?


Posted 2007-04-13 12:28:11 by nekt.

I get this error message when trying to search: "Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in wp-search.php on line 43 No search results found " Also I dont have latestpost plugin because I can't find it.. How to fix it?


Posted 2007-04-24 12:34:23 by kennibc.

I am a total newbie, but I can't get this to work. I guess I have this issue: 1. How do I use cronnix to call the latestpost.php file? What is the code I need to put in? 2. When doing a search, WPMU wants to register a new blog with wp-search.php as the name of the new blog. 3. Are there detailed install instructions? Any help is appreciated. Thanks, Chris


Posted 2007-05-03 09:40:17 by cogilvie.

On running the latestposts.php script, I often see: ERROR: Duplicate entry '6-16-3' for key 1 i have solved this by uncommenting one line and adding a second line to the script: Uncommented: mysql_query("delete from latest_posts"); Added: mysql_query("delete from latest_comments"); Which appears to fix the issue. Are there any dangers with doing this?


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