PDA

View Full Version : Minimum posts to view quizzes


Oblivion Knight
05-22-2003, 10:00 PM
Minimum posts to view quizzes

Hack Information
This hack is based on Mist (https://vborg.vbsupport.ru/member.php?s=&action=getinfo&userid=4588)'s previous "Minimum posts to view ..." modifications, for the quiz modification by TWTCommish (https://vborg.vbsupport.ru/member.php?s=&action=getinfo&userid=422).

What does this hack do?
This allows you to have an option in your admin cp where you can define a minimum number of posts that a user must have to view the quizzes. If the user doesn't have enough posts they will get an error telling them they need so many posts (which you defined in the admin cp) to view the quizzes.

Why install this hack?
If you don't have the original quiz modification, you don't need to read any further into this topic. If like me, you're having problems with members simply registering to take the quizzes (and in extreme cases, re-registering to get a top score) then this modification can be used to help prevent this.

- OBK.

Dean C
05-23-2003, 05:56 PM
Ummm you could have asked me before you simply changed a few lines to my textfile and its filename ;)

- miSt

Oblivion Knight
05-24-2003, 05:43 AM
I'm sorry Mist.. :o

I was going to request the modification from you, but instead I decided to change some coding around myself and it seems to work ok and therefore thought I'd share it.

Erwin
05-24-2003, 06:37 AM
Always ask for permission, to be polite, if you take someone else's code and use it. :)

Dean C
05-24-2003, 11:52 AM
Well i don't mind as i like people to learn from my code as i have done in the past but in future please just ask ;) otherwise you end up in my bad books hehe :)

- miSt

kaotic
06-19-2003, 02:29 AM
Nice modification. This problem was especially bad in my case, as users are rewarded credits for answering correctly. I wish I had found this add-on sooner.

BiZ
06-26-2003, 01:21 AM
dont be sorry in taking mist's code. he sucks big donkey ass when it comes to coding. hahahahaha

Alien
06-28-2003, 04:44 AM
Nice work, thanks a bunch.

-Jason

Oblivion Knight
08-04-2003, 02:17 PM
I have asked a moderator to move this thread to Full Releases since there have been no reported bugs in the good couple of months it has been released now.

Apologies to Mist again for not asking for his permission first.
Next time (if there is a next time) I'll be sure to ask ;).

BiZ, weren't you taught that if you don't have anything nice to say, don't say it at all..?

Glad a few people have found this modification useful.. :)

Airs
08-09-2003, 12:27 AM
Hey great hack i installed and everything but i cant find where the setting to change wether its 0 or whatever posts help?

Oblivion Knight
08-09-2003, 12:06 PM
The minimum posts for the quizzes option should be shown at the bottom of the quiz options in "vBulletin Options". If it isn't shown, you didn't run the query successfully.