Quantcast
Channel: General developer forum
Browsing all 37673 articles
Browse latest View live

Re: Trying to get TinyMCE to work in 2.3 (through AJAX calls)

by Tim Hunt.  The only hint I can give you is that ForumNG does this somehow. I don't know how though, nor how easy it is to identify the relevant code: https://github.com/moodleou/moodle-mod_forumng

View Article


Re: AJAX script not working

by Tim Hunt.  Please change the PHP code torequire_once('config.php');$id = required_param('id', PARAM_RAW);$courses = $DB->get_records_select('course', array('id' => $id), 'shortname', 'id,...

View Article


Video streaming solutions

by David Olson.  I find that the youtube and Vimeo are ad supported services and therefore contrary to our not for profit approach.  So we have services provided through a CDN service for video...

View Article

send_stored_file() $forcedownload usage

by Simon Coggins.  What's the best setting for the $forcedownload argument when calling send_stored_file() from within a module's xxx_pluginfile() call? In the Moodle code there are three different...

View Article

using distinct clause

by mac munshi.  how can to use distinct clause in the following query functionfunction get_recordset_select($table, $select='', $sort='', $fields='*', $limitfrom='', $limitnum='').

View Article


Re: Video streaming solutions

by Justin Hunt.  HI DavidI am curious as to why Amazon doesn't make your list. If it did ... a Japanese Moodler just released a plugin for streaming from...

View Article

Re: Trying to get TinyMCE to work in 2.3 (through AJAX calls)

by Damyon Wiese.  I played with this on 2.5 - I have a solution (requires core changes and I'm not 100% happy with the changes...

View Article

Re: using distinct clause

by Davo Smith.  You should be able to put 'distinct [fieldname]' in the $fields parameter. (without the square brackets)

View Article


Re: send_stored_file() $forcedownload usage

by Tim Hunt.  The security risk is that when Moodle servers a file uploaded by a user, we expose ourselves to potential cross-site scripting attacks. Actually, it is no longer cross-site, since we...

View Article


Re: Video streaming solutions

by Nathan Mcilree.  Yes I used to work for a College that paid for Vimeo Plus, it was pretty reasonable ( about £60 ayear if I recall correctly ) and nice apis and formatting options.  You could also...

View Article

Image may be NSFW.
Clik here to view.

Re: Trying to get TinyMCE to work in 2.3 (through AJAX calls)

by Per Ekström.  Ok, I will look at this and come back if I find a solution. Thanks!This would be a very nice feature to have in future Moodles, given that AJAX is more or less universally used these...

View Article

Re: using distinct clause

by mac munshi.  i used like thisget_recordset_select($table, $select='', $sort='', $fields='distinct *', $limitfrom='', $limitnum='') it doesnt work.

View Article

Re: Trying to get TinyMCE to work in 2.3 (through AJAX calls)

by Andrew Nicols.  Hi Per,As it so happens, I was looking at this kind of thing last night. I didn't get very far with it because I had to do some other bits. YUI actually has a module for this called...

View Article


Re: Trying to get TinyMCE to work in 2.3 (through AJAX calls)

by sam marshall.  Yes, ForumNG does this. There were two approaches:Prior to 2.3, I used some small (but ugly) JavaScript hacks to include it using AJAX, like you're trying to do.In 2.3 I came to my...

View Article

Re: Video streaming solutions

by Matt Bury.  Hi David,Is there any specific reason you want RTMP streaming? If not and you're happy with progressive download (http://en.wikipedia.org/wiki/Progressive_download), you can use any...

View Article


Re: Video streaming solutions

by Fred Woolard.  If I understand your question, you're not so interested in finding a streaming provider as you are finding a way to play the media in your courses, correct?There is an RTMP streaming...

View Article

Re: Moodle Plugin Development for Beginners

by Derek Chirnside.  Also, check out this page: http://docs.moodle.org/dev/PluginsThere is some information on contributed code her: http://docs.moodle.org/dev/Guidelines_for_contributed_codeAnd the...

View Article


Re: Moodle Architecture - Three Tiered?

by Tim Hunt.  Yes, you can descrive it like that if you think it is helpful.

View Article

Re: Ideas needed for course settings page refactor

by Joseph Rézeau.  Frédéric "Another thing I quite dislike about the "Show more/less" is that the fields will randomely appear in the section. As a developer, I can hide the first field of the section,...

View Article

Image may be NSFW.
Clik here to view.

Re: Current theme directory programmatically? Documentation looks outdated...

by Olja Petrovic.  Thank you all very much!I'll do that, and put the logic in a function so I don't repeat it in code.Interesting tracker links, thanks Danny for all the work.Maybe I won't use a custom...

View Article
Browsing all 37673 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>