Forum Replies Created

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
  •  jdtoppin
    Participant

    Thanks folks. 🙂

     jdtoppin
    Participant

    Sorry for boosting this up again, but it would be images generated on the front page blog view. Anything that is 480×270 seems to be missed by optimization plugins.

    in reply to: Tooltip issue after update #20319
     jdtoppin
    Participant

    Sorry, I posted another topic on this without searching like an amateur!

    What is the code that was used to fix this issue?

    in reply to: 3.9 WordPress and 2.0 Buddypress on Kleo #15328
     jdtoppin
    Participant

    Perfect. I had noticed that after posting and wasn’t sure if it was meant to be that way. As my site is not quite live yet, I will just wait for the update.

    Brilliant work on your part again with theme. 🙂

    in reply to: Scroll to Top Script #14984
     jdtoppin
    Participant

    On a side note: What is with replies not showing up at the bottom of the thread in here? It is hard to follow sometimes.

    Anyhow, I’ll have to dig into this a bit more when I have time and perhaps try your suggestion. My PHP skills are pretty bad, so it will require some reading. I think I get what you’re saying. To essentially put the entire part of the script call that works into a PHP file and just call that file? That would probably work since it would do essentially the same thing as putting it directly into the footer.

    I’m just stumped as to why there is a conflict with the scroll to top when it is loaded via enqueue versus the other way around? Would it just be the order in which the scripts are being loaded since it is then using its own async load and putting it in the wrong spot with the rest of the code?

    I haven’t noticed a huge performance hit in terms of load times with having it in the footer. I’m not sure how much data it is adding to a page load on a mobile device though. I assume it is negligible since the site is already pretty heavy on JS. Besides performance issues, are there other reasons to use enqueue versus directly adding the script to the footer?

    in reply to: Scroll to Top Script #14977
     jdtoppin
    Participant

    Well, I had tried this previously to no avail:

    COPY CODE
    function wpb_adding_scripts() {
    wp_register_script('DarkTip', get_stylesheet_directory_uri() . '/darktip/DarkTip.js');
    wp_register_script('qtip_js', get_stylesheet_directory_uri() . '/darktip/ext/qtip2/jquery.qtip.min.js');
    wp_register_script('wow', get_stylesheet_directory_uri() . '/darktip/modules/wow.js');
    wp_register_script('wow_realm', get_stylesheet_directory_uri() . '/darktip/modules/wow.realm.js');
    wp_register_script('wow_quest', get_stylesheet_directory_uri() . '/darktip/modules/wow.quest.js');
    wp_register_script('wow_item', get_stylesheet_directory_uri() . '/darktip/modules/wow.item.js');
    wp_register_script('wow_item_equipped', get_stylesheet_directory_uri() . '/darktip/modules/wow.item.equipped.js');
    wp_register_script('wow_character', get_stylesheet_directory_uri() . '/darktip/modules/wow.character.js');
    wp_register_script('wow_character_spec', get_stylesheet_directory_uri() . '/darktip/modules/wow.character.spec.js');
    wp_register_script('wow_character_pvp', get_stylesheet_directory_uri() . '/darktip/modules/wow.character.pvp.js');
    wp_register_script('wow_guild', get_stylesheet_directory_uri() . '/darktip/modules/wow.guild.js');
    wp_register_script('wow_arena', get_stylesheet_directory_uri() . '/darktip/modules/wow.arena.js');
    wp_register_script('wow_achievement', get_stylesheet_directory_uri() . '/darktip/modules/wow.achievement.js');
    wp_register_script('wow_spell', get_stylesheet_directory_uri() . '/darktip/modules/wow.spell.js');
    wp_register_script('wow_wowhead', get_stylesheet_directory_uri() . '/darktip/modules/wow.wowhead.js');
    wp_register_script('wow_wowhead_character', get_stylesheet_directory_uri() . '/darktip/modules/wow.wowhead.character.js');
    wp_register_script('wow_wowhead_guild', get_stylesheet_directory_uri() . '/darktip/modules/wow.wowhead.guild.js');
    wp_register_script('wow_wowhead_item', get_stylesheet_directory_uri() . '/darktip/modules/wow.wowhead.item.js');
    wp_register_script('wow_wowhead_achievement', get_stylesheet_directory_uri() . '/darktip/modules/wow.wowhead.achievement.js');
    wp_register_script('wow_wowhead_quest', get_stylesheet_directory_uri() . '/darktip/modules/wow.wowhead.quest.js');
    wp_register_script('wow_wowhead_spell', get_stylesheet_directory_uri() . '/darktip/modules/wow.wowhead.spell.js');
    wp_register_script('d3', get_stylesheet_directory_uri() . '/darktip/modules/d3.js');
    wp_register_script('d3_profile', get_stylesheet_directory_uri() . '/darktip/modules/d3.profile.js');
    wp_enqueue_script('DarkTip');
    wp_enqueue_script('qtip_js');
    wp_enqueue_script('wow');
    wp_enqueue_script('wow_realm');
    wp_enqueue_script('wow_quest');
    wp_enqueue_script('wow_item');
    wp_enqueue_script('wow_item_equipped');
    wp_enqueue_script('wow_character');
    wp_enqueue_script('wow_character_spec');
    wp_enqueue_script('wow_character_pvp');
    wp_enqueue_script('wow_guild');
    wp_enqueue_script('wow_arena');
    wp_enqueue_script('wow_achievement');
    wp_enqueue_script('wow_spell');
    wp_enqueue_script('wow_wowhead');
    wp_enqueue_script('wow_wowhead_character');
    wp_enqueue_script('wow_wowhead_guild');
    wp_enqueue_script('wow_wowhead_item');
    wp_enqueue_script('wow_wowhead_achievement');
    wp_enqueue_script('wow_wowhead_quest');
    wp_enqueue_script('wow_wowhead_spell');
    wp_enqueue_script('d3');
    wp_enqueue_script('d3_profile');
    }
    
    add_action( 'wp_enqueue_scripts', 'wpb_adding_scripts' );  
    
    function wpb_adding_styles() {
    wp_register_style('qtip_style',get_stylesheet_directory_uri().'/darktip/ext/qtip2/jquery.qtip.min.css');
    wp_register_style('wow_style',get_stylesheet_directory_uri().'/darktip/modules/wow.css');
    wp_register_style('d3_style',get_stylesheet_directory_uri().'/darktip/modules/d3.css');
    wp_enqueue_style('qtip_style');
    wp_enqueue_style('wow_style');
    wp_enqueue_style('d3_style');
    }
    
    add_action( 'wp_enqueue_scripts', 'wpb_adding_styles' ); 
    

    I think it is the

    COPY CODE
    
    <script type="text/javascript">
    
      window.___DarkTipSettings = {
    

    Window part that I can’t figure out. Script author told me the script comes with its own async script/style loader… which is why I shortened it up to just the DarkTip script.

    I mean, it works direct in the footer, just not with the enqueue, although I think I had it working once, but it was breaking the scroll to top.

    in reply to: Scroll to Top Script #14964
     jdtoppin
    Participant

    Yeah, I’ve tried that sadly. 🙁

    Check it out now with it enqueue’d in the footer.

    Doesn’t work… it should load dependencies, but it does not and breaks the scroll to top.

    COPY CODE
    function wpb_adding_scripts() {
    wp_register_script('DarkTip', get_stylesheet_directory_uri() . '/darktip/DarkTip.js', '','1.1.5', true);
    
    wp_enqueue_script('DarkTip');
    }
    
    add_action( 'wp_enqueue_scripts', 'wpb_adding_scripts' );

    That is the code in my child theme function file that breaks it.

    When I load in footer, I use:

    COPY CODE
    <script type="text/javascript">
    
      window.___DarkTipSettings = {
    
        'resources': {
    
          'qtip2'  : [
            'http://www.someguild.com/wp-content/themes/kleo-child/darktip/ext/qtip2/jquery.qtip.min.js',
            'http://www.someguild.com/wp-content/themes/kleo-child/darktip/ext/qtip2/jquery.qtip.min.css'
          ],
    
          'extras': [
            'http://www.someguild.com/wp-content/themes/kleo-child/darktip/modules/wow.css',
            'http://www.someguild.com/wp-content/themes/kleo-child/darktip/modules/wow.js',
            'http://www.someguild.com/wp-content/themes/kleo-child/darktip/modules/wow.realm.js',
            'http://www.someguild.com/wp-content/themes/kleo-child/darktip/modules/wow.quest.js',
            'http://www.someguild.com/wp-content/themes/kleo-child/darktip/modules/wow.item.js',
            'http://www.someguild.com/wp-content/themes/kleo-child/darktip/modules/wow.item.equipped.js',
            'http://www.someguild.com/wp-content/themes/kleo-child/darktip/modules/wow.character.js',
            'http://www.someguild.com/wp-content/themes/kleo-child/darktip/modules/wow.character.spec.js',
            'http://www.someguild.com/wp-content/themes/kleo-child/darktip/modules/wow.character.pvp.js',
            'http://www.someguild.com/wp-content/themes/kleo-child/darktip/modules/wow.guild.js',
            'http://www.someguild.com/wp-content/themes/kleo-child/darktip/modules/wow.arena.js',
            'http://www.someguild.com/wp-content/themes/kleo-child/darktip/modules/wow.achievement.js',
            'http://www.someguild.com/wp-content/themes/kleo-child/darktip/modules/wow.spell.js',
            'http://www.someguild.com/wp-content/themes/kleo-child/darktip/modules/wow.wowhead.js',
            'http://www.someguild.com/wp-content/themes/kleo-child/darktip/modules/wow.wowhead.achievement.js',
            'http://www.someguild.com/wp-content/themes/kleo-child/darktip/modules/wow.wowhead.character.js',
            'http://www.someguild.com/wp-content/themes/kleo-child/darktip/modules/wow.wowhead.guild.js',
            'http://www.someguild.com/wp-content/themes/kleo-child/darktip/modules/wow.wowhead.item.js',
            'http://www.someguild.com/wp-content/themes/kleo-child/darktip/modules/wow.wowhead.quest.js',
            'http://www.someguild.com/wp-content/themes/kleo-child/darktip/modules/wow.wowhead.spell.js',
            'http://www.someguild.com/wp-content/themes/kleo-child/darktip/modules/d3.css',
            'http://www.someguild.com/wp-content/themes/kleo-child/darktip/modules/d3.js',
            'http://www.someguild.com/wp-content/themes/kleo-child/darktip/modules/d3.profile.js'
          ]
    
        }
    
      };
    
    </script>
    <script type="text/javascript" src="http://www.someguild.com/wp-content/themes/kleo-child/darktip/DarkTip.js"></script>

    So it is loading all the resources with it.

    in reply to: Scroll to Top Script #14866
     jdtoppin
    Participant

    Yes, the wording is poor there and needs to be changed. However, “site developed by” should be appropriate as sites are developed after the fact.

    As for it working, I changed the script from enqueue in the function file to directly putting it in the footer. Less than ideal for now, but it works.

    in reply to: Optimizing Load Time #14767
     jdtoppin
    Participant

    I’d be interested to know what web server people are using.

    I’m using Nginx and the site is loading extremely fast.

    in reply to: KLEO – Features Requests #14766
     jdtoppin
    Participant

    I’d really like to see Progress Bars in visual composer and perhaps Pie Charts too.

    in reply to: Activation – Not Working #14765
     jdtoppin
    Participant

    This might have been an issue with WordPress Super Cache as well as the issue has gone away upon reinstall with W3TC cache instead…

    in reply to: Private Message Bugs #14754
     jdtoppin
    Participant

    My apologies. The internet isn’t a good place to read into anything and that was my fault.

    It looks like it might have been an issue with WPSC. I re-installed the entire site using W3TC instead and no issues so far with the same plugins enabled.

    in reply to: Private Message Bugs #14721
     jdtoppin
    Participant

    Well, it IS happening if you look at the pictures above.

    Telling me it doesn’t happen doesn’t really help very much. Thanks for being captain obvious though.

    On a side note, I’ve de-activated plugins and deleted plugins that aren’t included in the default install, yet I’m still receiving the error.

    Further, when adding a friend from their profile page, I get the same error as in picture 3 that asks “Are you sure you want to do this?”, while adding a friend off the members page works fine.

    in reply to: Activation – Not Working #14606
     jdtoppin
    Participant

    Well, for now, I got sick of looking and installed BP Disable Activate Reloaded and installed Sweetcaptcha. Haha. I’ll re-enable afterward though and see if I can see any errors through debug.

Viewing 14 posts - 1 through 14 (of 14 total)

Log in with your credentials

Forgot your details?