Creating posts of a custom post type and awarding achievements
Hey there BP forumns and Paul!
Question on creating custom post types and tying it in with achievements
User are creating posts on the front-end of the website. This is achieved using custom templates and the `wp_insert_post( $args );` function. These posts are being created as custom post types. The custom post type is set up properly in the themes functions files.
These posts are flagged as ‘pending’ or ‘published’ based on the users total achivements points. If the post is set to ‘pending’ administration has a chance to review the new post and set to approve.
An achievement has been setup based on the “event” “the user published a post or page”. Ready and waiting for this event to occur. However the event is not triggering as the publishing process has been moved out of the wp-admin/ area.
My goal is to setup an achievement for users creating this custom post type on the front-end.
Any ideas on how to achieve this?
P.S.Love the new 2.1… allowed me to move several of my sites to BP 1.5
- The topic ‘Creating posts of a custom post type and awarding achievements’ is closed to new replies.