Raised This Month: $32 Target: $400
 8% 

[ANY] adminWatch (v1.2.2)


Post New Thread Reply   
 
Thread Tools Display Modes
Smarmy
Senior Member
Join Date: Mar 2012
Old 06-08-2013 , 08:02   Re: [ANY] adminWatch (v1.0.3)
Reply With Quote #11

Quote:
Originally Posted by ocwoody View Post
Admin logging would be a great feature. There is currently only one working admin logging plugin (http://forums.alliedmods.net/showthread.php?t=60471), but it doesn't support mysql, nor does it have a web interface.

I'm already using this for my community, but would love to see the above added!
Seconded. Logging admin actions would be a great addition.
Smarmy is offline
pat841
Member
Join Date: Jun 2013
Location: Boston
Old 06-08-2013 , 08:08   Re: [ANY] adminWatch (v1.0.3)
Reply With Quote #12

Quote:
Originally Posted by Smarmy View Post
Seconded. Logging admin actions would be a great addition.
I have added it to ToDO and I hope to add it in the next version.

Quote:
Originally Posted by DoPe^ View Post
hmm im getting this Warning on the webpage

Code:
Warning: date() expects parameter 2 to be long, string given in /home/clanroy2/public_html/adminwatch/index.php on line 29
This will be fixed in later versions, but replace:

PHP Code:
'last_played' => date("F j, Y, g:i a"$db->Record['last_played']) 
with:

PHP Code:
'last_played' => date("F j, Y, g:i a"strtotime($db->Record['last_played'])) 
and that should fix the warning.
__________________

Last edited by pat841; 06-08-2013 at 08:22.
pat841 is offline
DoPe^
Veteran Member
Join Date: Jul 2008
Location: Denmark / Copenhagen
Old 06-08-2013 , 08:39   Re: [ANY] adminWatch (v1.0.3)
Reply With Quote #13

Quote:
Originally Posted by pat841 View Post
I have added it to ToDO and I hope to add it in the next version.



This will be fixed in later versions, but replace:

PHP Code:
'last_played' => date("F j, Y, g:i a"$db->Record['last_played']) 
with:

PHP Code:
'last_played' => date("F j, Y, g:i a"strtotime($db->Record['last_played'])) 
and that should fix the warning.
now it says
Code:
Last Played: January 1, 1970, 1:00 am
at all the admins
__________________
DoPe^ is offline
pat841
Member
Join Date: Jun 2013
Location: Boston
Old 06-08-2013 , 09:55   Re: [ANY] adminWatch (v1.0.3)
Reply With Quote #14

Quote:
Originally Posted by DoPe^ View Post
now it says
Code:
Last Played: January 1, 1970, 1:00 am
at all the admins
Download v1.1, should be fixed.
__________________
pat841 is offline
cREANy0
SourceMod Donor
Join Date: Jul 2012
Location: Germany
Old 06-08-2013 , 10:47   Re: [ANY] adminWatch (v1.0.3)
Reply With Quote #15

Quote:
Originally Posted by cREANy0 View Post
Would it be possible to add a Week/Month statistic?
Yes or no?
__________________
cREANy0 is offline
pat841
Member
Join Date: Jun 2013
Location: Boston
Old 06-08-2013 , 10:49   Re: [ANY] adminWatch (v1.0.3)
Reply With Quote #16

Quote:
Originally Posted by cREANy0 View Post
Yes or no?
I most likely wont add it to the plugin. I already have a php cron script that I have my server run that moves total and played columns to prev_total and prev_played columns once a month for monthly stats. I can release that if you would like.
__________________
pat841 is offline
cREANy0
SourceMod Donor
Join Date: Jul 2012
Location: Germany
Old 06-08-2013 , 11:04   Re: [ANY] adminWatch (v1.0.3)
Reply With Quote #17

Quote:
Originally Posted by pat841 View Post
I most likely wont add it to the plugin. I already have a php cron script that I have my server run that moves total and played columns to prev_total and prev_played columns once a month for monthly stats. I can release that if you would like.
Yea would be cool
__________________
cREANy0 is offline
Smarmy
Senior Member
Join Date: Mar 2012
Old 06-08-2013 , 13:23   Re: [ANY] adminWatch (v1.1)
Reply With Quote #18

Thanks for the admin action logging
Smarmy is offline
ocwoody
AlliedModders Donor
Join Date: Nov 2010
Location: huh
Old 06-08-2013 , 13:57   Re: [ANY] adminWatch (v1.1)
Reply With Quote #19

Awesome! Thanks for the admin logging! Works great!

Would it be possible to add the server hostname to the admin logging? Having mutiple servers I would like to know which server the admin command was used on.
ocwoody is offline
Smarmy
Senior Member
Join Date: Mar 2012
Old 06-08-2013 , 15:47   Re: [ANY] adminWatch (v1.1)
Reply With Quote #20

Quote:
Originally Posted by ocwoody View Post
Awesome! Thanks for the admin logging! Works great!

Would it be possible to add the server hostname to the admin logging? Having mutiple servers I would like to know which server the admin command was used on.
+1
Smarmy is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:52.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode