aMule Forum
English => en_Bugs => Topic started by: vdb on November 12, 2005, 03:02:13 PM
-
Gentlemen, I see you have changed the default webserver template (again?). Now the PHP version looks almost exactly the same as the old one, I must say that last saturdays template looked nicer to me, but that is just my opinion.
Anyway, apart from esthetics, there are a few broken links in the template:
- index.php has a reference to "statistics.php", which should be "stat_tree.php"
- stat_graphs.php has a reference to "statistics.php", which also should be "stat_tree.php".
- The preferences page appears to be no longer able to change the graphs settings (update time, graph width etc.)
And something about the webserver in general:
- Why can't I select "KAD" as an option in the search page? Is it hard to code with the daemon/webserver?
Just FYI.
PS. Again I must state: Great work on everything!
-
- index.php has a reference to "statistics.php", which should be "stat_tree.php"
- stat_graphs.php has a reference to "statistics.php", which also should be "stat_tree.php".
This must be fixed by now. If not - please report which template and what page is broken.
- The preferences page appears to be no longer able to change the graphs settings (update time, graph width etc.)
Graph witdh is coded in html itself. Update time = page refresh time, unless i don't understand question.
- Why can't I select "KAD" as an option in the search page? Is it hard to code with the daemon/webserver?
That will be added.
It's not about "hard to code" - but about how match time I have to code it considering the fact that I have family and full-time day job.
-
Lfroen, I know you are doing this on your spare time, and I meant no disrespect in any way since you guys are doing a great job. I was wondering if I could do it myself, but I have only very limited PHP experience.
Anyway, the incorrect references to stat_tree.php that I found are in:
/usr/local/share/amule/webserver/default/index.php
/usr/local/share/amule/webserver/default/stat_graphs.php
As for the preferences, there were the options to set some parameters to influence the way the graphs timescale: Amount of pixels total width and amount of seconds shown per pixel. Together they define how must "past" the graphs show, the scale of the x-axis on the graph.
-
I was wondering if I could do it myself, but I have only very limited PHP experience.
Definitly you can. PHP interpreter in amuleweb is match simplier that full-blown php used in real web sites. Look at the code present in templates, or wait until I release manual.
Anyway, the incorrect references to stat_tree.php that I found are in:
/usr/local/share/amule/webserver/default/index.php
/usr/local/share/amule/webserver/default/stat_graphs.php
Thank you. Fixed.
there were the options to set some parameters to influence the way the graphs timescale
I don't see match point of this. You see stats in web same way as you would see if you were looking to amule "statistics" window.
amount of seconds shown per pixel
This is defined by sample rate in the core. You can of cause downsample this, but this is exactly same as specifying "width" of image in html (browser will downsample for you)
Together they define how must "past" the graphs show, the scale of the x-axis on the graph
Same thing. Webserver (now) present all available history. I see no point truncating it.