Re: SQL statement assistance - how to update field with same value from...
by Jerry Lau. hmm... would this work?Data:----select id, username, idnumber from mdl_user where idnumber = "" order by id desc limit 10;+-------+-----------+----------+| id | username | idnumber...
View ArticleRe: SQL statement assistance - how to update field with same value from...
by Guillermo Madero. Hi Jerry,Yes, that would do it if you want to overwrite both empty and non-empty fields. To update only empty fields:UPDATE mdl_userSET idnumber = usernameWHERE idnumber = "";
View ArticleRe: SQL statement assistance - how to update field with same value from...
by Jerry Lau. Thanks Mr. Madero
View ArticleRe: SQL statement assistance - how to update field with same value from...
by Jerry Lau. My concerns are would this affect any existing transactions in any of the tables such as quizzes, grades, forum participations, etc?I don't think so as I am just updating a field with...
View ArticleRe: SQL statement assistance - how to update field with same value from...
by Peter Bowen. Hi Jerry,I don't believe it will affect any transactions.My question is though, why? It will be something you need to do each time you add users. I have a vague recollection that I...
View ArticleMoodle 2.3.1 reCaptcha not working
by Tony Chilvers. I have enable everything to display a reCaptcha for new registrations.The image is displayed and form elements are shown for entering the text/number.Problem is that when you then...
View ArticleRe: LDAP
by Rosario Carcò. I started using LDAP auth in Moodle around 2005/6/7 and have written posts here in these forums. Simply enable the LDAP plugin in the...
View ArticleAuthentication saml and simplesaml moodle integration
by Edgar Toledo. Hi folks, I've have a portal called espconnect where I do a SSO log in, and within this portal I have a moodle. So I'm using simplesamlphp to authenticate this portal. But I need...
View ArticleRe: SQL statement assistance - how to update field with same value from...
by Jerry Lau. Thank you Peter. We have used the built in tool already to insert that data.We are just making sure we want to update those records that don't have value in the idnumber field before we...
View ArticleRe: SQL statement assistance - how to update field with same value from...
by Guillermo Madero. Hi Jerry,No, you needn't worry, it's just an informative field used to provide extra user information when needed.
View ArticleRe: LDAP SSO speed on 2.6?
by John McDonald. I am seeing this exact same 6-7 seconds. I have had the IS guys look at everything, but nothing has fixed it. I am open to any suggestions.THANKS!
View ArticleLogin or Logon Redirect
by Brook Brayman. Hi All,I want to redirect my users to my own, external, homepage after logging in via an alternative URL.So it should go like this:1. Go to http://myhome.net (contains the Moodle...
View ArticleRe: LDAP Authentication Against Multiple Domains in Multiple Forests
by Marc Z. Jon, thank you for the reply. I had searched the forums, but wasn't able to find quite what I was looking for. However, looking for "clone LDAP" seemed to do the trick:...
View ArticleRe: Moodle 2.3.1 reCaptcha not working
by Pete Jones. I have a similar issue on my Moodle 2.6.2 site, Tony, except that it only loops back if you enter the wrong numbers/letters - see my post No reCAPTCHA error message. It works when the...
View ArticleRe: Error Inserting Users with External Database Authentication
by Mathew Gancarz. Hi Carrigan, We've been running with external database authentication for a while, but never ran the sync_users.php script until now. It properly creates new users but we had some...
View ArticleRe: Error Inserting Users with External Database Authentication
by Mathew Gancarz. I've actually figured out the problem for myself.The problem was existing users in Moodle were created with:username: samplename@hotmail.comemail: samplename@Hotmail.comand in our...
View ArticleRe: LDAP Authentication Against Multiple Domains in Multiple Forests
by Scott Karren. I realize this is a revived old thread but it appears to match my situation as well. My company has two separate domains that are trusted. We are trying to allow users on both...
View ArticleExternal DB: Microsoft Membership Provider
by Aaron Martin. Hello people, I have done a bit of poking around on the internet looking for someone who has implemented Moodle authentication with an external database that is driven by ASP.NET...
View ArticleHas anyone else had problems with email-based self-registration?
by Tim Hunt. I just hit this issue where the URL emailed out to confirm a user account did not match the secret stored in the database. Has anyone else seen this? can anyone else work out what is...
View ArticleRe: LDAP Authentication Against Multiple Domains in Multiple Forests
by Rosario Carcò. Besides the trick to duplicate the auth plugin/module, I used to put separate Global-Catalogs into one line separated by semicolon like...
View Article