View Single Post
DoPe^
Veteran Member
Join Date: Jul 2008
Location: Denmark / Copenhagen
Old 05-28-2015 , 18:22   Re: [ANY] adminWatch (v1.2.2)
Reply With Quote #112

alright as promised here is the fixed version.
I made a few changes in it.

It also saves the time on round end now and not only when a admin disconnects.
I have changed so the played timer dosnt stop on round end since you are still "playing".

I have also made some changes to the web part.
The real idle(spec) time is shown now, played time is shown as before and I have added a total time which is idle + played.
I have also made so you can sort your admins by name, total time played, played time, idle time and last played.

You can see what the page looks like here http://www.clanroyal.dk/adminwatch/index.php

For setup, just follow the first post in this topic

__________________________________________

Web Settings
I have added a few settings in the top of the index.php to make it alittle easier for you guys
PHP Code:
$backgroundurl ""// Change the background image
$backgroundcolor "white"// Change the background color, using color name (yellow), hex (#00ff00) or rbg (rgb(255,0,255))
$adjusttimedate "+2 hours"// Adjust the time/date for Last Played and Commands logs -1 hours, +2 hours, +6 hours, +1 day, +2 days, and so on
$steamprofile "2"// If 1 steam profile is linked in the name if 2 steam profile is linked under the name as (View Steam Profile) 
___________________________

Updates
Code:
6th July 2016:
Web version 1.2
  • Added clickable link to the admins steam profile in the name
  • Fixed possible issue with Last played date not sorting correctly
  • Added so you can set a custom background (see line 2 and 3 in index.php)
  • Changed so the whole site layout is more "solid" if using a custom background
  • Added a settings section in the index.php
Attached Files
File Type: sp Get Plugin or Get Source (adminwatch.sp - 1083 views - 17.9 KB)
File Type: zip adminwatch_web_v1.2.zip (36.6 KB, 561 views)
__________________

Last edited by DoPe^; 07-05-2016 at 22:26. Reason: Updated web to 1.2
DoPe^ is offline