Support » Plugins and Hacks » Search Meter » [Plugin: Search Meter] Does not work with multisite

[Plugin: Search Meter] Does not work with multisite

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Bennett McElwee


    I wasn’t aware of any problems with multisite, but I haven’t tested it for ages. I will test it out and see if I can fix any issues.

    That would be great! I installed now it on a WP 3.0.1 without multisite feature and it didnt log any search requests too :/ I would really love to use this plugin, so i hope you can make it work 🙂 Thanks in advance.

    I love this plugin very much. Currently, it can works in WPMU , only in main blog. (e.g. http://domain.com/blogs/), but it can not works in WPMU non-main blogs (e.g http://domain.com/blogs/thirdblog/)

    /blogs/ is my main blog as WPMU superadmin
    /blogs/thirdblog/ is my users blog in WPMU

    This is because searchmeter doesn’t make tables for the other WPMU member’s blogs. If I copy the two tables that searchmeter have for my main blog to make tables for member blogs, then it will work as usual. But My hands are tired to make tables copy each time a new member’s blog created. How I can make it automaticly create new tables for other member’s blog?

    I did this :

    CREATE TABLEdbprefix_wpmudb.blognumber_2_searchmeter` (
    terms varchar( 50 ) NOT NULL ,
    date date NOT NULL ,
    count int( 11 ) NOT NULL ,
    last_hits int( 11 ) NOT NULL ,
    PRIMARY KEY ( terms , date )

    CREATE TABLE dbprefix_wpmudb.blognumber_2_searchmeter_recent (
    terms varchar( 50 ) NOT NULL ,
    datetime datetime NOT NULL ,
    hits int( 11 ) NOT NULL ,
    details text NOT NULL ,
    KEY datetimeindex ( datetime )

    I found a solution to prevent creating db tables each time a new member blog to be created, I posted it at: http://cingcong.com/blogs/blog/2010/12/06/search-meter-installation-in-wpmu-each-members-blog-wp-plugin/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Search Meter] Does not work with multisite’ is closed to new replies.