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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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.
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?
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.
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?
Right.