[PHP]Website Chat Log Viewer

This is the place where you can find everything related to the dedicated server, control scripts and community tools.

Moderators: Pit Crew, TM-Patrol

nouseforname
swift roadking
swift roadking
Posts: 840
Joined: 20 Apr 2008 08:58
Owned TM-games: TMUF,TMNF, TMN
Manialink(s): therookies
Location: Germany
Contact:

[PHP]Website Chat Log Viewer

Post by nouseforname » 22 Jul 2009 19:41

  • ChatLog viewer

    Hi folks,

    for some reason i created a website to view the dedicated chat log.
    you can search for date and time, and you will get the player chat lines of the choosen time range.
    i know there is a chat log function in xaseco, but the dedicated log it anyway.
    now it's easy to spot check what happend on busy servers. or in case of complains, checking the truth. :)

    i tried it with log file size ~250mb without any problem.

    there is a configuration to ignore PM's and admin commands in case you want to use the page for public.

    if you run more than one servers from same folder, the page will be able to search all servers.

    copy all files to your web server.
    just give the server login, server name and path to dedicated log folder.

    Image

    Download here
Last edited by nouseforname on 18 Nov 2009 15:33, edited 2 times in total.
Owner of the Rookie servers and some more. :)
Rookies HP
My Project
Rookies Manialinkcolor>

User avatar
Clinton
smooth traffic navigator
smooth traffic navigator
Posts: 241
Joined: 26 Jan 2008 20:56
Owned TM-games: TMU, TMN, TMO
Location: Dripping Springs, Texas
Contact:

Re: [PHP]Website Chat Log Viewer

Post by Clinton » 22 Jul 2009 21:50

Very nice. I think it's really cool that you're always making neat tools for the community to use, thanks.
Image

http://allgamer.net cheapest Trackmania server hosting with the best support. We also do VPS hosting, Dedicated Servers, and Web Hosting! Request a free 3 day trial for a VPS

clinton@teameo.net for more information.

nouseforname
swift roadking
swift roadking
Posts: 840
Joined: 20 Apr 2008 08:58
Owned TM-games: TMUF,TMNF, TMN
Manialink(s): therookies
Location: Germany
Contact:

Re: [PHP]Website Chat Log Viewer

Post by nouseforname » 23 Jul 2009 05:40

Clinton wrote:Very nice. I think it's really cool that you're always making neat tools for the community to use, thanks.
thanks.
actually, i have an idea of something i would need/use, and then i try to create it. and if i think it's good enough, i share it.
even if there only a few ppl downloading my tools, guess not all of them using it. :)
well, not so many ppl would need it.

offtopic in my own thread^^
Owner of the Rookie servers and some more. :)
Rookies HP
My Project
Rookies Manialinkcolor>

nouseforname
swift roadking
swift roadking
Posts: 840
Joined: 20 Apr 2008 08:58
Owned TM-games: TMUF,TMNF, TMN
Manialink(s): therookies
Location: Germany
Contact:

Re: [PHP]Website Chat Log Viewer

Post by nouseforname » 23 Jul 2009 09:40

pls download again all.
i fixed a little mistake, not really important but better.
Owner of the Rookie servers and some more. :)
Rookies HP
My Project
Rookies Manialinkcolor>

scg-flighthigh
smooth traffic navigator
smooth traffic navigator
Posts: 199
Joined: 05 May 2009 15:52
Owned TM-games: TM2

Re: [PHP]Website Chat Log Viewer

Post by scg-flighthigh » 26 Jul 2009 06:35

Hello

Nice Tool it works fine

But two things:

1. My logfiles are not all in the same Dir.

i have a DIR like this:

TM
-->server1
---->logs
-->server2
---->logs

Is it possible that i can wright for every Server an own path in the script?

2. Everybody who have the URL can call this Page. I think it is better that you make a Passwortrequest in Front of that.

nouseforname
swift roadking
swift roadking
Posts: 840
Joined: 20 Apr 2008 08:58
Owned TM-games: TMUF,TMNF, TMN
Manialink(s): therookies
Location: Germany
Contact:

Re: [PHP]Website Chat Log Viewer

Post by nouseforname » 26 Jul 2009 07:38

scg-flighthigh wrote:1. My logfiles are not all in the same Dir.

i have a DIR like this:

TM
-->server1
---->logs
-->server2
---->logs

Is it possible that i can wright for every Server an own path in the script?
I knew that question would come.^^
Basicly yes, but not with this script. :) I'll think about adding that function later.
i'm also hosting servers. So my intention was to seperate different server folders, cause in my system a diff folder means another clan/group/user. I didn't want to have ALL servers in one page. Only the servers of one folder, which is one clan/group usually.

For you that means you have to make that page two times. one for each server. Or you save space and marge your servers. Havin the same group of servers in one folder also makes it easy to share tracks (eg RCP) :)
2. Everybody who have the URL can call this Page. I think it is better that you make a Passwortrequest in Front of that.
I know that. Due to i make all that scripts for myself first, i don't need seperate pw security for the pages. I use .htaccess security which is (imo) better and faster done than a script internal pw security. And i don't like having the password saved as cleartext.
I know there are also ways to save a hash in db or txt file, but as i said. .htacces is faster done^^.

and also second idea was to have plublic access to this page, in case u disabled admin and pm.

so also here no change in near future sry.
but i am thinking about a bundle page which combine all my scripts in one. this i would make with pw security. but not planned yet.
Owner of the Rookie servers and some more. :)
Rookies HP
My Project
Rookies Manialinkcolor>

