WordPress.org

Ready to get started?Download WordPress

Forums

Hide Inactive Sites
[resolved] some ideas for improvement (18 posts)

  1. Ovidiu
    Member
    Posted 2 years ago #

    the plugin sounds great but it could be made so much better :-)

    have a look at this script: http://pastebin.com/kUx2bpZm

    a few years ago it still worked perfectly but not any more. I contacted the original author and he isn't into wordpress anymore as far as I remember or maybe simply not interested in this script.

    have a look, some of its features could be integrated into your plugin if you are interested.

    cheers
    Ovidiu

    http://wordpress.org/extend/plugins/hide-inactive-sites/

  2. ericjuden
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks Ovidiu,

    I just posted a comment on wpmu.org about this. I'll see what I can do integrate.

    Eric

  3. Nio
    Member
    Posted 2 years ago #

    Ovidiu, I also like that script features...

    PS: What if I have a test.mysite.com blog, that I simply want to hide it forever :)?
    [It's probably a script out there, lazy me... I didn't search :D ... no urgency ]

  4. ericjuden
    Member
    Plugin Author

    Posted 2 years ago #

    Hey Nicusor,

    In the new release 1.0.1, you can exclude sites by adding it to the excluded sites list in the settings.

    Eric

  5. Nio
    Member
    Posted 2 years ago #

    Great, but after "Network Activate" the plugin... I got this warning inside the "Excluded Sites" text box:

    <br /><b>Warning</b>: implode() [<a href='function.implode'>function.implode</a>]: Invalid arguments passed in <b>/home/usercpanel/public_html/wp-content/plugins/hide-inactive-sites/hide-inactive-sites.php</b> on line <b>210</b><br />

  6. ericjuden
    Member
    Plugin Author

    Posted 2 years ago #

    Hey guys,

    I just made a release (1.1) that adds an email notification when the site is hidden. It also adds the ability to mark a site as archived or deleted.

    Eric

  7. Ovidiu
    Member
    Posted 2 years ago #

    cool, keep going!
    Will test the new version right now.

    Thanks again for looking at that script I linked above ;-)

  8. ericjuden
    Member
    Plugin Author

    Posted 2 years ago #

    What other suggestions do you have for the plugin?

    Eric

  9. Ovidiu
    Member
    Posted 2 years ago #

    Well, I can only compare with the script above, since that is what I am loking for:

    This script checks the WPMU database for blogs that have
    not been updated for X days, then sends a notice to the
    blogowner that the blog will be deleted after Y days.

    => your plugin does just that

    It also automatically deletes blogs that have not been
    updated for Y days, then sends an email to the blogowner.

    => your plugin can do that

    On both occasions, the script will send a report with
    details on warned and deleted blogs to the administrator.

    => this would be nice to have

    AND here is another question: what exactly does "inactivity" mean?
    =>

    Inactivity Threshold
    (How long before a site is inactive?)

    Do only new posts/pages count? Does updating posts count? Does logging in count? If you want you could give us an option to chose what we count as activity/inactivity, i.e. in some cases you might want to count any activity, even logging in to be enough to keep a blog active? Just some random thoughts on my part :-)

    Thanks again in putting this plugin together and developing it!

  10. Ovidiu
    Member
    Posted 2 years ago #

    oh, here is another feature request:

    how about this scenario as this is exactly what I'd like to have:

    I set the plugin to archive blogs that haven't been updated in i.e. 6 months, it should send a warning email to the blog owner warning him that he has X days to update his blog or it will be deleted. Then send me a copy of that email or a summary it there were multiple warnings sent out (i.e. I don't want 100 emails one for each blog)

    Then after X days have passed, delete the blog, send out a thank you mail to the blog owner telling him i.e. that his user account is stil active and that he can create a new blog if he wants.

    Then after X days of not logging in delete his account.

    I will donate if you can make this happen.!
    I have 100s of useless accounts left over, some with old email addresses that are inactive. Manually cleaning up is tedious. So if blog owners don't react to their blog being archived, (maybe because their email account is dead) they can be safely deleted :-)

    And if I can customize the emails sent out by the plugin that would be the cherry on top of it.

  11. Ovidiu
    Member
    Posted 2 years ago #

    btw. when your plugin marks a blog as archived, does that action change the "last updated" date? 'cause I noticed when I manually archive a blog the last updated date is changed to the date I archived it which makes tracking things a bit difficult :-(

    Any chance you can offer a list of archived blogs? the normal built-in sites list is pretty useless, you can't sort i.e. by blog status, which would be really helpful...

  12. marikamitsos
    Member
    Posted 2 years ago #

    @ericjuden: I plus Ovidiu's suggestions/requests.

    But I Tottaly Plus his scenario. One of the main raesons of not currently using/testing the plugin is that it gives no warning to the site owner that his/her site wil be deleted.

    As Ovidiu does, I also would like to see:
    1. First warning about the site getting archived
    2. No action taken? --> Site gets archived
    3. Second warning about the site getting deleted
    3. No action taken? --> Site gets deleted
    All warnings messages with option/ability to customise. At least compatibility with this excellent plugin WP Better Emails

    Thank you for your work,
    marikamitsos

  13. ericjuden
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks for the suggestions guys. I'll see what I can do about getting the warning email in there and integrating with WP Better Emails.

    I'm trying to think of an easy way to figure out when to send the warning email. I'm thinking of using the existing time from the inactivity threshold and saying at 3/4 of that number, send the warning email. So after 3/4 of a month of inactivity, send the warning email.

    I'm not so sure about the first warning, second warning stuff. I know I wouldn't use it. Luckily, with all the hooks, someone else could create a plugin that hooks into this one and adds that stuff.

    @Ovidiu, about the last updated date. I'm not sure, I noticed in testing, sometimes it would keep it the same and sometimes it would change it. I have it setup to keep the last updated date the same as it was. But I'm using a WordPress function to update the blog details, and I'm guessing it changes the last updated time since we are modifying the site's details. Hope that makes sense.

    Eric

  14. Ovidiu
    Member
    Posted 2 years ago #

    @eric. see what you can do :-)

  15. Nio
    Member
    Posted 2 years ago #

    @ericjuden
    What if I have a test.mysite.com and that I simply want to hide it forever :) from mysite.com/blogs/... but to disable all the checking for inactive sites?

  16. Ovidiu
    Member
    Posted 2 years ago #

  17. Ovidiu
    Member
    Posted 2 years ago #

    here is another script that I like to use, maybe you can "steal" some of its features?

    =>http://pastebin.com/6aqEMf47

    i.e. the features listed under: WPMU PowerClean

    clean up:

    Blogs marked as spam
    Users marked as spam
    Comments marked as spam/delete (intensive)
    Blogs that have been marked for deletion by their owners
    Blogs with 0 posts that are older than 30 days (intensive)
    Blog/user signups older than 30 days and still awaiting activation via email

  18. vbk100
    Member
    Posted 2 years ago #

    Found another source which is a bit bugggy. But it might be useful to improve this plugin

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic