![]() |
Quote:
However, if so, the normal members should only be able to add quizzes, and only be able to manage their own quizzes. That makes this a completely different hack and is not easy to do. |
Quote:
Want to make a Quizzes CP? Note that they will still be able to access the Mod CP since they're moderators. But if you don't tell them about the Mod CP they might not be avare of its existance. I believe we could create a new table in your database, create a new usergroup and give that usergroup the ability to view the quizzes cp, modify the global.php located in your /quizzes directory to authorize this usergroup to be able to view the quizzes cp but I have no idea to do that correctly. At least it would take some time for me to figure out :p Anyway, follow these instructions to create a Quizzes CP: 1. Create a new directory under your forum home called "quizzes" (http://www.yoursite.com/forum/quizzes). CHMOD it to 755. 2. Download the following files from your /mod directory to a temporary folder: admin_quiz.php, cp_logo.gif, index.php, global.php. 3. Open the index.php file you just downloaded and FIND: Code:
vBulletin Moderator's Control Panel Code:
vBulletin Quizzes Control Panel Code:
<form action="user.php" method="get"> Code:
Moderators' Control Panel Code:
Quizzes Control Panel Code:
Welcome to the vBulletin Moderators' Control Panel Code:
Welcome to the vBulletin Quizzes Control Panel Code:
<?php Code:
Control Panel Home Code:
Quizzes CP Home Code:
// ************************************************* Code:
// ************************************************* Ask your new quizz moderators to point their browsers at http://www.yoursite/forum/quizzes.index.php All done. :) Hmm...maybe I should include this in v1.1 of my add-on ;) |
So if I wanted to user usergroup - can I simply switch that command and set it as my normal members usergroup?
|
Quote:
|
Oh yeah, I forgot: here's a screenshot that shows what the instructions above creates. :)
|
If I remove the 'edit' and 'approve' and 'dissaprove'?? Surely it's possible - pleeeeeeeeeeeeeeeeeeeeeeeeeease? :D:D:D :banana:
|
Tim, if you do that, then you would have to aprove the quizzes yourself (or someone you designate)...but that doesn't solve the problem that now ALL members can see the correct answers. Being curious by nature, I'm sure you'll have a lot of people who want to check out this new little feature...and of course, they'll probably want their name to appear as a top quiz taker...and use the answers they've just obtained to do so.
I offer Forum Points to my top scorers...so it's not a good way to handle this on my personal forum. But if it's just something for fun (which it all is for each of us of course), then you'd be able to do that...but it may create more problems that you haven't thought of. And Martin, thanks! I'm going to try that out tonight. I'll let ya know how it works. And you should definately include that "option" in the new version. I like it like this, because my mods are busy, I'm busy, and the quizzes is just something "extra" I'm giving my community. We don't always have time to keep up w/ all the submitted quizzes. And I like to have my community actually participate in a lot of the stuff we do. This is just another great opportunity for them to do that. :) |
Hi Martin. Many thanks for a great add-on! Of course, I do have a little request, because no good deed goes unpunished! :D I was wondering, is it possible to tweak this so that we'd see a link to the most recently added quiz, rather than the easiest/hardest quizzes? Sorry for being a nag!
|
Quote:
Yes, that's possible. I might have time to look at it later today/tonight. :) |
Many thanks, Martin, that would be excellent! It'd be an easy way to let people know when there's a new quiz. :)
|
All times are GMT. The time now is 01:46 AM. |
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:
|