Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   ZenTracker (http://www.bvlist.com/forumdisplay.php?f=81)
-   -   ZenTracker 1.0 rev. 38 (http://www.bvlist.com/showthread.php?t=6936)

enoeda 20th September 2011 21:37

thanks mate and outstanding source!

http://php.net/manual/en/function.sys-getloadavg.php

cooly 23rd September 2011 10:38

Quote:

Originally Posted by Optix (Post 30186)
No, the memcache is only a NOTICE.

The problem is the function "sys_getloadavg" isn't here on Windows env. This is causing your blank page.

I'm currently working on a new admin panel. So you can play with it in a couple of days :)

maybe do something similar to this.

Code:

if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
ob_start();
passthru('typeperf -sc 1 "\processor(_total)\% processor time"',$status);
$content = ob_get_contents();
ob_end_clean();
if ($status === 0) {
    if (preg_match("/\,\"([0-9]+\.[0-9]+)\"/",$content,$load)) {
        if ($load[1] > get_config('busy_error')) {
            header('HTTP/1.1 503 Too busy, try again later');
            die('Server too busy. Please try again later.');
        }
    }
}
}
else{
//call your sys_getloadavg here
}


Optix 23rd September 2011 13:10

2 Attachment(s)
Thanks, but it's not useful anymore. The admin panel has been completly rewritten to work on every system ;)

It will be pushed on SVN this weekend. See screenshots :ok:

cooly 23rd September 2011 16:07

very nice :)

Optix 24th September 2011 12:50

1 Attachment(s)
Like I said, the new admin panel is available on the SVN.

Many other improvements/refactorings has been made to the share module (which handle bittorrent & megaupload). A new symfony validator has been created to test the torrent file before form saving : less code, more flexibility ;)

cooly 26th September 2011 18:00

I did notice some thing that might confuse people its on your demo if u click a link when not logged in you are sent here http://le.zentracker.net/default/login and there is a link saying proceed to login that links to the same page maybe u should just make that to the index :)

Optix 1st October 2011 17:55

Many optimisations on the SVN allowing a faster deploy ;)

- More than 50% of space saved ! The application weighs now less than 10MB out of the box (it can be more due to SVN overhead).
- sfDoctrineGuard useless : deleted to save memory
- /web/index.php && /web/backend.php are in debug mode by default

@cooly: it's fixed now (see revision 29) :)

cooly 1st October 2011 22:54

1 Attachment(s)
Nice job another suggestion, when i'm in the laptop the online box at the bottom gets cut off so u have to go into full screen to see it. What if the side parts were collapsible so u can close each part up to save having to go into full screen.

Optix 2nd October 2011 14:12

Thanks cooly, it's done !

SVN rev30 : Blocks in sidebar are collapsible now and the browser remembers which blocks are closed by using localStorage (HTML5). :ok:

Fynnon 2nd October 2011 20:42

Quote:

Originally Posted by Optix (Post 30405)
SVN rev30 : Blocks in sidebar are collapsible now and the browser remembers which blocks are closed by using localStorage (HTML5). :ok:

i downloaded the files from SVN and it says rev. 32
anyway i uploaded the rar archive to first post for those who don`t know how to get the latest from svn

P.S. is this still only "french tracker" or did you manage to translate it?

http://img412.imageshack.us/img412/5904/71231699.png


All times are GMT +2. The time now is 08:27.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.