Support » Plugin: LifterLMS » Achievements

Viewing 1 replies (of 1 total)
  • Plugin Author Thomas Patrick Levy

    (@thomasplevy)

    @logaritym,

    Did you manually head into the database to delete the achievement? If so you haven’t properly removed it and that’s why it’s still displaying.

    I’d recommend using the deletion methods on the reporting interface to delete an achievement so that it’s properly removed

    Head to LifterLMS -> Reporting and select the student you want to delete an achievement for. Then click the “Achievements” tab and then click the “Delete” button next to the achievement you want to delete.

    If you have half-deleted items in your database there’s 2 parts to an achievement that you need to remove — you may need to find the undeleted part to finish the deletion manually:

    1) A post in the wp_posts table. This will be with the post type “llms_my_achievement” — you’ll want to delete all related wp_postmeta table for this post as well
    2) A record in the wp_lifterlms_user_postmeta table (https://lifterlms.com/docs/lifterlms-database-description/#data-wp_lifterlms_user_postmeta) with a key “_achievement_earned” — this stores the id of the related post in the wp_posts table so that we can tell who earned the achievement

    From your description it sounds like you’ve missed #2

    Hope that helps,

Viewing 1 replies (of 1 total)
  • The topic ‘Achievements’ is closed to new replies.