Re: Unable to fetch available updates data - unexpected cURL error.
by Dan Poltawski. Hi Joseph,In 2.4+ we have moved to using SSL for retrieving updates to prevent 'Man in the Middle' attacks. The error message you get ('cURL error 60: SSL certificate problem, verify...
View ArticleRe: User profile information not displaying properly
by Kate Rhodes. Okay, did that. So, I went to the grades for one of the courses and tried to export the grades as an excel document and it displayed these... What do you think? So I went through...
View ArticleRe: User profile information not displaying properly
by Kate Rhodes. Not getting any error messages when I just go to a page where I want the profile fields to display though... just empty columns....
View ArticleCohorts - setting an automatic unenroll date
by Nick Fisher. We have just set up a cohort for the Moodle system. Is it possible to define a date when this cohort is automatically unenrolled from the courses or will we have to do this manually...
View ArticleRe: User profile information not displaying properly
by Andrew Normore. Hrmmm. Let's see if I guess this correctly:Your Moodle 2.3 site worked great!Upgrading to Moodle 2.4 broke the reportSo, likely what happend was your custom user profile fields were...
View ArticleRe: User profile information not displaying properly
by Andrew Normore. Notice: Undefined Property: stdClass This is fine, it's just a "notice". For Your InformationWhen it says error, thats when you have found a problem.What this is saying,...
View ArticleRe: User profile information not displaying properly
by Paul Cook. Could be a script error are you on 1.9 we have done a lot of fixes due to MySql database errors and updates. pc
View ArticleRe: How to found out if user is teacher in the selected course
by Rosario Carcò. And just found these functions in the XRef:get_user_roles_in_courseget_role_usersall in accesslib.php
View ArticleRe: 2.3.2: Getting a user's role
by Rosario Carcò. Please see here: https://moodle.org/mod/forum/discuss.php?d=218550Rosario
View ArticleRe: User profile information not displaying properly
by Kate Rhodes. Well, no. The extra profile fields never did show up in the reports... that's why I thought maybe upgrading would help.I checked the user/profile/index.php but I don't see anything...
View ArticleRe: User profile information not displaying properly
by Kate Rhodes. Hi Paul It's been upgraded to 2.4. It was originally a 1.9 when I first built the site.... maybe something didn't upgrade properly???
View ArticleRe: Moodle 2 - how to set up breadcrumbs for a module page
by Brian Merritt. Hey Andrew & AllDid you get an answer? If yes, can you repost here or insert the URL reHow do I add a node to Site administration -> Courses -> My Plugin and set it active?...
View ArticleRe: Moodle 2 - how to set up breadcrumbs for a module page
by Andrew Normore. Hi Brian, please see the post directly above yours for the answer. It was 3 lines of code. If you're still having trouble, make sure you are setting up the page properly:echo...
View ArticleRe: A line of code needed ...
by Andrew Normore. Hey Glen, you could always just use a plain old mail() functionhttp://php.net/manual/en/function.mail.php
View ArticleRe: A line of code needed ...
by Rex Lorenzo. I would recommend against just using straight using PHP's mail function. We wrote a wrapper for the mail function that takes into account Moodle's divertallemailsto setting. Very...
View ArticleRe: A line of code needed ...
by Damyon Wiese. Actually - I would still recommend using moodles email_to_user function. You can call it with the minimum of arguments to make it simpler:email_to_user($user, $from, $subject,...
View ArticleHelp me please, I want to select files where courseid and sectionid.
by Praphus Vannkaow. I want to select files from moodle database where courseid and sectionid.
View ArticleRe: Help me please, I want to select files where courseid and sectionid.
by Andrew Normore. More context please?Check the files table in your database, and use draftfile.php or pluginfile.php to get that data.
View ArticleRe: A line of code needed ...
by Rosario Carcò. Rex, Damyon, thank you very much. I learned a lot from your codes even if I never had a look at the grade-report-code itself.I like the idea of sending only a link to the...
View ArticleRe: Building a course programatically (2.3+); db structure questions
by Rosario Carcò. >>You have successfully reverse-engineered a lotShould this not be copy/pasted to a Moodle-Doc? Or is it already there?
View Article