Viewing 11 replies - 1 through 11 (of 11 total)
  • Michael Beckwith

    (@tw2113)

    The BenchPresser

    What type of steps do you mean? Do you mean the pre-defined ones that are available when a badge is meant to be earned when completing steps? Or some other type that you created?

    Thread Starter rogerhnn

    (@rogerhnn)

    The ones that I created.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Should be able to delete them when you click on the achievement type, to see the list of them, and then click something like the red “trash” link. If you want to delete the achievement type, you’ll need to click the “Achievement types” link in the menu and delete that type the same way.

    They’re just like posts/pages for management, as they’re all custom post types.

    Thread Starter rogerhnn

    (@rogerhnn)

    Hi Michael, I didnt found a way to delete steps saved before.
    I can delete the achievement created and the achievement types created, but the steps remain. And I didnt find the red “trash” link for the steps. I can only see the trash of achievements and achievements types.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    So, just so that I’m following along right.

    I went to localhost/wp-admin/edit.php?post_type=achievement-type and created a “Test Achievements” achievement type. When I hover over that in the resulting list, I see stuff like “edit” “quick edit” and “trash”. Using those would edit the achievement type I set up. They are all registered custom post types.

    If I go to localhost/wp-admin/edit.php?post_type=test-achievement, I’m now able to create specific achievements within my “Test Achievements”. When I create one, and hit publish, I can now hover over it in the list and see stuff like “edit”, “quick edit”, “trash”, and “view”. They are all posts within the custom post type.

    If I click in to edit that post in the post type, we’ll call it “Our winning!”, I can have it winnable by completing steps. This part is set by the “earned by” dropdown in the Achievement Data section. Scroll down a bit further, and we have the “Required Steps” meta box that has a pre-populated dropdown of steps to use to achieve the badge. These, I do not believe, are deleteable, at least not without futzing around with the plugin.

    Are you seeing some custom ones in the last part mentioned? Or did I pass something already that you’re calling steps?

    Thread Starter rogerhnn

    (@rogerhnn)

    I mean the steps from the meta box required steps, it contain the steps added through the BadgeOS BadgeStack Add-on. The ones you can save and enter a title in the label box. These are the ones that I want to remove.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Ahh, momentarily forgot about the BadgeStack addon.

    Let me get back to you on this. I’ll be able to talk to the lead people on development of this tomorrow, and can get a better answer. If you don’t hear from me by late this weekend, nudge me, I have this forum subscribed to via RSS.

    Thread Starter rogerhnn

    (@rogerhnn)

    Okay Michael, thank you for your attention ??

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Ok, I’ve conferred with someone about this, and have been informed that the Badgestack plugin creates some posts in a non-public custom post type of “steps”. This is a CPT that’s registered and used by the core plugin, so the posts/steps don’t go away with the deactivation of the Badgestack plugin.

    That said, you’re going to need to go into the database directly via something like sequelpro app for osx or phpmyadmin via your hosting account, and locate the steps posts in the wp_posts table manually. There you’ll be able to remove them.

    Do be very careful with this and make sure to back up before you do anything. I don’t want to be the person responsible for you losing data. ??

    Also, on that note, we’re looking into possibly implementing a “delete badgestack sample content” option in future versions.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hi Rogerhnn, just wanted to check in with you and see if my last reply helped at all.

    Thread Starter rogerhnn

    (@rogerhnn)

    Hi Michael, I deleted the entries from my database selecting the custom post type steps. I think I got rid of them all.

    Thanks, its solved!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘How to delete steps’ is closed to new replies.