auth_elcentra
77 sites
6 fans
Moodle 2.2, 2.3, 2.4, 2.5, 2.6

Once installed and configured, this plugin offers a hassle free method for Admins & end users. Accounts get created without any additional action from the admin.

• VKontakte (New!)

### Contributors

• Mon, 30 Dec 2013, 9:21 AM
Thanks for your patience. I have installed and tested this on one of my production sites and it seems to work well. I think there are a few minor issues I would like to see tidied up before we get this approved. First, in the lang/en/auth_electra.php file the @package name is incorrect and the copyright is listed as Martin. Please correct those. Also, I like to see the boilerplate notice making the GPL license explicit. Ideally this is in all of the files but for starters it would be good if it were in the version.php file. I did receive a PHP warning when logging in for the first time with a Google account - Warning: Creating default object from empty value in /moodle/auth/elcentra/auth.php on line 230. Thanks for providing the Github source control URL. Please consider following the Moodle naming convention for repositories - namely, moodle-{type}_{name} so in this case moodle-auth_elcentra. Pointing to the README file in the repository is fine but you are also welcome to create a page in Moodle Docs. I am going to mark this as needing more work but the changes should be simple. If you have any questions just let me know. Peace - Anthony
• Mon, 30 Dec 2013, 9:24 AM
p.s. - I second Aparup's recommendation to avoid $GET for state - any reason not to use the optional_param there? • Tue, 21 Jan 2014, 6:33 PM Thanks for your reply. We are now done with all your above requirements. Rather than moodle docs, we prefer using the README file since it would be a single place to update all our changes. If you insist us to create a moodle docs page, please send us the procedure to do so. We believe we have fixed all your reports and answered your queries. I am interested & eager to see this plugin go live. Please feel to let us know in case we have missed any. Thanks • Mon, 24 Feb 2014, 12:41 PM Hi, Thanks for addressing so many issues. ps: https://moodle.org/plugins/view.php?plugin=auth_googleoauth2 is very similar (twitter support seems to be the difference). It seems technically feasible that these are merged, so please have a look and consider. • Tue, 11 Mar 2014, 6:01 PM I would like to use ony facebook logi, how to remove google, twitter and linkedin? • Wed, 12 Mar 2014, 3:15 PM Just remove the image links of twitter, google, linkedin. That would stop the usage of these 3. You are only going to link it to facebook, so the users will have links to use only that • Wed, 12 Mar 2014, 3:16 PM @Banerjee We plan to proceed this in a different way with integration of lot more local sites and social networks. Hence the new plugin • Fri, 28 Mar 2014, 11:02 PM first of all nice plugin and it works flawlessly with me on version 2.6 how ever there are some issues for which guidance is needed .. 1. On fb login - as I am just using fb login its only capturing email and name from response code ... is there any way at least country can captured too.. with possible extension for picture in future ... 2. If author can only explain the login flow .. I guess many good things can be added to plugin .. as I am still confuse when it takes from fbreponse file to auth file ... and what happens after that but in general good work !!! • Wed, 9 Apr 2014, 5:00 PM I commented the line error_reporting(E_ALL); in twitter_request.php because was causing the error Internal server error 500 • Fri, 2 May 2014, 1:43 PM suhail shah - We arent taking country as fb blocks it for many users owing to their privacy settings. Will include them if more people ask for it. We will add image retrieval in the future versions. Thanks for your suggestions and please share more of them . • Fri, 2 May 2014, 1:45 PM Fortunato Borruto - Can you give the error you faced? You will be able to find it in your error_log • Sat, 5 Jul 2014, 5:09 PM L.s. Good plugin! I'm now using another authentication (linkedin) plugin. This plugin adds the Linkedin picture. Could this be added in your plugin? Best regards Bert • Thu, 10 Jul 2014, 3:02 AM Hi, I have installed this plugin and in status saying "To be installed". I'm getting this message both in 2.5 and 2.6 versions • Tue, 22 Jul 2014, 2:03 PM Hi, The plugin is great and works as per description. I wanted to know is there any way to stop self registration throught this plugin. (may be some code modifications) I will like to allow access to only those users who have been added by admin. • Sat, 23 May 2015, 1:46 PM I'm using your plugin just whith google authentication, but when updating Moodle to 2.9 version it crashed. The users got only a white screen when trying to login. Activating debug mode gave some tips. In the script moodle/auth/elcentra/googleresponse.php line 26: "require_once '../../lib/pluginlib.php';". (A kind of file not found error) Since https://tracker.moodle.org/browse/MDL-46122 , that file is not needed anymore. So deleting the line is OK. Next error is class "plugin_manager" is not defined (line 47): "$pluginManager = plugin_manager::instance();"

A quick view to moodle/lib/classes/pluginmanager.php shows that the new name for the class is "core_plugin_manager", so udpadtin the line 47 of moodle/auth/elcentra/googleresponse.php whit this content: "\$pluginManager = core_plugin_manager::instance();" will resolve the issue.

Cheers.