Jump to content

pconkie

Frog Community Genius
  • Posts

    598
  • Joined

  • Last visited

Everything posted by pconkie

  1. Must admit, not really used assignments before so this probably isn't a new release thing...just trying to figure these numbers out...... Submitted 1/16 I get this I think, but there are only 15 students in the class - when i go into the assignment and count those listed just to make sure, there are definitely 15. So why does it say 16? 3 Ok, this I can't figure out. What does the 3 mean? Any help greatly appreciated! P
  2. @ADT that's what I'd like to do, but apparently if mum has same email as dad, even if I've only sent a letter to mum, the "I've forgotten my password" link on the homepage won't work! Yes, much better if the extractor could be a bit more picky about who gets an account made. shame I can never get the ideas portal to work!
  3. I have 4000 parents accounts. 300 of these have non unique email addresses. I want to use the "forgot password" method described in the tutorial for disseminating account details to parents. Can i do any of the following things: 1. Archive half the parent accounts, so that each family uses one set of account details. This would solve all of my 'duplicate email' issues (would frog then send emails if a parent clicked the forgot password link?) and make the users app run much faster! But they are all current parents, so they are all MIS linked. The next time the frog extractor ran would all those archived accounts re-appear? 2. Go into each of the 300 accounts with a duplicate email and delete the email and then re-save the user. The next time the frog extractor ran would all those duplicate emails re-appear? I've tried this on one account but I wasnt able to save the user with a blank email! Or do i need to look up each parent one at a time in SIMS and remove the duplicate email in there. Will the frog extractor then pull through 'blank' emails for those affected parents? Thanks Paul
  4. Hey Adrian - that's your most positive post for months! How goes Gosforth? Hope new school year has started well. We never did fill that Computer Science vacancy so guess who had to step in?! Don't suppose you do OCR GCSE do you?
  5. Over the holidays I started looking at what was possible with FrogCode and Firebase (google's free database). @Graham Quince has already done a tutorial on how you can use Firebase to display custom information inside frog, but I thought i'd go a little more into T&L tools. My thoughts are here along with videos showing a couple of new widgets which I've just about finished testing with classes. Paul
  6. But what if there is an underscore in the url!
  7. @Guesty81 @Graham Quince suggestion is the most sensible way forward. You just need to be careful uploading files as frog tends to rename them if they have ever been uploaded before! I have the following set-up... Of course the filedrop would normally be hidden, but you can hopefully see that i have named the images according to the site i want them to open. I have amended the code you were last working with so that each image has a link added to it using the filename as the link url. This is just the script section (the html and style is unchanged). Don't forget to change the filedrop uuid again! $('.carousel').carousel(); var baseURL = Frog.Utilities.getBaseUrl(), // Change fileDropUuid to the UUID of your file drop widget fileDropUuid = 'B6812D8120028F73DEC8AFC28E9436018A2C42AC449BD34C'; Frog.Model .api('filedrop.get', { filedrop: fileDropUuid }).done(function(filesResponse) { var $fileList = $('#filelist'), $slideShowCount = $("#filedrop-slide-show-count"), $slideShowImageContainer = $("#filedrop-slide-show-img"), fileCount = 0; filesResponse.data.resources.forEach(function(file, index) { if (['jpg', 'jpeg', 'gif', 'png'].indexOf(file.file.ext.toLowerCase()) > -1) { $slideShowCount .append( $('<li>') .attr('data-target', 'Carousel') .attr('data-slide-to', fileCount) .addClass(function() { if (fileCount === 0) { return 'active'; } }) ); $slideShowImageContainer .append( $('<div>').addClass('item') .addClass(function() { if (fileCount === 0) { return 'active'; } }) .append( $('<a>').attr('href', 'http://www.'+file.file.name) .html( $('<img />').addClass('img-responsive') .attr('src', baseURL + '/app/file/resource/' + file.file.uuid + '?width=400&height=500') .attr('align', 'center') ) ) ); fileCount++; } }); }); Hopefully that does the trick! Paul.
  8. Hi @Pete Foulkes Just one small change.... It's line 116 for me: Change: periods.teacher.displayname To: periods.group.name That should do it!
  9. As of da Vinci FrogCode renames uploaded files like the file uploader does and the "rename" feature doesn't work!
  10. The bit you want to change is $slideshowimagecontainer.append() this section loads each image from the filedrop and displays it i the screen. Certainly easy enough to wrap each image in an anchor link. BUT not sure where your URL is going to come from? Does each image link to a different URL? I don't think there will be any link between the image URL and the URL of a site that the widget could use. @Graham Quince did you say the other day someone had made a widget that read from a text file? You could do it this way with image and URL pairs in the text file
  11. Thanks @Chris.Smith I've been able to get this to work now. I could really do with disconnecting firebase when the site or app is closed rather than what it does by default (when the browser is closed). According to the docs.... So, is there an event i can use from inside the app that runs code every time the app is closed? Thanks Paul
  12. Amazing, thank you. Exactly. How would this be passed to the app we are opening? Inside app.render()? What would be required to read and use the object inside the app? thanks.
  13. I prefer this approach! What do you think @Graham Quince?!
  14. Hi @Chris.Smith Glad to see you back! Thanks for the updates today, first issue..... No matter what app i pick, i get a uncaught steal.js error. Code, widget and console error below. Plus if this was working, how would i access the string: 'student' in the app? Cheers Paul
  15. I've seen this in action in frog e.g. frog drive can be opened to a particular folder, quiz manager can be opened to a particular quiz etc If I have built a frog code app, how could i open it from a site and send it some data? This works to open a site.... FrogOS.openSite({ site: $assignment.data('assignment-link'), assignment_uuid: $assignment.data('assignment-uuid') }); But i can not get any variations of this to work... FrogOS.openApp({ app: app.uuid, param: app.data }); @Chris.Smith, @Graham Quince ideas? Paul
  16. Hi Graham How is Chris? Hopefully feeling better? Paul
  17. Hi @mhamilton This was pre frog code, so it doesn't actually exist a frog code widget. You can get it working by pasting the code attached into a frog html widget. Although - it may display nothing until September depending on how your academic year is defined in your MIS. Could be a good first frog code widget to get stuck into! You could use a preference to show or hide the email addresses for example. The teachers email address isn't actually available in the frog api this uses, so i have cheated a little bit. Most institutions use username@institute.com etc - hopefully this is the same for you - so change this line: var emailstem = "@backwellschool.net" to your correct stem. At the very bottom are two lines: //getTimetable(); getTimetable("744D73192000599761102F6C53568E054B34D94C6C569DE8"); This widget only works for students, so you need to test by pretending you are a specific student. You should replace the long number (a frog user id) with one of your own students and check it works. When you are ready to use the widget on your platform change this so it looks like this: getTimetable(); It will then display the class details of the currently logged in user. The full code is in the attached zip file. Good luck! Paul list of classes.zip
  18. I can disconnect, but can't reconnect in the same session. Not sure if my code is the reason, something to do with frog or something else. In the latest firebase release it strongly discourages micro-managing the connection like this anyway. Reading from firebase done as per your tutorial - using a snapshot which creates only a momentary connection. Saving keeps the socket open and I think with annonomous authentication this is what is creating the issue. I just need to read up on firebase more... P
  19. I see my pun was wasted on you Graham! Just got firebase working! Works great and the teacher can see all the students completing their worksheets simultaneously 'live'. Uses a lot of connections though and you only get 100 free from google. I feel a new video coming... P
  20. Oh All was going well, but these objects I'm trying to store are BIG. The more complicated the ink, the bigger they get. I see to have hit a limit for what can be saved in a forum post. Frustrated by the lack of a simple single line of FrogCode that could do this job! When web services comes along this should be a piece of cake For now, back to the drawing board. Thanks George this did work great. P
  21. Is there anyway i can turn some or all notifications off? Either as a global setting somewhere that i have missed in system settings or polices or in frog code when working with an api that triggers a notification? I'll give an example - I have a drawing widget and after each brush stroke the drawing is saved in a forum --> topic --> post. This triggers a notification to be sent to everyone who has access to that forum (which is everybody). This is despite having the option: notify: "0" on the relevant api call. I just drew a picture and in 1 minute created 45 notifications! Can someone let me know if there is a way to turn these off please! Thanks Paul
  22. Just getting it to save the ink now! How is FrogSeats going?
  23. What do we have lots of? Well, I've got loads of worksheets - some really good 'old ones' long since scanned to computer and of course all the recent ones created on computer.... Most of them are sat in frog sites so that students can download and print them off should they lose their own. But what if all of these worksheets could be completed on frog without the need to turn them into frog quizzes or use a third-party site or app? Well, as this is the showcase..... https://drive.google.com/file/d/0B2QYvi40BJqDRWw0N3JPVUdqWk0/view?usp=sharing Sorry there is no sound on the video, I need to invest in a microphone! Features Could be used as a basic painting app Allows a file to be loaded into the background - this means you can write, type and draw over the top but the eraser won't wipe out the underlying file! Normal and full-screen modes Zoom and pan - watch the ink marks move with the worksheet Save button produces a .png file of the entire work which can be saved in the usual way or copied and pasted into a document (or uploaded and handed in!) It's based on http://literallycanvas.com. All I have done is make it work in frog and integrate it with FrogDrive. To do Save the ink so the student can return to the worksheet later (if only there was a way of saving data in frog!) Save the ink and display to the teacher all of the worksheets in their current states - with some work it should be possible for the teacher to "watch live" as the worksheet is completed and so know where to target help first. Think about what happens \ what we would want to happen, if this is part of a site that has been assigned to a group/student. Only works for image files at the moment - any server side devs at frog got anything for on demand file conversion? If anyone can help with any of this we can share the code and half the work... Paul
  24. Thanks @adamw That did the trick! Would be good to add that one to the official docs https://froglearn.backwellschool.net/app/lib/packaging/docs/Preferences.Upload.html On to the next problem....
×
×
  • Create New...