WordPress.org

Ready to get started?Download WordPress

Forums

StatPress Visitors
[Plugin: Statpress Visitors] Switching from Newstatpress to Statpress Visitors (4 posts)

  1. CockpitSeeker
    Member
    Posted 2 years ago #

    Hi,

    I'm using WordPress 3.3.1 along with Newstatpress (http://wordpress.org/extend/plugins/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 ;)

    http://wordpress.org/extend/plugins/statpress-visitors/

  2. Gawain Lynch
    Member
    Plugin Contributor

    Posted 2 years ago #

    Hi,

    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 :-)

  3. CockpitSeeker
    Member
    Posted 2 years ago #

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

  4. luciole135
    Member
    Plugin Author

    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic