If you wish to install a quiz pack, read point 1.
If you wish to write a quiz pack, skip to point 2.
- See the list of quiz packs available by VISITING THIS THREAD. Select as many quiz packs as you wish, and download them (as zip files) to your computer. Uncompress these, using a program such as Winzip, or Windows XP's inbuilt unzipper. You will see a .qp file. Open your FTP client, and navigate to your forum. In the admin directory, go to the quiz_packs folder. If it is not there, create it. Now upload the .qp files you wish to install, to this folder. Go to the Admin Panel of your forum, and go to the "Quiz Packs" section. Click the filename of the .qp file. You will receive a prompt to say it has installed successfully. Now delete the .qp file through your FTP client. Repeat these steps as many times as necessary.
- There are three types of quiz packs: Multiple Choice (1), True / False (2), Input Answer (3). All .qp files have a standard header, which is as follows:
This is followed by the file details:Code: Select all
################################################## # Ultimate Quiz MOD 1.3.x © battye 2004, 2005 # Quiz Packs © battye 2005 ##################################################
The Quiz Pack Name is your decision. The author is your username / name, and the version is a number you decide on (I suggest starting with 1.0.0, and increasing the last number by one every time you make a change to the file; so the next version would be 1.0.1, then 1.0.2, 1.0.3 etc). The Quiz Type area is very important. For Multiple Choice quizzes, it MUST be 1. For True & False, it MUST be 2 and for Input Answer it MUST be 3. The number of questions is simply the number of questions in the quiz.Code: Select all
# Quiz Pack Name: Example Quiz Pack # Quiz Pack Author: Example Author # Quiz Pack Version: x.y.z # Quiz Type: (1 or 2 or 3) # Number Of Questions: x ##################################################
The next section is the actual question/s area, and example is as follows:
In this example, it is a True / False quiz. "Q: " is followed by the question, while "C: " is followed by the answer (True or False). Every question is separated by --------------------Code: Select all
# Q: battye is the only writer of the Ultimate Quiz MOD # C: True # -------------------- # Q: The Ultimate Quiz MOD began development in June 2005 # C: False # -------------------- # Q: The Ultimate Quiz MOD v1.2.0 is released in the phpBB MOD Database # C: True ##################################################
This applies to all quiz packs.
An example multiple choice is listed below:
Like in the True / False pack, Q: and C: reflect the question and correct answer. In this pack, M1: M2: M3: and M4: reflect the alternate answers. The correct answer must match ONE of the alternates.Code: Select all
# Q: Who was the first developer of phpBB? # C: theFinn # M1: psoTFX # M2: JohnABela # M3: theFinn # M4: Graham # -------------------- # Q: What is the development name of v3? # C: Olympus # M1: Olympus # M2: Olympic # M3: Olympia # M4: Olympius # -------------------- # Q: Who very recently quit the development team? # C: psoTFX # M1: theFinn # M2: Acyd Burn # M3: BartVB # M4: psoTFX ##################################################
An input answer quiz is below:
This is the same as the True / False quiz, except C: does not have to be True or False.Code: Select all
# Q: What is the name of the forum where you request MOD's? # C: MOD Requests # -------------------- # Q: What is the name of the support forum? # C: phpBB Support ##############################################
To end the quiz pack, you put:
Here is an example of a complete, Multiple Choice quiz pack:Code: Select all
# End of Quiz Pack ##################################################
Please post any queries regarding the making of quiz packs in this thread!Code: Select all
################################################## # Ultimate Quiz MOD 1.3.x © battye 2004, 2005 # Quiz Packs © battye 2005 ################################################## # Quiz Pack Name: phpBB Trivia # Quiz Pack Author: battye # Quiz Pack Version: 1.0.0 # Quiz Type: 1 # Number Of Questions: 3 ################################################## # Q: Who was the first developer of phpBB? # C: theFinn # M1: psoTFX # M2: JohnABela # M3: theFinn # M4: Graham # -------------------- # Q: What is the development name of v3? # C: Olympus # M1: Olympus # M2: Olympic # M3: Olympia # M4: Olympius # -------------------- # Q: Who very recently quit the development team? # C: psoTFX # M1: theFinn # M2: Acyd Burn # M3: BartVB # M4: psoTFX ################################################## # End of Quiz Pack ##################################################