Hi Michele,
one thing that I forgot to state was that you needed to update in the wpv_if_user_has_listing() function the name 'listing' with your custom post type slug. So the function would relate to the correct custom post type and so return the correct count of posts.
function wpv_if_user_has_listing($userid, $type, $object) { $return = 0; if ( $type == 'posts' && isset($object->post_type) && 'YOUR_CUSTOM_POST_SLUG'== $object->post_type ) { $user_post_count = count_user_posts_by_type($userid, $object->post_type); if ($user_post_count > 0) { $return = 1; } } return $return; }
I've noticed that you are using version 1.3.0.3 of Views plugin. Could you update to the latest current version 1.4.1. Let me know when you have and I'll take another look.
Thanks,
Ana