Jump to content

sclough

Members
  • Content Count

    30
  • Joined

  • Last visited

Community Reputation

56 Knows loads about Frog

About sclough

  • Rank
    Tadpole

Personal Information

  • School
    The Radclyffe School

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I’m trying to create a way of finding students who’ve never logged into Frog, or haven’t logged in within a specific time frame. My idea was to compare the analytics login data with the user API to get a list of student who are current users but haven’t logged in. The problem I’m finding is that with ‘analytics.getStats’ there’s no unique data to compare against. I was hoping that the data would include the student UUID or Username but it just has the display name. Is there any way to get the API call to include the username or the UUID? Here’s the code: Frog.Model.api('analytics
  2. @Graham Quince Thanks for the template.
  3. Thanks Unfortunately there's no way to get it onto the loading screen. You can't really modify that in any way.
  4. @ADT Here's some updated code: <script> var wA = [], sA = [10,11,12], tA = [2,4,6,8,10,12,14], fA = ['&#10052;', '&#10053;', '&#10054;']; function r(a) {return a[Math.floor(Math.random() * a.length)]} for (var i = 0; i < $(window).innerWidth(); i++) {wA.push(i)} for (var i = 0; i < 15; i++) {$('<div class="s-fl" style="position: fixed; color: #fff; top: -20px; left: '+r(wA)+'px; font-size: 20px;">'+r(fA)+'</div>').appendTo(this.element.closest('.app-sites'))} $('.s-fl').each(function(){ var el = $(this) setTimeout(function(){ el.animate({
  5. You could try this: <script> jQuery(document).ready(function($){ var wA = [], sA = [10,11,12], tA = [2,4,6,8,10,12,14], fA = ['&#10052;', '&#10053;', '&#10054;']; function r(a) {return a[Math.floor(Math.random() * a.length)]} for (var i = 0; i < $(window).innerWidth(); i++) {wA.push(i)} for (var i = 0; i < 15; i++) {$('<div class="s-fl" style="position: fixed; color: #fff; top: -25px; left: '+r(wA)+'px; font-size: 20px;">'+r(fA)+'</div>').appendTo('body')} $('.s-fl').each(function(){ var el = $(this) setTimeout
  6. I remember a couple of years ago, there was some information around on FrogLearn guide to using OAuth and there was a template too. Is the template still around / is it still valid? No problem if it's not, it's just something that I thought I might look at again. Thanks, Simon
  7. I've used PHP in some of the widgets I've created but always hosted the PHP files on our website server. Then I've used Ajax within the widget code to connect to the PHP files to send and return data. I'm not sure you can include PHP in the actual widget itself though.
  8. The folder does need sharing first. Unfortunately, there's no other way around sharing it.
  9. @Graham Quince Please ignore that last message. I can get the styling from the console.
  10. @Graham Quince I was having a look at the Blank Theme - Navigation Only yesterday, and it does have a title, it's just set to display: none; and visibility: hidden. Would it be possible to get the base CSS for this theme? Then I could start designing a new theme from this blank template.
  11. It's worth trying. We'd need some boilerplate code first. I just started created a new site with the blank theme but we'd need the default theme CSS to get started properly.
  12. Hi @Chris.Smith Thanks for that snippet. That's exactly what we needed. Simon
  13. We've got some code to open the quick assign window to create new homework tasks. This is just a click function like this: var $target = jQuery('[data-action=launch_quick_assign]:first'); $target.on('click', function(el, ev) { ev.stopPropagation(); el.frogui_modules_quickassign(); }.bind($target.get(0), $target)); I was wondering which frog UI module I'd need to call to open the assignment monitor screen?
×
×
  • Create New...