Jump to ContentJump to Navigation/Login
` ` ` ` ` `

[Register]

Occasional ATutor release updates


(9 guests in past 15 min.)

Access Understanding Web Accessibility to learn about accessibility, or Register to take the course for FREE.

Support Forums

ATutor Support

Optional features in ATutor


You must be signed-in to post.

AuthorSubject
  Page: 1
wesdale
Subject: Optional features in ATutorQuote this post in your reply
Hi,
I want to use ATutor for some school kids but I know what they are like. Is it possible to restrict access to some of the functions unless they have an account? For example, I wouldn't want kids to create their own accounts as I can imagine some of the names they would use!!

Also, if you go in as a guest, you can change the preferences as well.

If you can do restrict access, how do I do it?

Thanks.
Posted: 2004-02-20 15:54:59
greg

Avatar for greg
Subject: Comment out the reg linkQuote this post in your reply
You could comment out the registration link, so only you know where to find the registration screen.
Posted: 2004-02-20 17:31:47
wesdale
Subject: comment out the reg lnkQuote this post in your reply
Greg
I am a complete novice when it comes to PHP and any other programming language. Having looked at the other PHP files I suspect to comment the line out would require me to put a /* at the start of the line - is that correct?

Which file holds the line to comment out- is it login.php?

Thanks
Posted: 2004-02-21 06:03:54
greg

Avatar for greg
Subject: See include/basic_html/header.phpQuote this post in your reply
Comment with two slashes for single lines ( // ) or for a block use a slash asterisk at the beginning and end of the block.

/* this is
a block of
code commented
out */

The register link is in include/basic_html/header.php lines 59 to 63

Also, login.php delete line 157 except for the closing paragrph tag:

· <?php echo _AT('no_account'); ?> <a href="registration.php"><?php echo _AT('free_account'); ?></a>
Posted: 2004-02-21 09:22:11
greg

Avatar for greg
Subject: also pw_reminderQuote this post in your reply
There's also a register link in the language in the password reminder screen. This one will have to be removed by adjusting the associated language through the administrator Language Manager.

variable password_blurb
Posted: 2004-02-21 09:51:23
wesdale
Subject: Subject: See include/basic_html/header.phpQuote this post in your reply
Greg

Worked a treat. I even managed to remove the dots and the spacer bar from the login screen.

Brilliant - Thanks again for you help.
Posted: 2004-02-21 12:19:58
 Page: 1

You must be signed-in to post.