DELETE unwanted feeds & posts

PJ's Feed Monster - tools & settings

The powertools on this page are reserved for our premium ID holders only.
If you are a premium member and are seeing this message by error you may need to switch to your premium network first in the set-feeds screen.
To become a premium member please go here !
"; } else {echo "Welcome PREMIUM member. All buttons have been unlocked for you. Please be careful when deleting items.
";} ?> Please note that the tools on this page can permanently delete items. Use them with care.
Have a feature request ? Register at portaljumper.com and
participate in the group discussions at: http://portaljumper.com/groups/feed-monster/forum/.

now deleting items ...

Deleting feed $feed"; $del_feed = mysql_query("select DISTINCT post_id from $wpdb->postmeta WHERE meta_value = '$feed' "); while($row = mysql_fetch_array($del_feed)) { echo "Now deleting post with ID : ".$row['post_id']."
"; $force_delete = TRUE; wp_delete_post($row['post_id'], $force_delete); } } echo "All the selected posts have been sucessfully deleted."; ?>

now deleting feeds ...

Deleting post $feed"; $del_feed = mysql_query("select DISTINCT post_id from $wpdb->postmeta WHERE meta_value = '$feed' "); while($row = mysql_fetch_array($del_feed)) { echo "Now deleting post with ID : ".$row['post_id']."
"; $force_delete = TRUE; wp_delete_post($row['post_id'], $force_delete); } } echo "All the selected posts have been sucessfully deleted."; ?>

select your items ...

Pete says: Use with caution.... Think twice, act once !

Select to delete by Portaljumper FEED

get_results($wpdb->prepare("select distinct meta_value,COUNT(*) as num from $wpdb->postmeta WHERE meta_key = 'portaljumper_network' GROUP BY meta_value ORDER BY num")); foreach ($del_feed as $del_f) { echo " $del_f->meta_value ( $del_f->num posts)
"; } echo ''; if (get_option('validuserid') == "freebie") {echo "
Sorry, only premium account holders can use this featurego premium now";} else {echo '';} wp_nonce_field('pj-delete'); ?>
get_results($wpdb->prepare("select distinct meta_value,COUNT(*) as num from $wpdb->postmeta WHERE meta_key = 'portaljumper_datafeed' GROUP BY meta_value ORDER BY num")); foreach ($del_feed as $del_f) { echo " $del_f->meta_value ( $del_f->num posts)
"; } echo ''; if (get_option('validuserid') == "freebie") {echo "
Sorry, only premium & elite account holders can use this featurego premium now";} else {echo '';} wp_nonce_field('pj-delete'); ?>

WARNING ! THIS OPTION WILL ERASE ALL POSTS,PAGES,TAGS & CATS

Pete says: Please think twice !

This option instantly erases ALL your posts, ALL your Categories, ALL your pages and ALL your tags. There is no way back and there is no further warning after you click the big yellow button below. Once you click you will have a clean install in less than 1 second ! All the options from the option tables will stay intact so all your plugin options will stay the same.

Sorry, only premium & elite account holders can use this featurego premium now";} else {echo ''; } ?>
query("TRUNCATE `".$wpdb->prefix."postmeta`"); $wpdb->query("TRUNCATE `".$wpdb->prefix."posts`"); $wpdb->query("TRUNCATE `".$wpdb->prefix."terms`"); $wpdb->query("TRUNCATE `".$wpdb->prefix."term_relationships`"); $wpdb->query("TRUNCATE `".$wpdb->prefix."term_taxonomy`"); echo "

Hope you were sure ! All tables were dropped

You can now continue with a fresh and clean wordpress (although all option tables etc. are still intact)"; } } ?>