Forum Replies Created

Viewing 15 replies - 166 through 180 (of 185 total)
  • Thread Starter JibsouX

    (@jibsoux)

    Thanks i understand that sorry by asking : ‘what does exactly the box minify script alone of the rest’ i mean what in the code is realy do to actualy inser the script alone ..
    like a priority : add_action( $tag, $function_to_add, $priority,$accepted_args );

    mmh i just want to put jquery alone but always alone and with no setting in option box i want to write dirrectly the setting instead of put jquery in the option box

    you know what i mean ?

    no box option setting but natif setting

    Thread Starter JibsouX

    (@jibsoux)

    One more thing how can y make a combo like isolated minification + put in footer..

    because it does not work when i put the same handles in the 2 box option.

    Thread Starter JibsouX

    (@jibsoux)

    it’s because some script have a part print dirrectly in the head with

    add_action(‘wp_head’,
    or
    add_action(‘wp_enqueue_scripts’,

    so i change to : add_action(‘wp_footer’

    i look if there is no break

    then i put the handles in the option box and MAGIC it work !

    Thread Starter JibsouX

    (@jibsoux)

    this is the way to do it in your file index.php :
    Modification of

    // Scripts
    add_action(‘wp_head’, array($kkStarRatings_obj, ‘js’));
    add_action(‘wp_enqueue_scripts’, array($kkStarRatings_obj, ‘css’));
    add_action(‘wp_head’, array($kkStarRatings_obj, ‘css_custom’));
    add_action(‘admin_init’, array($kkStarRatings_obj, ‘admin_scripts’));

    to :

    // Scripts
    add_action(‘wp_footer‘, array($kkStarRatings_obj, ‘js’));
    add_action(‘wp_enqueue_scripts’, array($kkStarRatings_obj, ‘css’));
    add_action(‘wp_head’, array($kkStarRatings_obj, ‘css_custom’));
    add_action(‘admin_init’, array($kkStarRatings_obj, ‘admin_scripts’));

    Thread Starter JibsouX

    (@jibsoux)

    Nop it change nothing.. damn i dont understand why some scrip dont want to move in the footer.. :p

    Thread Starter JibsouX

    (@jibsoux)

    mmm.. if the script are in base 64 ?

    i will reconvert in normal js the script and test it

    Thread Starter JibsouX

    (@jibsoux)

    ^^thanks i know that the thing is it work for :

    superfish
    useronline
    jqueryc00kie
    quickchatload
    jqueryprettyPhoto
    topbutton
    custom
    jqueryjplayermin
    jqueryuicoremin
    jqueryuiwidgetmin
    jqueryuitabsmin
    comment-reply

    But not for :
    js (js.js of the plugin kk star rating)
    jqueryeasingmin (jquery.easing.min.js)
    nivosliderpack (nivo.slider.pack.js)
    mousewheel (mousewheel.js)
    jquerygridnav (jquery.gridnav.js)

    Do you have an idea of why ?

    Thread Starter JibsouX

    (@jibsoux)

    and an other thing, it is normal that some script put in the box (put script in footer) still are in the header.. ? do you have an idea to force them ? or what is blocking them ?

    thanks a lot !

    Thread Starter JibsouX

    (@jibsoux)

    yep it will be like an advance option ??

    by the way many peoples want to easily change the expiration date of the cache so it will be simple to make a box like for indicate how many minutes the cache will expire (manual setting)

    me i change it dirrectly in the config.php

    and in the same file you can improve the compression level like :

    // try to disable output_compression (may not have an effect)
    ini_set(‘zlib.output_compression’, ‘8‘);

    ??

    JibsouX

    (@jibsoux)

    Nice plugin but same problem ^^, i wait for excluding possibilities !
    My theme is fullscene and all the content is loaded by a script, as you can look, and it must be out of the asynchrone loop else any content is load ! :p
    Thanks a lot

    Thread Starter JibsouX

    (@jibsoux)

    i downgrade the the previous version the plugin work fine..

    Thread Starter JibsouX

    (@jibsoux)

    ^^soyy a shearching for a way to do it without plugin and i don’t look at your plugin code :p
    is for user who want the setting without again an other plugin ^^

    Thread Starter JibsouX

    (@jibsoux)

    Ok i have my preloaded cache working but it don’t serve the cache file to knowing user ?????? there is not that option ? in my site for enter user must be identificated, so the plusin is useless ?

    how do y make peloaded cache for knowing user beacause i have my plugin to force user to login for enter ! :p

    Thread Starter JibsouX

    (@jibsoux)

    Hy tanks but nothing.. i have install Custom Smilies it’s what i want ??

    Forum: Plugins
    In reply to: [Quick Chat] Dashboard bug
    Thread Starter JibsouX

    (@jibsoux)

    my Quick Chat dashboard Widget doesn’t load at all and cause the bug !

    i have a french version of wp 3.4.2
    custom :
    // TinyMCE Tweak.

    function wpc_boutons_tinymce($buttons) {
      $buttons[] = 'sub';
      $buttons[] = 'sup';
      $buttons[] = 'fontselect';
      $buttons[] = 'fontsizeselect';
      return $buttons;
    }
    add_filter("mce_buttons_2", "wpc_boutons_tinymce");

    // Suppr admin bar.
    dd_filter('show_admin_bar', '__return_false');

    // Windows Live Writer : turn off.
    remove_action('wp_head', 'wlwmanifest_link');

    // Hide WordPress vesion.
    remove_action('wp_head', 'wp_generator');

    // Reddirect user after login.

    add_filter("login_redirect", "subscriber_login_redirect", 10, 3);
    function subscriber_login_redirect($redirect_to, $request, $user) {
    
      if(is_array($user->roles))
        if(in_array('administrator', $user->roles)) return site_url('/wp-admin/');
    
      return home_url();
    }

    I use this plugin (But y have turn off all and the bug was still there :p :
    Author Avatars List
    BackupBuddy
    Captcha
    Custom Meta Widget
    Custom Smilies
    Duplicate Post
    Force User Login
    kk Star Ratings
    MyMail – Email Newsletter Plugin for WordPress
    Optimize Database after Deleting Revisions
    Private Messages For WordPress
    Quick Chat
    SB Welcome Email Editor
    Simple History
    Simple Local Avatars
    WP-UserOnline
    WP Smush.it

    To reproduce the tweak for supp the bug :
    1 – open quick-chat.php
    2 – Suppr the lines :
    add_action('wp_dashboard_setup', array($this, 'add_dashboard_widgets'));
    and :

    public function dashboard_widget(){
    echo $this->quick_chat(400, 'admin_room_'.substr(md5(AUTH_SALT),0,5), 1, 'left', 0, 0, 1, 1, 1);
    }
    
    public function add_dashboard_widgets() {
    if($this->user_status == 0)
    wp_add_dashboard_widget('quick_chat_dashboard_widget', __('Quick Chat Admin\'s Lounge','quick-chat'), array($this, 'dashboard_widget'));
    }

    3 – Disable quick chat plugin and réactivate it !
    Voila that supp the dashboard quick chat and solve the bug ??

Viewing 15 replies - 166 through 180 (of 185 total)