Forum Replies Created

Viewing 5 replies - 181 through 185 (of 185 total)
  • Thread Starter JibsouX

    (@jibsoux)

    Hellow thaaannnkk dude !!!

    i have inprove the code you gave me :

    1 : disable ‘displaying error’ put this after the FIRST ‘<?php’ like this :

    <?php
    ini_set('display_errors','off');
    /**
     Plugin Name: Simple Lo...

    then this is your code with litle tweak ^^:

    list( $width, $height, $imagetype, $hwstring, $mime, $rgb_r_cmyk, $bit ) = getimagesize( $avatar['url'] );
    			$img_size = get_headers( $avatar['url'],1);
                if(($width * $height > 40000) or (round($img_size["Content-Length"]/1000)>200)) {
                  echo '<b style="font-size:35px;">Your avatar is to big, choose another image ! <a href="https://you-domain-name.com/wp-admin/profile.php">// BACK //</a>';
                 }
                else {
                  update_user_meta( $user_id, 'simple_local_avatar', array( 'full' => $avatar['url'] ) );		// save user information (overwriting old)

    VOILA ^^

    thhhhhhhhhhhaaannnnkkkksssss ??

    it’s work !!!!!

    users_per_page in wp_usermeta set to 999 = error reset by defaut 20 ??

    Thread Starter JibsouX

    (@jibsoux)

    Ok y have found this :

    quick-chat-ajax-update-users

    DNSLookup : 0
    Connecting : 30ms
    Sending : 0
    Waiting : 600ms
    Receving : 42ms

    quick-chat-ajax-update-messages

    Bloking : O
    sending : 1ms
    Waiting : 22.78s
    receving : 0

    /wp-admin/admin-ajax.php
    Request Method:POST

    2 / 3 min = 150 request for 1 user..

    Cache-Control:no-cache, must-revalidate
    Connection:Keep-Alive
    Content-Type:application/json
    Date:Sat, 03 Nov 2012 11:49:09 GMT
    Expires:Sat, 26 Jul 1997 05:00:00 GMT
    Keep-Alive:timeout=2, max=177
    Server:Apache
    Transfer-Encoding:chunked
    X-Content-Type-Options:nosniff
    X-Frame-Options:SAMEORIGIN
    X-Frame-Options:SAMEORIGIN
    X-Powered-By:PHP/5.2.17
    X-Robots-Tag:noindex

    Thread Starter JibsouX

    (@jibsoux)

    Sorry, after all but it bug all the time with admin-ajax.php…

    Thread Starter JibsouX

    (@jibsoux)

    i foun it ! it a bug with wp-admin/admin-ajax.php.. just for th widget sidebar not widget home..

    when quick chat is in sidebar it bug…

Viewing 5 replies - 181 through 185 (of 185 total)