Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Max Chirkov

    (@maxchirkov)

    Some one emailed me about a week ago asking to add geo-location tracking as well… this is something I’ll look into, but right now I don’t really want to hard-code anything… there are many resources that provide location by IP – some are free (but limited), others are commercial and could be more accurate. I thing it would be better to add a few hooks, so users could add their own geo-location services.

    On a side note – an update is on its way. I added a bunch of enhancements and I might add a couple of hooks, so you could achieve the functionality you described. I’ll try to get it out today or in the next couple of days.

    Thread Starter Vezado

    (@vezado)

    I thing it would be better to add a few hooks, so users could add their own geo-location services.

    That’s what I mean by the URL field, users can use any geolocation service they want provided they know the format used for the URL. I agree that hard coding it would be a bad idea.

    Plugin Author Max Chirkov

    (@maxchirkov)

    @vezado – I have released an update where you can hook in and add your geo-location service. Take a look at the code example here https://www.ads-software.com/extend/plugins/simple-login-log/other_notes/

    Thread Starter Vezado

    (@vezado)

    Thanks for you effort, but it’s not clear to me how to use this, my PHP skills are limited. Also, the new version seems to have removed all the user agent info which was quite useful to me.

    It still seems to me that the best way to implement a feature like this is having a URL field setting on the simple login log page. This could be stored in the db and the plugin could be updated without losing the geolocation link.

    Plugin Author Max Chirkov

    (@maxchirkov)

    @vezado – you can copy and paste the example code that I linked to into your theme’s functions.php file. The IP addresses will be linked to the service you mentioned.

    As for User Agent data – it’s all there, nothing was removed. Take a look at my demo video https://www.screenr.com/kfEs

    Thread Starter Vezado

    (@vezado)

    Ooops, my fault. Twice.

    I was not seeing the User Agent because the plugin switched from excerpt view to list and i hadn’t noticed that function before.

    I understand the code now, i was trying to place it in the plugin itself. Works very well! Thanks, that’s a great feature.

    Plugin Author Max Chirkov

    (@maxchirkov)

    Not a problem ?? All those features are new that’s why you didn’t notice them.

    As for the “code” – that’s what the hooks are for. This means you can have your own custom code that hooks into the plugin and does whatever your personal needs are. This makes it very flexible and gives other users opportunity to customize things in their own way. At the same time it keep the main plugin lean, mean and simple ?? That’s how the whole WordPress is built.

    Anyway, hope the plugin will be useful and easy to use.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Simple Login Log] Feature Suggestion’ is closed to new replies.