Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
What kind of tokens would be useful? I'm not sure what kind of integration we could use since this module is pretty much all behind-the-scenes. I'm definitely open to thoughts though!
The [user:last-login] is existed default, we may think using [user:past-login].
Actually, I'm currently planning to use it on Author pane, as the time of currently login/access seems no sense to users, they should know past login/past access.
That makes complete sense! When I read your initial post for some reason I was thinking that you were asking about making tokens available in login_history somehow. Oops!
I think adding tokens with login_history's information for other modules/interface is a wonderful idea. I've never integrated a module with token before. Let me doing to reading on how to do that and I will get something put together.
Thanks for your suggestion. Sorry I completely misread it before!
Comments
Comment #1
bocaj CreditAttribution: bocaj commentedWhat kind of tokens would be useful? I'm not sure what kind of integration we could use since this module is pretty much all behind-the-scenes. I'm definitely open to thoughts though!
Comment #2
rogical CreditAttribution: rogical commentedThe [user:last-login] is existed default, we may think using [user:past-login].
Actually, I'm currently planning to use it on Author pane, as the time of currently login/access seems no sense to users, they should know past login/past access.
Comment #3
bocaj CreditAttribution: bocaj commentedThat makes complete sense! When I read your initial post for some reason I was thinking that you were asking about making tokens available in login_history somehow. Oops!
I think adding tokens with login_history's information for other modules/interface is a wonderful idea. I've never integrated a module with token before. Let me doing to reading on how to do that and I will get something put together.
Thanks for your suggestion. Sorry I completely misread it before!
Comment #4
gregglesI could see providing:
* past-login-time
* past-login-user-agent
* past-login-ip-address
This is mostly relevant to 8.x at this point, I think.