Ulysses Stuff > Releases

ULX log viewer

(1/8) > >>

trurascalz:
You probably won't know me but I have been here a while but didn't contribute much, but i made this online log viewer for ULX (Suppose you can use it for other logs and i made a advance dupe version aswell ((But thats private)) ).  I did this because i saw a few communities with it and wanted to attempt it myself like http://www.noxiousnet.com/logs/. Hopefully you find it useful as i did

Features:

* View text files within a folder
* Stops people using the ../ to gain access to other folders
Not really much to it, you can view  a demo here -http://alexsavory.me/projects/ulxlogs/

Download it here: https://github.com/trurascalz/ULXLogviewer

Installation instructions:

* Upload to web space
* Fill in config.php
Notes:
Sometimes it doesn't like working with GSP's with the folder structure:
Method to try to fix
If it doesn't load your folder, try breaking the filepath into segments and try that so if your file path was
/127.0.0.1_27015/garrysmod/data/ulx_logs

try, /127.0.0.1_27015/ and see if that loads the files in there then try /127.0.0.1_27015/garrysmod/ and see if it loads again, etc

http://stackoverflow.com/questions/24085569/why-ftp-fget-is-returning-bind-failed-permission-denied-13-in-php Enabling passive ftp may also fix problems.
-----
This was a quick whip together and there's probably a better way to approach it.
I believe I blocked any loopholes, but just tell me if you can break it and ill fix it.
Folder path requires a leading / eg.
/gmod/data/ulx/ulx_logs/

Bytewave:
Hmmm... Interesting system...
You used Bootstrap for the demo- is this default?

Also, how easy would this be to modify to access another folder?

trurascalz:
Yeah bootstrap is built into it, the system will take any folderpath its set in the config, so you can set it to darkrp logs or summat, it will parse anything in a text file

Bytewave:

--- Quote from: trurascalz on March 16, 2014, 08:35:55 AM ---Yeah bootstrap is built into it, the system will take any folderpath its set in the config, so you can set it to darkrp logs or summat, it will parse anything in a text file

--- End quote ---
Sweet!
I applaud your use of TWBS; it's always been a personal preference of mine, being OCD and stuff... :P
I'll check out the system in action later. I could really use this for a Pointshop logging system I made myself. :D

Eccid:
I tried this out and it failed to load once it was directed to my logs folder. It just sits on loading indefinitely.


--- Quote from: Princess Twilight Sparkle on March 16, 2014, 10:11:33 AM --- being OCD and stuff... :P
--- End quote ---
Yeah, ok.

Navigation

[0] Message Index

[#] Next page

Go to full version