SMF Support > SMF 1.1.x Support
Need info on setting up site with reg, logins, and tracking--Major NOOB
(1/1)
cathig:
I'm creating an online training course as an assignment for a college class. I'm going way overboard in doing this all on my own instead of using Blackboard (which has all the logins and a bulletin board and tracking). I find Blackboard unfriendly and I have no control over that. So if I create my own, I can make it friendly. The course is due Wednesday. I don't expect to have everything functioning by then, but I would like to be able to explain how it all will work with many less looming gray areas.
I have on my machine:
MySQL
PHP
Simple Machines
Dreamweaver MX
IIS
What I need:
* Simple Machines has all the registration and logon stuff built-in and already coded, right? I want users to register and login before taking my course (so it can remember where they left and what they scored on quizzes and let them know when they log in again), and use that same registration and login for the bulletin board. Is that possible, and if so please point me to whatever I need to read to find out how to do it
* Does every page in my website need to be .php if I want it to say "login" if they haven't logged in and "logout" if they're already logged in? I'm using a Dreamweaver library item for my header on every page, and not using frames. What kind of code do I need to put in the header for it to refer to the database to know if the user is logged in or not?
* Is there a friendly interface for MySQL? I'm really tired of the manual telling me all this stuff to do in DOS that I don't need to do because Windows already did it, but I haven't even gotten to a point of knowing where to make a new database, much less tables and defining relationships.
I think that's enough for starters. I appreciate any and all help, suggestions, and redirects to applicable documentation. I'm not looking for hand-holding, just to be pointed around the snake pits.
souleman:
The best way (imho) would be to use the SSI.php file. look at ssi_examples.php and ssi_examples.shtml in your forum directory to see how these files can be used. [Unknow] has a good tutorial someplace on using SSI to track if a user is registered (![is_guest] or something along those lines).
There are quite a few different programs to access MySQL databases. phpMyAdmin is probably the most common one for remote administration.
[Unknown]:
Yes, I can help a lot... and yes, everything does have to be .php.
-[Unknown]
Tyris:
definately get yourself phpMyAdmin ... it makes viewing and editing your database a breeze.
for stuff regarding the linked login...
you'd probably wanna add a new field to the members table for SMF that contains their current quiz question or whatever... and one for results etc...
As far as hooking it into the login... I think the SSI has an "is_logged_in" kinda function which would be very useful...
Navigation
[0] Message Index
Go to full version