scg-flighthigh
smooth traffic navigator
smooth traffic navigator
Posts: 199
Joined: 05 May 2009 15:52
Owned TM-games: TM2

Re: [PHP]Website Chat Log Viewer

Post by scg-flighthigh » 26 Jul 2009 08:50

Thanks for your explanations.

.htaccess is a way. :thumbsup:

My intent was, that i want too look into the Chat because i search for Donation. Is it possible that i make there a Filterfunktion like this "/donation". Thats only what interested for me.

nouseforname
swift roadking
swift roadking
Posts: 840
Joined: 20 Apr 2008 08:58
Owned TM-games: TMUF,TMNF, TMN
Manialink(s): therookies
Location: Germany
Contact:

Re: [PHP]Website Chat Log Viewer

Post by nouseforname » 26 Jul 2009 09:16

scg-flighthigh wrote:Thanks for your explanations.

.htaccess is a way. :thumbsup:

My intent was, that i want too look into the Chat because i search for Donation. Is it possible that i make there a Filterfunktion like this "/donation". Thats only what interested for me.
understood. i'll think about adding a filter. but it might be a good way to use "ctrl+f" and search the page you got.
first i wanted to add that filter, than i thought with the normal search function (windows ctrfl+f) i can filter in any way.

you see, i try not to to things which can be done in another was much faster/better/easier.
Owner of the Rookie servers and some more. :)
Rookies HP
My Project
Rookies Manialinkcolor>

scg-flighthigh
smooth traffic navigator
smooth traffic navigator
Posts: 199
Joined: 05 May 2009 15:52
Owned TM-games: TM2

Re: [PHP]Website Chat Log Viewer

Post by scg-flighthigh » 26 Jul 2009 10:06

Ctrl+f

omg

I must drink my first coffee before i make some thing for the Clan.

Tks for this apparentness.

User avatar
jimos94
happy cruiser
happy cruiser
Posts: 122
Joined: 06 Jan 2007 22:52
Owned TM-games: TMUF
Manialink(s): fun
Contact:

Re: [PHP]Website Chat Log Viewer

Post by jimos94 » 26 Jul 2009 12:17

Nice script once again nouse. Thanks for sharing. I will install it today. And scg-flighthigh, you can simply keep the link leading to the "chatlog" page for yourself without password protections, htaccess etc etc. More simple ^^
http://www.tm-planet.net/ Server hosting, Interviews, Events and more :)

nocturne
solid chaser
solid chaser
Posts: 1390
Joined: 08 Jun 2007 18:48
Owned TM-games: all
Contact:

Re: [PHP]Website Chat Log Viewer

Post by nocturne » 26 Jul 2009 12:32

Wow... all these webscripts, I'm starting to lose track of them...

Have you considered releasing them all in one package with a single login page and a main page to navigate through them all? They might even work great adapted into RemoteCP plugins...

Anyways, keep up the good work! :thumbsup:

nouseforname
swift roadking
swift roadking
Posts: 840
Joined: 20 Apr 2008 08:58
Owned TM-games: TMUF,TMNF, TMN
Manialink(s): therookies
Location: Germany
Contact:

Re: [PHP]Website Chat Log Viewer

Post by nouseforname » 26 Jul 2009 15:29

nocturne wrote: Have you considered releasing them all in one package with a single login page and a main page to navigate through them all? They might even work great adapted into RemoteCP plugins...
nouseforname wrote: but i am thinking about a bundle page which combine all my scripts in one. this i would make with pw security. but not planned yet.

thanks
Owner of the Rookie servers and some more. :)
Rookies HP
My Project
Rookies Manialinkcolor>

User avatar
blooper
happy cruiser
happy cruiser
Posts: 144
Joined: 11 Oct 2007 23:47
Owned TM-games: TMUF
Location: Minnesota, USA

Re: [PHP]Website Chat Log Viewer

Post by blooper » 05 Aug 2009 18:05

I have a small feature request: include track changes in the log (i.e. track changed [Track] >> [Another Track]), possibly toggle-able with a check box at the top of the viewer. I like to scan through the chatlog to get feedback about tracks on my server, but I currently am forced to look back in the actual log text file to see the name of the track.

nouseforname
swift roadking
swift roadking
Posts: 840
Joined: 20 Apr 2008 08:58
Owned TM-games: TMUF,TMNF, TMN
Manialink(s): therookies
Location: Germany
Contact:

Re: [PHP]Website Chat Log Viewer

Post by nouseforname » 05 Aug 2009 20:06

i am actually working at a bundle which will include all my scripts.

i'll think about adding some additional functions. :)
Owner of the Rookie servers and some more. :)
Rookies HP
My Project
Rookies Manialinkcolor>

[RoD]Priit
road tourist
road tourist
Posts: 80
Joined: 03 Jan 2007 21:03
Owned TM-games: TMN & TMUF
Contact:

Re: [PHP]Website Chat Log Viewer

Post by [RoD]Priit » 29 Aug 2009 23:11

i have problem
I put my server log file to my web server
and set path but it says "no log file here".

How i must name this log file?

eg: if my log is http://mof.pri.ee/chatlog/Gamelog.serverlogin.txt
Then i must put path /chatlog/ and server login must be: serverlogin?
Looking New members, if you want join uu and drive CWs then join mof.planet.ee

Post Reply