WordPress.org

Ready to get started?Download WordPress

Forums

Expire Users
Automatic expiration (4 posts)

  1. amoldejong
    Member
    Posted 1 year ago #

    Hello,

    Would it be possible that upon registration it automatic sets a expiration date, for example of two months, counting from registration date?

    that would make this plugin excellent!

    http://wordpress.org/extend/plugins/expire-users/

  2. Ben Huson
    Member
    Plugin Author

    Posted 1 year ago #

    I have added this to the issues list as possible functionality to add in a future version.

  3. amoldejong
    Member
    Posted 1 year ago #

    Hi there,

    Is there any way i can adjust your plugin so it automatically sets an expire date for newly registered users?

    I can still find no other solution (plugins) to get this working...

    regards

  4. Ben Huson
    Member
    Plugin Author

    Posted 1 year ago #

    If you have a level of PHP knowledge and the WordPress API you may be able to do this. The main functionality you would need is in the class-expire-user.php file:

    http://plugins.svn.wordpress.org/expire-users/trunk/includes/class-expire-user.php

    Basically you'll need to use the appropriate WordPress API to hook into when a user is created, then create a new Expire_User(), set the appropriate settings using the functions in the Expire_User class, then call Expire_User->save_user() to save those settings.

    It is something I plan to add to the plugin at some point but I cannot contribute any free time to it at the moment.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.