haruncpi / laravel-user-activity

Monitor user activity easily!
https://laravelarticle.com/laravel-user-activity
425 stars 55 forks source link

haruncpi -user activity #14

Closed Divya-gi closed 3 years ago

Divya-gi commented 3 years ago

user activity not showing edit,delete user activities and not insert that details into lgs table

haruncpi commented 3 years ago

You must have to use Loggable trait into your model.

Code Example

<?php namespace App;

use Illuminate\Database\Eloquent\Model;
use Haruncpi\LaravelUserActivity\Traits\Loggable;

class Student extends Model
{
    use Loggable;

} 
dwain-lab commented 3 years ago

This was working in V1.0.1, however after upgrading it I am no longer seeing any information on the table for user-activity. I downgraded to v1.0.1 and it shows the information.

keshav1990 commented 3 years ago

I have installed this addon but its tracking only user login activity nothing else

haruncpi commented 3 years ago

You have to use Loggable trait

GianmarcoTrustDev commented 3 years ago

i have used use Loggable; in my models but the user activity track only user table

jdevfullstack commented 1 year ago

hello there @GianmarcoTrustDev , maybe your situation is like mine ? mine is working now, check this thread

https://github.com/haruncpi/laravel-user-activity/issues/43