Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > ZenTracker
Closed Thread
  #21  
Old 20th September 2011, 21:37
enoeda enoeda is offline
Member
 
Join Date: Oct 2009
P2P
Posts: 10
Default
thanks mate and outstanding source!

http://php.net/manual/en/function.sys-getloadavg.php
  #22  
Old 23rd September 2011, 10:38
cooly's Avatar
cooly cooly is offline
Senior Member
 
Join Date: Jun 2011
United Kingdom
Posts: 26
Default
Quote:
Originally Posted by Optix View Post
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
}
  #23  
Old 23rd September 2011, 13:10
Optix's Avatar
Optix Optix is offline
Senior Member
 
Join Date: Sep 2011
France
Posts: 145
Default
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
Attached Thumbnails
PrtScr capture.png   PrtScr capture_2.png  
  #24  
Old 23rd September 2011, 16:07
cooly's Avatar
cooly cooly is offline
Senior Member
 
Join Date: Jun 2011
United Kingdom
Posts: 26
Default
very nice :)
  #25  
Old 24th September 2011, 12:50
Optix's Avatar
Optix Optix is offline
Senior Member
 
Join Date: Sep 2011
France
Posts: 145
Default
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 ;)
Attached Thumbnails
PrtScr capture_3.png  
  #26  
Old 26th September 2011, 18:00
cooly's Avatar
cooly cooly is offline
Senior Member
 
Join Date: Jun 2011
United Kingdom
Posts: 26
Default
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 :)
  #27  
Old 1st October 2011, 17:55
Optix's Avatar
Optix Optix is offline
Senior Member
 
Join Date: Sep 2011
France
Posts: 145
Default
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) :)
  #28  
Old 1st October 2011, 22:54
cooly's Avatar
cooly cooly is offline
Senior Member
 
Join Date: Jun 2011
United Kingdom
Posts: 26
Default
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.
Attached Thumbnails
Capture.PNG  
  #29  
Old 2nd October 2011, 14:12
Optix's Avatar
Optix Optix is offline
Senior Member
 
Join Date: Sep 2011
France
Posts: 145
Default
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).
  #30  
Old 2nd October 2011, 20:42
Fynnon's Avatar
Fynnon Fynnon is offline
xxx
 
Join Date: Nov 2007
P2P
Posts: 984
Default
Quote:
Originally Posted by Optix View Post
SVN rev30 : Blocks in sidebar are collapsible now and the browser remembers which blocks are closed by using localStorage (HTML5).
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?

Click the image to open in full size.
Closed Thread

Tags
10 , 33 , 34 , 35 , 36 , 37 , 38 , rev , zentracker

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 19:39. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.