Menu

Mailing to inactive users

Help
Baruch
2011-10-02
2013-05-30
  • Baruch

    Baruch - 2011-10-02

    on user administration there is an option to  send message to users who have not logged in for 6 months.
    How can I send message to users who have not logged in for 12 months ? or 24 months? 
    is there an option to send message to those that didn't logged in BETWEEN 12 months and 24 months?
    Thanks
    Baruch

     
  • Gerry Kroll

    Gerry Kroll - 2011-10-02

    The 6 month inactivity period is hard-coded into PGV.  You'll find this value on line 107 of "message.php".

    If you wish, you could modify PGV to support a choice of inactivity periods.  It would be a matter of modifying "useradmin.php" around line 1120 to add more choices and then catching the new choices through code changes to "message.php" around line 107.

    For a proper implementation, you would also need to make language file changes so that the new text wouldn't be hard-coded in the program.

    If this were to become a permanent part of PGV, I'd prefer to see the various message options become radio buttons.  That would present a cleaner user interface.

     
  • Baruch

    Baruch - 2011-10-02

    I am not programmer, and wouldn't like to mess with changes on the files. so do you suggest to add this to the FEATUR REQUEST?

     
  • Gerry Kroll

    Gerry Kroll - 2011-10-02

    You could enter a Feature Request, but I don't think you'll see this implemented any time soon.  Our record on the Feature Request front has been abysmal.  There just aren't enough developers still working on PGV.

    Make the change to "message.php" to implement a different inactivity interval.  It should be pretty obvious what needs to be done.  Don't bother changing the text associated with this option.  Don't bother adding any more inactivity interval options.

     
  • Baruch

    Baruch - 2011-10-02

    Thank you. I will do it as you suggest.
    $sixmos = 60*60*24*30*12; //- timestamp for six months      the 12 instead of 6 is the only change that requiered?

     
  • Gerry Kroll

    Gerry Kroll - 2011-10-02

    Right.

     

Log in to post a comment.