I just noticed in the latest releases the logschedule and statselect addon modules. How are these utilized once installed?
I just noticed in the latest releases the logschedule and statselect addon modules. How are these utilized once installed?
From WHM you can select what hours logs can run
I found the problem regarding logschedule...
"Installed Version: failed"
In terms of stats. I see under the add-on section how to configure it but how to clients configure which stat programs they want to utilize? I don't see any options in the control panel for assigned users.
1. logschedule works only with version 9.8.x or newer.
kinda' silly if you ask me, cose 9.8.x it's just been released...eeerrr...edged.
therefore the error.
2. statselect work ok. BUT: you must be using X or X2 theme for the client. Dunno why, but a link to stats select on the client side is only added for x. Not for bluelagoon, which i use for 90% of my clients.
Should be the last icon, bottom. It has a grey background also.
If you can't see it, then it means you did not onfigure it corectly.
In whm, go to the last link in the left frame. And there you can configure it. Make sure you "add" the user(s) that will be able to see the link in their cpanel.
statselect appears in my resellers WHM too (not a problem) However they are able to change the settings for ALL domains on the server
Anybody knows how2: disable autostatistic by default and allow any user (even new created) to enable stat for him?
Which settings should be?
Regards, Alexey
I wouldn't mind seeing this. This would lower loads on servers dramatically.
Originally Posted by AlexAT
But here is the best thing:
After enabling the statselect any reseller can see **ALL** accounts (not just his own) and make stat changes for them
"Version: 1.0rc3" - who can say more...
Regards, Alexey
Originally Posted by AlexAT
I'm not sure what you mean by "disable autostatistic by default". Do you mean disable all stats programs for every user but allow the user to enable them?
If so then this would work for you. Just set it up in /etc/cron.hourly (or daily).
Before doing this I would recommend that you backup your existing stats.conf file and also pico /etc/stats.conf to see how it's setup now. You may want to modify the "DEFAULTGENS=" line. For example, I have webalizer enabled by default so mine looks like DEFAULTGENS=WEBALIZER.Code:#!/usr/local/bin/php -q <?php $userlist = `ls -1 /var/cpanel/users/`; $userlist = preg_replace("/\n/", ",", $userlist); $userlist = substr_replace($userlist,"",-1); $statsfile = "DEFAULTGENS=\nVALIDUSERS=$userlist"; $file = "/etc/stats.conf"; if (!$file_handle = fopen($file,"w")) { echo "Cannot open file"; } if (!fwrite($file_handle, $statsfile)) { echo "Cannot write to file"; } echo "Stats configuration Updated with:\n\n$statsfile"; fclose($file_handle); ?>
Michael
Thank you!
I'd rather see this as cPanel feature.
If they allow to manipulate statistic on account basis they should provide "enable all and exclude particular" and "disable all and exclude particular" functionailty to this feature.
Regards, Alexey
Yep, definitely.Originally Posted by AlexAT