![]() |
Test Your Members' Knowledge Before Allowing Them to Post in Certain Forums
This mod is an addon to the Inferno Quiz System You must have that mod installed and working to use this.
What it does: It requires users to achieve a minimum score on a specified quiz to post in a forum. Example: You have a PHP discusssion forum for advanced coders. You don't want novices bothering your members with trivial questions. So, you require anybody who wishes to post in that forum to achieve a minimum score of 70% on an advance PHP quiz that you created using Inferno Quiz. How to install it: Import the Product. Done. No template edits, nothing else to do. How to use it: In your admincp forum manager, edit the forum(s) you wish this to use this mod for. Enter a Quiz ID and the minimum acceptable score. Save the forum. You're done. You can easily require users to pass different quizzes to be able to post in different forums. If a user has not taken the quiz, he is directed to do so. If he has failed the quiz, he sees an error message. I don't expect many of you will use this. I'm not even using it. But, the idea hit me and it was fun to throw together. Amy |
p.s. If you want your users to have to pass the quiz before they can even read in your forum, copy the plugin code from newthread_start and create new plugins using forumdisplay_start and showthread_start as the hooks with the same source code.
I haven't tested that, but it should work. |
gr8 concept!! May come real handy in really big forums. You are on a roll Amy.
|
I installed it but if I click on edit forum there is nothing where I can enter a Quiz ID or anything?
|
I love this idea and can definitely put it to use :D Nice one, Amy!
|
Quote:
|
Oh cool, I can use this for my Adult Section and try and recreate that old "Lesuire Suit Larry" feel to getting access *g*
|
Quote:
|
Just to show an example of where it works... on a metaphysical/paranormal site I run, we have areas for more advanced things. Using as an example, the craft of the witch, for beginners we have an area where they can read up and ask questions on absolutely everything you need to get started, but we also have an area for those people who have been part of the Craft for many years. Now it's very hard sometimes to know how much someone really knows, so this is where Amy's idea comes in extremely useful to me! We can now add a "quiz" that people have to pass - holding the limited knowledge needed tob e able to access the forum.
|
Quote:
Tell me if you have any idea why it doesn't work for me, please. |
Kru, Try it now. I accidentally added one of the plugins to a different product with a smiliar name. Download the new xml file and install the product. It should work now :)
Sorry about that one. Amy |
I've just downloaded it and installed it, and getting the same problem... no option in edit forum :)
|
The problem seemed to be in the import of the product file. It did not work right. I redid the product on RC2 and have uploaded it here for you. I successfully uninstalled my product and installed this one; so cross your fingers.
Amy |
I tried it on RC1 without success, got an error message flash up.. unfortunately too quickly to read LOL... am going to upgrade to RC2 in the morning, so will retry then :D
Edited to say:- Ignore me... I'm getting tired... just did it again and works perfectly!!!! :D |
grrr lol back again... when I try to save a forum without any quiz ID, I now get an error:-
MySQL Error : Unknown column 'quizid' in 'field list' Error Number : 1054 |
Drats. Back in a bit.
|
ok. Try now. If it makes you all feel any better, I just accidentally wiped out 3 days of work because a product had a similar name.
|
Quote:
Edited to say:- WOOHOO!!! you are so awesome! :D worked wonderfully. |
Perfect works, now. Thank you very much. :)
|
I get missing phrases...
'quiz_not_taken' Were we meant to add these ourselves? |
Quote:
Yes, after choosed a Quiz for a forum and wanted to test it I got the same error: Could not find phrase 'quiz_not_taken'. :( |
how can we generate a quiz?
|
That's a question for you to ask in the Inferno Quiz support thread. It's out of scope for support for this mod, sorry.
|
Quote:
When I try to post in the forum I have a quiz for I get "Could not find phrase 'quiz_not_taken'." And then when I fail a quiz then tried to post I get "Could not find phrase 'quiz_failed'." Does anybody have the solution for this? :ermm: Thanks. |
quiz_not_taken needs to be filled in with a phrase, so go to phrase manager and create a phrase, and that solves the problem.
|
Quote:
I went to the phrase manger, add phrase and put ?quiz_not_taken? as the varname and adding a little text to the text box. Saved, then went to the forum and it still said the phrase cannot be found. Am I adding the phrase wrong or something? :o |
Quote:
|
Would it be difficult to make the test work as a usergroup promotion? Anyone want to do this for money?
Thanks, Lance |
Will this work in 3.5.3 ? if not any plans to make it for 3.5 ?
|
As far as I know it still works. Try it and see.
|
Quote:
Thanks for your time. |
Sure, you could do it. But, I will not be doing it as I lack the time and do not need it for myself.
|
Great hack! One question though. COuld it also be made, so that a person has to pass the quiz, before he/she is allowed to register on the forums?
In other words, guests need to pass the quiz, before being allowed to register on the website. |
Quote:
Is it possible to have the quiz pop up as part of the registration process? Cheers, twobob |
I figured out part of the phrase dilemma. You need to add the phrases "quiz_not_taken" and "quiz_failed" to the Front-End Error Messages category in order for them to work. It will not work just adding them to GLOBAL.
Now that I have those phrases showing up, it won't display the $foruminfo[score] nor the link to the quiz. Any suggestions? |
Quote:
|
I really like this mod, but would it work for vB 3.6.8, or better yet on 3.7.0?
I would greatly appreciate if you could possibly remake the mod so that it would work on the newer versions. Thank you. |
Indeed. This is a nice hack. It would be nice to see a upgrade to 3.7
|
Does anyone have this working on vb 3.7?
Nothing shows up in the forum manager. |
Does anyone know how to get this mod working on vb 3.7?
|
All times are GMT. The time now is 04:43 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|