Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 23rd, 2024, 11:51 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Returning Student Login
PostPosted: November 4th, 2008, 10:29 pm 
Offline

Joined: November 4th, 2008, 6:36 pm
Posts: 29
I put this in basic first but have been informed that it is not a
basic question.

I want to make a quiz type program that will allow people to enter their name (so the program is user friendly) and then store this so if the user does not finish the full quiz and logs out/closes the program they can log back in on their return and their score and previous information is recovered.

I would like their name to appear as a hyperlink on their return to enable quick selection and log in.

So far I have made a quiz, the users name is stored in a variable and the score is calculated but thats as far as my knowledge will allow me to go.


Top
 Profile  
 
 Post subject:
PostPosted: November 5th, 2008, 2:21 am 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
Legin,

There are several ways you might construct what you want. If you're willing to work building this yourself, the link below may help. It is also possible someone here will offer a more complete solution.

This could be just 1 piece of the puzzle. Using Opusscript. Sets up a way for user to enter Text Input, then presumably you would have a Save button to write that to a file. On return to the Pub, either automatically or with a button action, Read the saved file back in.
so this would have to be modified or tailored to fit your specific scenario.
viewtopic.php?t=2688&highlight=text+input

As an added suggestion (for your UserName is a Hyperlink), you could Read a master file (of accumulated User-names) into a ListBox. The Listbox automatically makes the content 'Clickable'. Can set that 'selection' into a variable (part of Listbox properties).

Hope that helps.

_________________
_good things come to those who wait(0)_


Top
 Profile  
 
 Post subject:
PostPosted: November 5th, 2008, 9:30 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
The best place to start for simple databases is are the tutorials here:

viewforum.php?f=13

These cover using the database actions but if you are looking to develop more complex databases then I'd stick with scripting as it offers greater control.

Be aware that depending on how complex your quiz, will influence the amount of work required for saving and restoring a session to it's previous state. What might seem simple can be a lot of work to achieve this.

E.G A quiz that simply has text inputs can simply read / write variables to the database but a quiz that uses lookups, drag and drops or other complex answer systems will require that these set once the data as been read from the database.

With this type of project, we always plan on paper what sort of questions are used, the data that would need to be stored and how we would use that data to recreate a users initial answer before starting.

Mack.

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject:
PostPosted: November 5th, 2008, 10:06 am 
Offline

Joined: September 2nd, 2008, 10:16 am
Posts: 8
I've included a sample of a technique that might be useful for some of what the OP wants to do.

The technique shown in the attachment will take a student who uses the log on process back to the last page viewed before closing/exiting the pub.

This technique makes no allowance for storing and retrieving scores, although it would not be difficult to incorporate that feature.

If you want to use or modify it, please go ahead and do so. Before you start, make sure you check all the page and object actions, particularly the simple scripting. Carefully copy the variables into your publication.

Please be aware that I have neither the time nor the interest in becoming involved in detailed explanations on how to use this template.


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 27 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group