WordPress.org

Ready to get started?Download WordPress

Forums

Business Directory Plugin
[resolved] New function: Delete users without listings (8 posts)

  1. raquel_p
    Member
    Posted 8 months ago #

    Hi,

    I suggest setting up an important feature: This plugin, to release the registration of wordpres, just allowing to create thousands of fruitless users. Thus, it would be interesting an option to delete users without listings in the directory, with a range selection by registration date (like phpBB).

    As an example, on my system there by now, since installing the plugin, 1,221 entries. Of these, just over 20 has listings. Many others just pollute the database. As the user panel is not possible to see how many posts each user has is humanly impossible to delete those who have posted anything.

    It is important, however, check which users have any post, not just the directory listings. To avoid the risk of deleting important system users as a whole.

    http://wordpress.org/plugins/business-directory-plugin/

  2. businessdirectoryplugin
    Member
    Plugin Author

    Posted 8 months ago #

    Hi raquel_p,

    That's a good suggestion. Just so I understand here--did you try deleting users from the database and then also tell WP to delete the posts? And after that, did you find that it deleted BD listings as well?

    If they are a spam user, wouldn't you want to get rid of their listings as well? Or am I missing the use case here?

  3. raquel_p
    Member
    Posted 8 months ago #

    Hi, you are missing the use case here.

    I didn't try anything. I just need bulk delete the registered users that not created a listing. Not all are spammers. Many just gave up the listing in the middle of the process and your user registry is cluttering the database

    Currently, in the user panel, you cannot know who has a listing and who does not. The wordpress recognizes just who wrote a regular post, not who wrote a listing.

    I founded a solution for this problem with Inactive User Deleter plugin. But my suggestion remains, since it is the BD plugin that causes the problem.

  4. businessdirectoryplugin
    Member
    Plugin Author

    Posted 8 months ago #

    HI raquel,

    Well, technically, we are using WP's user mechanism so we're not cluttering the database any more than it would be if we weren't installed. If you're talking about just users who didn't post, that should be completely cleanable using the plugin above. Since they didn't post anything in BD, I'm confused about what else is left behind besides the user account itself?

    Do you have Require Registration on for your BD listings? Or do you allow anonymous posting? If you allow the latter, that will create guest users (because a post has to belong to someone), but those users will only have the one post. Is that what you mean?

  5. raquel_p
    Member
    Posted 8 months ago #

    You are wrong. If I only use wordpress, I will inactivate records. They are only activated because of the BD plugin. Or I want to make active, only to have spammers? (I dont use comments in my website)

    Only the users records are left in the database. It seems little, but join thousands and we have a problem. I do not allow anonymous records. That seems stupid if I make money with my directory.

    The plugin I mentioned solves the problem. But I believe that it should not be necessary. Just that. It solved my current problem, but the suggestion remains. I believe it will not only be me who will benefit from the functionality.

  6. businessdirectoryplugin
    Member
    Plugin Author

    Posted 7 months ago #

    Hi raquel,

    I'd still like the answer to these questions, as I think it's relevant to understanding what is being "left behind".

    Do you have Require Registration on for your BD listings? Or do you allow anonymous posting? If you allow the latter, that will create guest users (because a post has to belong to someone), but those users will only have the one post. Is that what you mean?

  7. raquel_p
    Member
    Posted 7 months ago #

    I do not allow anonymous records.

  8. businessdirectoryplugin
    Member
    Plugin Author

    Posted 7 months ago #

    We'll check into it. Thanks Raquel.

Reply

You must log in to post.

About this Plugin

About this Topic