Is there a way to check who has, and who has not, approved the agreement?
Otherwise I would like that to be a feature request.
Thanks, Jesper
Is there a way to check who has, and who has not, approved the agreement?
Otherwise I would like that to be a feature request.
Thanks, Jesper
Comments
Comment #1
yuriy.babenko commentedThere is currently no such functionality, but it would be pretty easy to setup a page to show this. I'll add this in the future.
For the time being you can query the 'agreement' database table - users who have accepted the agreement will be listed there.
Comment #2
kchrisfrog commentedHey,
I am not very good a PHP or MySQL so this will NOT be the best way of doing this but if you create a page and add this code to the page it will show you which users have agreed. We wanted to start using this staright away so had to write a quick hack.
This may brake your site so please test first!!!!
Thanks
Chris
Comment #3
charos commentedThis seems a good starting point for this. I wonder if the maintainers are interested in such implementation. Further more I would like to see a timestamp of the user's acceptance (date/time the user accepted the agreement). Wishful thinking I guess, just planting seeds!
Comment #4
pagaille commentedcharos - you read my mind! I'm working on this feature and will be rolling it out within the next couple of days. Problem is, all existing agreements will have a blank agreement date, so they will show up as "Unknown" in the view.
Comment #5
charos commentedThat's great!!! The blank agreement date makes perfect sense for existing users. Not really a problem- time cannot be patched!!
Comment #6
pagaille commentedThis has been fixed in the 6.x-1.x-dev release. There is now a default /admin/user/agreements view that displays all existing agreements, sorted by username. Be sure to run update.php after upgrading to this dev release.
Comment #8
vako commentedThis works only with version 6.x-2.x and above.