What's new

uiDivStats uiDivStats - WebUI for Diversion statistics

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

ok it worked well for then day,
while uninstall this popped up
Code:
sed: /jffs/scripts/custom_menuTree.js: No such file or directory
and again install:
Code:
 Continue? [1=Yes e=Exit] 1

uiDivStats: Welcome to uiDivStats v1.3.0, a script by JackYaz

uiDivStats: Checking your router meets the requirements for uiDivStats

Downloading http://bin.entware.net/aarch64-k3.10/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Package grep (3.3-1) installed in root is up to date.
uiDivStats: Starting Diversion statistic generation...


/opt/bin/grep: /tmp/uidivstats/div-hostleases: No such file or directory
awk: cmd. line:1: Division by zero
awkNR: /tmp/uidivstats/div-bwl: No such file or directory
awk: /tmp/uidivstats/div2: No such file or directory
awkNR: /tmp/uidivstats/div2: No such file or directory
awkNR: /tmp/uidivstats/div-noisy: No such file or directory
awkNR: /tmp/uidivstats/div5: No such file or directory
awkNR: /tmp/uidivstats/div-bwl: No such file or directory
uiDivStats: Diversion statistic generation completed successfully!
 
ok I think I found couse of my problems; openvpn connection, when client is connected diversion and uidivstats don't generate proper stats
 
v1.3.1 is now available
Please run option u a second time after updating, and then reboot if you are seeing multiple/missing tabs
Changelog:
Code:
WebUI improvements
Fixes tab duplication when updating in future
 
I ran the update, then a 2nd time since I now had 2 tabs. Rebooted and now I have no tab at all.
 
Just me leaving something secret to see if people will enjoy it :D

Nicely done, thank you [emoji4]


Sent from my iPad using Tapatalk
 
Another gem added, thanks @Jack Yaz. Can you make the Support tab open in a new tab?
 
Good old HTML: <a target="_blank" rel="noopener noreferrer" href="/">Link</a>
That approach would likely require an update to all scripts since they current point to www/user/redirect.htm (the idea being I could amend the redirect without wholesale updates)

Currently considering something like:
Code:
setTimeout(function(){
    window.open("https://www.snbforums.com/forums/asuswrt-merlin.42/","_blank");
    window.history.back();
}, 5000);
 
Will UiDivStats also be moved into the Addon tab?

I have it installed right now but not visible in the Tools tab anymore?

*Update*

Running U a second time fixed this I see it now in the add on tabs.
 
Last edited:
v1.3.1 is now available
Please run option u a second time after updating, and then reboot if you are seeing multiple/missing tabs
Changelog:
Code:
WebUI improvements
Fixes tab duplication when updating in future
After the update--- It comes in two different flavors...
upload_2020-2-10_0-36-54.png
 
@SomeWhereOverTheRainBow you will need to reboot the router and then find those tabs in the Addons Tab in the bottom lefthand corner of the GUI. :)
 
After last update is not working on my ax88u. i do see the new addon tab but it only contains links to the forums. i have reinstalled, rebooted.... you name it and nada......
 
@Jacob did you do an 'u' on each @Jack Yaz script twice?

Afterward, did you do an 'uf' at least once on a 'Jx' script? Then rebooted the router? :)
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top