500 posts Keep Walking
  • Trendsetter
  • 4 Years of Membership
  • Elite Author
  • Author Level 9
+5 more
UXbarn
says

Thanks for the update @revaxarts, but mine is still not working. It still does not show up on the setting page. Any idea? :S

177 posts
  • Author Level 5
  • Exclusive Author
  • Weekly Top Seller
  • Featured Item
+4 more
Sealord
says

Settings page is working again with Firefox v26.0 Windows :)

303 posts
  • Trendsetter
  • Weekly Top Seller
  • Affiliate Level 1
  • Author Level 5
+5 more
grapulo
says

Woow working again:) Thanks bro

93 posts MeanThemes
  • Trendsetter
  • Elite Author
  • Featured Item
  • Author Level 8
+9 more
meanthemes
says

Sorry @revaxarts still no luck for me either, using latest Chrome on Mac, cleared cache as well.

31 posts
  • 2 Years of Membership
  • Affiliate Level 1
  • Author Level 3
  • Exclusive Author
Jipito
says

Working again on Chrome!!! Thanks revaxarts!

330 posts Keeping Things Simple
  • Top Monthly Author
  • Trendsetter
  • Weekly Top Seller
  • 3 Years of Membership
+10 more
cmoreira
says

Hi revaxarts! I did the manual update, but still not working for me. I’m also using Chrome on a Mac. I see the ‘jQuery is not defined’ error in the console. If you have any other tip that could helps us, let us know. And again, thank you for developing this amazing tool :)

952 posts
  • Weekly Top Seller
  • Author Level 6
  • Mo Bro
  • Super Copyright Ninja
+8 more
EladChai
says

it works but something is still missing, not sure how it’s called. I used to have a statement of item sales & earnings chart per day. Now I just have the default chart with every sale I made this month and not divided per day so I can’t figure out how much I made today, yesterday or anyday. I need to calculate myself each sale be the date.

28 posts
  • 2 Years of Membership
  • Collector Level 2
  • Exclusive Author
  • United States
JTLegg
says

Such a great feature! Thanks

303 posts
  • Trendsetter
  • Weekly Top Seller
  • Affiliate Level 1
  • Author Level 5
+5 more
grapulo
says

Hi friend,script not working for me again:(

3535 posts
  • Power Elite Author
  • Author Level 12
  • Trendsetter
  • United States
+13 more
sevenspark
Moderator
says

Hey guys,

I too have found that the latest version still won’t load for me, so I did some troubleshooting and I found a (hacky) solution.

It seems that currently the marketplaces load jQuery via yepnope


    yepnope({
      load: [
        "http://0.envato-static.com/assets/application/vendor-2b538c3f97134712a085fc58f4c396f5.js",
        "http://3.envato-static.com/assets/application/main-f4613a8aa52bf1a43954582f32d14b24.js" 
      ],
      complete: function () {
        $(function(){
          marketplace.init.app();
        });
      }
    });

Apparently (at least some times), this script does not finish loading prior to the window.load event being fired. That’s where Xaver’s plugin hooks in to load the Dashboard Plus script remotely:

window.addEventListener( "load", function(){
                go();
    }, false );

The error occurs because jQuery still isn’t defined when the load event fires, so the go() function can’t call jQuery.ajax and load the Dashboard Plus script.

What I did was add this code in the Dashboard Plus Extension’s go() function to detect whether jQuery has loaded and if not to wait 1 second and try again

function go(){
       if( typeof jQuery == 'undefined' ){
                setTimeout( go , 1000 );
                return;
        }
    jQuery.ajax({
        url: window.dashboardplus['base']+'/js/bootstrap.js',
        dataType: "script",
        success: function(){},
        cache: true
    });
}

It’ll keep doing that till jQuery loads and then it’ll load Dashboard Plus remotely.

This really isn’t a great solution (intermittent existence checking) – optimally the go() function would just fire as a callback on a registered event, but I’m not aware of any existing events that would work – the yepnope function provides a callback on complete, but I’m not sure if there’s a way to hook into that. Though the Envato code could be written to trigger a custom completion event which scripts like Xaver’s could bind to.

Anyway, this allows me to at least use Dashboard Plus for the time being until Xaver comes up with what I’m sure will be a much better solution :)

Hope that helps, guys!

Chris

P.S. Just meant to say another big thanks to Xaver for this awesome script – I forget how much I rely on this until it’s gone! :)

by
by
by
by
by
by