TinyPortal

Development => Block Codes => Topic started by: SOcRatEs on August 15, 2006, 06:43:58 AM

Title: TP Quiz/Survey snippet
Post by: SOcRatEs on August 15, 2006, 06:43:58 AM
My 1st snippet!
TP Quiz/Survey
DEMO (http://www.my-yardsale.com/quiz.html)
Add a Center/frontpage block
copy all code from the attatched txt and paste into the body of block.
Code is commented and very easy to customize.
onclick-submit will show results in a popup window
Have fun! ;)
Title: Re: TP Quiz/Survey snippet
Post by: londonhogfan on August 15, 2006, 03:21:41 PM
very cool.  Thanks for doing it.

I will probably use that on one of my sites.

----------------------------------------------------

What would be even better would be a way to show what members have scored.  Keep everything in a database.
Title: Re: TP Quiz/Survey snippet
Post by: akulion on August 17, 2006, 12:21:35 AM
nice work :D
Title: Re: TP Quiz/Survey snippet
Post by: SOcRatEs on August 18, 2006, 10:35:16 AM
A new version Quiz/poll/survey
Self validating javascript/html.
No php mysql (yet)
Demo (http://www.my-yardsale.com/poll/quiz.html)

Very easy to customize and useful in right/left blocks

2 versions instructions included
1. emmbeded javascript, pollquiz.zip for use with TP
2. serverside script, pollquiz2.zip

Title: Re: TP Quiz/Survey snippet
Post by: navjotjsingh on September 06, 2006, 08:25:21 AM
Its still basically a quiz block..can it be converted into a poll block with replies stored in the db.
Title: Re: TP Quiz/Survey snippet
Post by: SOcRatEs on September 06, 2006, 10:05:53 AM
I think this is what you want
http://www.tinyportal.net/smf/index.php?topic=5679.0 (http://www.tinyportal.net/smf/index.php?topic=5679.0)
Title: Re: TP Quiz/Survey snippet
Post by: softtouch_ph on February 20, 2007, 03:00:39 AM
Quotecopy all code from the attatched txt and paste into the body of block.

WHERE is it?
Title: Re: TP Quiz/Survey snippet
Post by: G6Cad on February 20, 2007, 12:55:05 PM
This is probably one of the things that got lost during move from one host to another.
The attachments to a lot of posts got lost during the move.
Title: Re: TP Quiz/Survey snippet
Post by: softtouch_ph on February 20, 2007, 02:22:02 PM
Oh damn... I was looking for a quiz code... I just wanted a simple code which displays 30 questions with 3 possible answers for each and just displays how many of the 30 are correct. Maybe anybody has this script still...
Title: Re: TP Quiz/Survey snippet
Post by: SOcRatEs on February 20, 2007, 09:02:20 PM
Sorry for delay...had to find the files!!
See re-attachment's on this post
Title: Re: TP Quiz/Survey snippet
Post by: akulion on February 20, 2007, 09:25:36 PM
no its too late, we arent talking to u now :P
Title: Re: TP Quiz/Survey snippet
Post by: softtouch_ph on February 21, 2007, 12:58:47 AM
Quote from: SOcRatEs on February 20, 2007, 09:02:20 PM
Sorry for delay...had to find the files!!
See re-attachment's on this post

This is great! Thank you so much!
Title: Re: TP Quiz/Survey snippet
Post by: SOcRatEs on February 21, 2007, 01:17:32 AM
Quote from: softtouch_ph on February 21, 2007, 12:58:47 AM
This is great! Thank you so much!
No problem!! ;)
Quote from: Aku on February 20, 2007, 09:25:36 PM
no its too late, we arent talking to u now :P
I've noticed no one talking to me for the last several months....   :'(
I am still a great fane of TP & SMF!! but mostly the folks here @ TP.
I will try to re-earn speaking status! ;)
Title: Re: TP Quiz/Survey snippet
Post by: akulion on February 21, 2007, 10:08:34 AM
lol ur never around so we dont get to speak to u :P

but loved ur F1 menu :up: thats was a hit
Title: Re: TP Quiz/Survey snippet
Post by: Rus on August 28, 2007, 05:49:53 AM
This looks kinda cool.  Would it be possible to get the answers to generate a response depending on how you scored?