Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 ... 8 9 [10]

Author Topic: DSLstats webserver - Custom Interface  (Read 18781 times)

RTouris

  • Member
  • **
  • Posts: 32
Re: DSLstats webserver - Custom Interface
« Reply #135 on: June 07, 2019, 12:48:51 PM »

How strange.   

Mine using pbparams.txt works fine here in Firefox, Chrome, Opera, Palemoon & Vivaldi.
Do you have the same problem when trying to view my stats?

https://kitz.co.uk/linestats/pbparams.htm

I'm wondering if there may perhaps be some application or setting on the desktop machine which by default tries to open all text files.
afaik all browsers should by default open .txt files within the browser window - unless told to do otherwise.

The puzzling thing is that yours works like a charm...
Logged

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 32077
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: DSLstats webserver - Custom Interface
« Reply #136 on: June 07, 2019, 02:00:37 PM »

I've been doing a wee bit of googling and the recommended method is using a frame.   See here.   My script should not see any of the awkward scrolling as mentioned by Madara Uchiha as I'd already added params to stop that problem.  There is an additional parameter "seamless" you could try,  but this only works in html5

Failing that,  if you run PHP there is a script which forces txt files to be output within the main html
https://www.000webhost.com/forum/t/simple-php-script-to-read-txt-files-and-output-as-html/2933

There may be an equivalent for javascript/ajax
https://stackoverflow.com/questions/13709482/how-to-read-text-file-in-javascript
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

RTouris

  • Member
  • **
  • Posts: 32
Re: DSLstats webserver - Custom Interface
« Reply #137 on: June 09, 2019, 08:50:07 PM »

I've been doing a wee bit of googling and the recommended method is using a frame.   See here.   My script should not see any of the awkward scrolling as mentioned by Madara Uchiha as I'd already added params to stop that problem.  There is an additional parameter "seamless" you could try,  but this only works in html5

Failing that,  if you run PHP there is a script which forces txt files to be output within the main html
https://www.000webhost.com/forum/t/simple-php-script-to-read-txt-files-and-output-as-html/2933

There may be an equivalent for javascript/ajax
https://stackoverflow.com/questions/13709482/how-to-read-text-file-in-javascript

Thanks for the prompt reply and the suggestions.

I'm afraid I haven't had much success with the seamless parameter amongst many other things I tried and seeing that I neither run PHP not have any JS knowledge I'm afraid there's not much i can pursue on this front..I can only hope that DSLstats gets updated at some point in the future to also include a dynamic html output of pbparams (instead of txt only) to get this sorted properly.
Logged

mw2870

  • Just arrived
  • *
  • Posts: 18
Re: DSLstats webserver - Custom Interface
« Reply #138 on: June 28, 2019, 12:01:18 PM »

Thanks for the custom web interface! It is really good.

I have deployed mine here: http://dslstats.wilson-serve.co.uk/
It is running on a VPS server that I already had, so I have just set up another vhost on that box.

I am using dslstats v6.5.9 on a Rasberry Pi to upload via SFTP and have configured the Webserver Files and Snapshot tabs on the FTP Uploads section in configuration.

I have hacked history.php to create history2.php
As the snapshot function in dslstats creates new folder per day I have re-worked it a bit.
I have also added support for txt files via an iframe.

Let me know if this is useful to anyone else and I can upload it.

Logged

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 5742
Re: DSLstats webserver - Custom Interface
« Reply #139 on: July 06, 2019, 05:49:56 PM »

Kitz for some reason when I went on your SNR page chrome thought the page was swedish :D and offered to translate it for me.
Logged
Sky Fiber Pro - Billion 8800NL bridge & PFSense BOX running PFSense 2.4 - ECI Cab - LINE STATISTICS CLICK HERE

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 32077
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: DSLstats webserver - Custom Interface
« Reply #140 on: July 06, 2019, 09:13:17 PM »

haha.    Same here.    I let it translate and I couldn't see it changed anything  :-\
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker
Pages: 1 ... 8 9 [10]