: This article mainly introduces the use of the qq login Forum of Moodle. if you are interested in the PHP Tutorial, please refer to it. In this tutorial on the qq login section of Moodle, we assume that you already have a Moodle2.4 + website with a domain name and Internet access, and the database uses mysql.
We will provide the QQ login Forum of Moodle and how to install and use this forum.
This series of tutorials will guide you through the following tasks:
- Apply for appid for QQ interconnection
- Install QQ login Forum on Moodle
- Enter appid in the QQ logon section.
Chapter 1 Apply for QQ internet application appid
Create a QQ interconnected application
QQ Account Login
To log on to the QQ account, you must first apply on qq internet. application address: http://connect.qq.com/manage/indexuse the QQ account number to directly renew the account.
Register as a developer
After logging on, enter relevant information and register as a developer.
Create an application
Click the green button on the right to create a new application.
Enter information about the Moodle website
Here, the verification code can be added by using website management> Appearance> Adding html in moodle.
After the application is created, the appid number is displayed.
This is the appid we need to use on the Moodle website and need to fill in the QQ login section.
Chapter 2 install the QQ logon section in Moodle
Download QQ login Forum
I learned how to provide the QQ login Forum code of Moodle in secondary development of online Moodle. the code is: http://pan.baidu.com/s/152dzkand download this compressed package.
Install QQ login Forum
Decompress the package, upload the qclogin folder to the block Directory of the server's Moodle, log on to Moodle as the Moodle administrator, and click upgrade Moodle database now
Add QQ logon forum on the homepage
After the installation is successful, you can add this forum on the home page.
Enable the editing function on the homepage.
Add QQ login Forum
Configure the QQ logon section and enter the appid applied in chapter 1.
Save the changes. after logging out, the administrator can use the changes.
The above introduces the use of the qq login Forum of Moodle, including some content, and hope to be helpful to friends who are interested in PHP tutorials.