ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Count Number of Logins via EE

July 02, 2012 2:59pm

Subscribe [2]
  • #1 / Jul 02, 2012 2:59pm

    sbeyatte

    18 posts

    Hi There,
    I’ve been working with EE for many years now and completely love it, mostly because of its ability to do pretty much anything. I have a new project starting up where the client wants to offer rewards to members who visit a certain number of times but I can’t find any solution for counting logins in EE. Anyone know if this is possible or how hard it would be to build an addon to accomplish this?

    The caveat here is that client also wants to be able to control in what time period it counts as a ‘login’, e.g. the user shouldn’t be able to just log in and out 100 times to get 100 credits, they want the ability to say only a login every X hours counts as a credit and then also be able to control what number X is 😊

    Thanks so much for any advice!

  • #2 / Jul 03, 2012 7:30pm

    the3mus1can

    426 posts

    You might want to talk to the guys at Dev Demon.  They have the Credits (http://www.devdemon.com/credits/) add-on. Sounds like something that would another good feature for their add-on.

  • #3 / Jul 15, 2012 2:12pm

    sbeyatte

    18 posts

    If anyone else is interested, this worked great for me:
    https://github.com/intoeetive/login_count

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases