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

Image may be NSFW.
Clik here to view.

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 Article


Image may be NSFW.
Clik here to view.

Re: 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 Article


Image may be NSFW.
Clik here to view.

Re: 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 Article

Cohorts - 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 Article

Re: 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 Article


Re: 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 Article

Re: 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 Article

Re: 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 Article


Re: 2.3.2: Getting a user's role

by Rosario Carcò.  Please see here: https://moodle.org/mod/forum/discuss.php?d=218550Rosario

View Article


Re: 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 Article

Re: 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 Article

Re: 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 Article

Re: 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 Article


Re: 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 Article

Re: 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 Article


Re: 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 Article

Help 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 Article


Re: 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 Article

Re: 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 Article

Re: 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
Browsing all 37670 articles
Browse latest View live


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