Removing login option for Moodle Networking Bởi Jon Bolton - Thứ Tư, 14 tháng 1 2009, 1:05 AM Số lượng các câu trả lời: 2 I understand from Helen Foster that Martin D hacked the code of dev.moodle.org to remove the login option so that people had to use their moodle.org account to access the site. Would it possible for that hack be shared?? Trung bình điểm đánh giá: - Permalink Phúc đáp Để phản hồi tới Jon Bolton Re: Removing login option for Moodle Networking Bởi Martin Dougiamas - Thứ Tư, 14 tháng 1 2009, 5:01 PM Sure, I was going to put it in core anyway. Basically it's the patch below, plus this in config.php: $CFG->hideloginpanel = true; Index: index_form.html =================================================================== RCS file: /cvsroot/moodle/moodle/login/index_form.html,v retrieving revision 1.50.2.1 diff -r1.50.2.1 index_form.html 2c2 < if ($show_instructions) { --- > if ($show_instructions and empty($CFG->hideloginpanel)) { 8a9 > <?php if (empty($CFG->hideloginpanel)) { ?> 74a76 > <?php } ?> Trung bình điểm đánh giá: - Permalink Xem bài được phúc đáp Phúc đáp Để phản hồi tới Martin Dougiamas Re: Removing login option for Moodle Networking Bởi Jon Bolton - Thứ Năm, 15 tháng 1 2009, 8:36 AM Thanks Martin Trung bình điểm đánh giá: - Permalink Xem bài được phúc đáp Phúc đáp
Để phản hồi tới Jon Bolton Re: Removing login option for Moodle Networking Bởi Martin Dougiamas - Thứ Tư, 14 tháng 1 2009, 5:01 PM Sure, I was going to put it in core anyway. Basically it's the patch below, plus this in config.php: $CFG->hideloginpanel = true; Index: index_form.html =================================================================== RCS file: /cvsroot/moodle/moodle/login/index_form.html,v retrieving revision 1.50.2.1 diff -r1.50.2.1 index_form.html 2c2 < if ($show_instructions) { --- > if ($show_instructions and empty($CFG->hideloginpanel)) { 8a9 > <?php if (empty($CFG->hideloginpanel)) { ?> 74a76 > <?php } ?> Trung bình điểm đánh giá: - Permalink Xem bài được phúc đáp Phúc đáp Để phản hồi tới Martin Dougiamas Re: Removing login option for Moodle Networking Bởi Jon Bolton - Thứ Năm, 15 tháng 1 2009, 8:36 AM Thanks Martin Trung bình điểm đánh giá: - Permalink Xem bài được phúc đáp Phúc đáp
Để phản hồi tới Martin Dougiamas Re: Removing login option for Moodle Networking Bởi Jon Bolton - Thứ Năm, 15 tháng 1 2009, 8:36 AM Thanks Martin Trung bình điểm đánh giá: - Permalink Xem bài được phúc đáp Phúc đáp