![]() |
Quote:
Any suggestions? |
I think you're adding questions incorrectly. When you go to the "Add Questions" page, you're supposed to choose a quiz to add them to, and then add two other things: the number of questions you want to add, and the number of answers each should have.
However, a lot of people seem to enter the ACTUAL question in that box...which doesn't work, of course. :) |
Great hack, Chris! So much fun for our visitors. I've asked this before on the "add-on" thread, but haven't heard anything back yet -- maybe you'll be able to help me. :) I'd love to be able to add the title and link of the most recent quizzes near my "who's online" area. Something like:
---------------------- Newest Quiz: Created 08/23/02 by Kira "How many vBhackers does it take to screw in a lightbulb?" ---------------------- Can anyone think of a way to do this? Thanks again for an amazing job. :bandit: |
Quote:
I really feel stupid now. Thanks TWTCommish, all this time I've been trying to figure out why it won?t work and it was working, just I entered the questions in and answers instead text of numbers. Thanks man and sorry for the inconvenience. |
Chris, I installed this a while back, but it didn't work right for our forums. So I removed it. Or thought I did. I didn't undo the queries run and now that's interefering withsomething else. Is there a way to undo these queries? (from the vBinstall file)
|
No, there's no uninstallation built into it...what's it interfering with now?
|
Well, I've tried installing the custom post prefix hack. It seems the field id's are the same. For instace, when I run the first three queries from the CPP hack, it tells me error - duplicate id number. After completely installing it, under the CPP section in the control panel - I have the quiz options. *hehe* So that's what I'd like to remove.
|
Ah, I see. Well, that's a little tricky...the command wouldn't be the same for all boards, if they've installed some hacks. If you trust me enough to let me into the backend, I could zap 'em for you...or I could walk you through it on MSN or something of the sort. Just let me know.
|
TWTCommish: This hack looks great, and I'm planning to install it this weekend. But, (of course) I have a question.
We run a forum geared to reality TV. With Survivor, etc. starting up, we kind of wanted to run a "Survivor picks" game, where people answer quiz questions (who will win the reward challenge, etc.) where we don't yet know the answers. The idea is, they'd take the quiz, and when the show runs, we'd plug in the answers and the members who took it would be scored at that point. I have a feeling this would be a MAJOR change, and so I'm just asking what you thought of something like that. I'm no PHP expert, I know just enough to get into trouble. Thanks again! As-is, it'll be nice for some of our other discussion topics. John www.realitytvtalk.com/forums |
Quote:
|
has the issue with the templates not being created been resolved ??
- Mist |
Hi
I got the quiz working on my board but after I ran the install file 3 times. This was due to not using the default template set. Anyways, got it workin but there are now 3 entries at the top of the admin cp for [quiz options] along with 3 sets of options to go along with those links. How can I get rid of them? Thanks! Odil |
Question: When I added a new Quiz, I neglected to put in an image. Is there any way I can go back and add an image to an already-made quiz - there doesn't seem to be any option in the 'Edit Quiz' page?
Fantastic Hack, BTW. |
Quote:
Code:
makenavoption("Add","admin_quiz.php?action=addquiz","|"); |
Quote:
Code:
<img src="http://www.yourdomain.com/forum/images/pic.gif"> |
No you have missunderstood me. See attached pic. I have 4 of these at the top when I only need one.
|
Ah, I see. My bad, I didn't read it carefully enough :)
To get rid of it, fire up phpmyadmin and remove the extra entries in "settinggroup". |
Quote:
|
That's funny, because I'm using it myself.
|
http://forums.shoresofvalinor.com/quiz.php
And I've definitely got the image installed where the code points to. |
jediguy, only registered members can view your quizzes, so post a screenshot instead. :)
|
OK:
http://www.shoresofvalinor.com/images/screeny.gif I also tried uploading it to the vBulletin images folder and then putting: Code:
<img src={ imagesfolder}/images/[imagelink]> |
Try vB code
|
That did the trick. Thanks!
:) |
You're welcome. :D
|
Nice job. Was able to fix all problems by reading through the thread. THANKS for the hard work!
|
Working on 2.2.7. Thanks again! :)
|
I was wondering if someone could help me with a fix or suggestion for this.
In one of my quizzes I added html into the question to display an image, sort of like "what is the image above". In my Admin screen, the images show up fine and the html is displaying correctly, however if I go to take the quiz the images won't show up, just the html code shows up. Example: If I typed in this Quote:
Is there any way I can change this. Cheers Mike |
It's not parsing the HTML because your board is apparently set not to accept HTML. If you want it to accept HTML, find this line:
$quiz[description] = bbcodeparse(stripslashes($quiz[description])); Replace it with this: $quiz[description] = bbcodeparse(stripslashes($quiz[description], X)); Replace the "X" in that line with the forumid number of one of your forums which is set to parse HTML in posts. That should do it. |
Thanks for the quick response gave it a try on got this
Quote:
Quote:
|
D'oh. I wasn't paying attention. Use this:
Code:
$quiz[description] = bbcodeparse(stripslashes($quiz[description]), 80); |
No luck.
There is no error displayed anymore but the quiz still just displays the html source code. I tried using differant forums id's also, all of them allowing html in the posts but no luck. I also tried cleaning out some html codes but still nothing. Any other tips? Mike |
has the issue with templates not being added been resolve chris??
- Mist |
has anyone figured out what the Template problem is? There are 28 pages or so to read through, so I figured I'd just ask to save some time. Basically, my templates are not being created after step 1.
|
Chris - :$ Should I pm you with my info regarding the mixup in quiz/postprefix in the db?
|
Yeah, go right ahead. :) I'll be out most of today, but I'll try to get back to you quickly.
|
But I have not found a way to easily link from the main index of the forum to the quiz.php
I have been running the quiz for a while now, but not many people find their way to the quiz. I think I missed someting, can someone point me in the right direction so I can get people easily to the quiz? Thank you! -JGM http://board.madoshi.com |
Templates > Modify > Expand List > Forum Home Page Templates > Expand > forumhome
Find: Code:
Welcome to our newest member, <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$newuserid">$newusername</a> Code:
<br><br><a href="$bburl/quiz.php.php"><b>Quiz Room</b></a> |
Serious problems with images.
1) The image uploader won't work. It tells me I don't have the right permissions on the dir "quizzes". It is wide open. 2) HTML won't parse. Chris, I tried your fix on the previous page: Code:
$quiz[description] = bbcodeparse(stripslashes($quiz[description]), 35); http://www.hostnexus.com/screenie1.gif 3) I tried vb's [ img ] tag and it gave me a link to the image as in screenie2! http://www.hostnexus.com/screenie2.gif Love to get a fix if anyone has time. A member is busy writing |
Okay, I'm using the image tag, still gives the hyper link, but when you go to take the quiz:
http://www.hostnexus.com/screenie3.gif |
All times are GMT. The time now is 08:42 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:
|