Support » Plugin: StatPress Visitors » [Plugin: Statpress Visitors] Switching from Newstatpress to Statpress Visitors

  • Hi,

    I’m using WordPress 3.3.1 along with Newstatpress ( for in-site stats.

    I would like to switch from that plugin to this one, but in this one’s description it’s mentionned that Statpress visitors is:
    “not (compatible) with NewStatpress which changes the datatable (if you try it, you must delete the statpress datatable to work with Visitors)”

    After having looked at my tables and checking what’s inside, I have this $64,000 question:
    won’t that delete all my previous stats and restart me from scratch?

    It seems like it.

    Wouldn’t it be wiser to rename this table to whatever table Statpress Visitors uses (which I don’t know by the way -I’d gladly have a hint here)??

    Thx in advance for considering this 😉

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Gawain Lynch



    This is not straightforward. Basically the table structure has changed a log between StatPress, NewStatPress and StatPress Visitors… It may theoretically be possible to write some PHP or SQL to convert the old data to the new format, but I am not familiar enough with NewStatPress to know for sure… Luciole135 might have a better idea though.

    One change we made in the upcoming 1.5 version is to make the table name a global constant, so theoretically you could change the table name for StatPressV in the code and still have your old table there for viewing with NewStatPress. But it might also cause lunar earthquakes, so you’d do that at your own risk 😉

    As for the inevitable question of when Luciole135 will release 1.5… Soon 🙂

    Thanks for the quick reply! (I guess I’m going to want to hear from Luciole135 himself then…)

    Plugin Author luciole135


    Now, Statpress Visitors have a database version, then, i think you can migrate from Newstatpress without problem.
    Your database will be update with 1.4.3, (not with the lower version).

    To be sure you can migrate easily, clean your wp_options datable with the SQL TAB of PhpMyAdmin by
    DELETE FROM wp_options WHERE option_name LIKE ‘%statpress%’
    It will remove all the statpress options (but not delete the datatable), and at the migration, your datatable will be updated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Statpress Visitors] Switching from Newstatpress to Statpress Visitors’ is closed to new replies.