• Is there a way I can reset the logs as well as the points users have gained? I have the plugin on a test site and want to clear everything out and start from scratch (but keep the points types and events I have configured)…

    I see there is a reset extension but it’s unclear if that clears out the logs or just resets users to zero.

    http://wordpoints.org/extensions/reset-points/

    I feel perhaps this global reset should be core functionality…

    If theres no easy way to do it I’m happy to manually run some sql but unsure what tables to target…

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author J.D. Grimes

    (@jdgrimes)

    The reset extension only resets the points values, not the logs. If you want to delete the logs manually, you could truncate both the wordpoints_points_logs and wordpoints_points_log_meta tables. The user points are currently in the user meta table, so deleting them manually is more complex. You don’t want to delete all user meta, only the rows with the meta key wordpoints_points-slug, where slug is the slug of your points type (possibly points, for example).

    I think that you’re right though, a reset feature might really be a good thing to add to core. For scheduled resets and such, an extension might still be good though.

    Plugin Author J.D. Grimes

    (@jdgrimes)

    I’ve added this to the suggestions here: https://trello.com/c/VkR9qVFv/106-reset-points-logs

    Thread Starter magland

    (@magland)

    thanks for the info

    Thread Starter magland

    (@magland)

    Can I safely truncate the wp_wordpoints_user_ranks table also?

    Plugin Author J.D. Grimes

    (@jdgrimes)

    Ah, yes, forgot to mention that.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Reset everything’ is closed to new replies.