Home   News  Product reviews  Website reviews  Forums   Competitions  Subscribe 


Web Building >> Web design & build
 |  Print Topic
Jump to first unread post. Pages: 1
Scorpian04111986
new user


Reg'd: Fri
Posts: 5
Setting up a multiple login interface
      #384637 - Fri Feb 15 2008 09:56 PM

Hello im new quite new to the more complex website building but have made a few simple ones.
The main one of these is one for my Scout Group and is at www.15thtorbay.150m.com.
The problem i have is I have set up a page for Group members etc that is password protected so only members of the Group or local "Scouters" can view the details of the other members i have already read a few forums and successfully set up a single username and password interface using HTML code in the following way

"<script language="javascript">
<!--//
/*This Script allows people to enter by using a form that asks for a
UserID and Password*/
function pasuser(form) {
if (form.id.value=="Username") {
if (form.pass.value=="Password") {
location="MembersArea.htm"
} else {
alert("Invalid Password")
}
} else { alert("Invalid UserID")
}
}
//-->
</script>

<center>
<table bgcolor="white" cellpadding="12" border="1">
<tr><td colspan="2"><center><h1><i><b>Login
Area</b></i></h1></center></td></tr>
<tr><td><h1><i><b>UserID:</b></i></h1></td><td><form name="login"><input
name="id" type="text"></td></tr>
<tr><td><h1><i><b>Password:</b></i></h1></td><td><input name="pass"
type="password"></td></tr>
<tr><td><center><input type="button" value="Login"
onClick="pasuser(this.form)"></center></td><td><center><br><input
type="Reset"></form></td></tr></table></center>"

Obviously ive removed the username and password but i woul like to change it so i can have multiple logons with passwords (preferably one for each member ogf the group with online access about 20

any help on this would be greatly appreciated


Post Extras: Print Post   Remind Me!   Notify Moderator  
ianm
regular


Reg'd: Fri
Posts: 345
Loc: Colchester
Re: Setting up a multiple login interface [Re: Scorpian04111986]
      #384835 - Sun Feb 17 2008 12:34 AM

This idea may sound like a bit of a cop out but this will fit with your needs perfectly, there is an amazing CMS out called MODx, it classed as a CMS framework more than just a plane CMS you need to read their site for all the info, the secret on installation is to tick the box saying something like install demo site, once done you have a 100% ready to go site, all you need to do is set up your existing template which is all done from the admin / manager section.
It may take a little while to work out how to do this but stick with it as I think this will be exactly what you need as people can log in as webusers and you can set permissions as to what pages they can or cant view.
Here is the link to download it and find out everything you need to know about it
http://www.modxcms.com/


Post Extras: Print Post   Remind Me!   Notify Moderator  
Zippy_Brown
regular


Reg'd: Fri
Posts: 88
Loc: /dev/null
Re: Setting up a multiple login interface [Re: Scorpian04111986]
      #385128 - Mon Feb 18 2008 09:35 PM

Do not use JavaScript for this purpose ever or your website WILL GET HACKED.

Anyone can simply view your HTML source code (if your JavaScript is embeded) or view the JavaScript file (the file name is in the HTML source), and it will clearly display the username and password in plain text!!!!!

BE WARNED. It's not a case of your site might get hacked, it's more a case of how soon will it be?

You MUST always use a server side scripting code for this purpose. Server side scripts are run on the server and not downloaded to each visitors computer. This way, no-one can view the source of your scripts. Try PHP for a linux server or ASP for Windows servers. If your host does not offer these, upgrade your hosting or move hosts.

--------------------
Zippy


Post Extras: Print Post   Remind Me!   Notify Moderator  
predator
regular


Reg'd: Sun
Posts: 541
Re: Setting up a multiple login interface [Re: Zippy_Brown]
      #385250 - Tue Feb 19 2008 06:50 PM

One option might be to install forum software such as phpbb as that lets you have public forums and/or private ones and comes with all the multiple login elements and security elements that you'd need

Post Extras: Print Post   Remind Me!   Notify Moderator  
Scorpian04111986
new user


Reg'd: Fri
Posts: 5
Re: Setting up a multiple login interface [Re: predator]
      #386385 - Thu Feb 28 2008 11:59 AM

how would i go about that ive downloaded something from the website but im not sure how to set it up and there doesnt seem to be any instructions

Post Extras: Print Post   Remind Me!   Notify Moderator  
predator
regular


Reg'd: Sun
Posts: 541
Re: Setting up a multiple login interface [Re: Scorpian04111986]
      #386417 - Thu Feb 28 2008 05:06 PM

phpbb does come with documentation, plus installation guides are available at www.phpbb.com

Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1

Rate this topic

Jump to


Extra information
0 registered and 12 anonymous users are browsing this forum.

Moderator:  putasolutions, Joe_London, greysts, bricat, Nanook, Hello_There, John_McKenna, Mouse, TheFatControlleR 


Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      Mark-up is enabled

Rating:
Topic views: 0

Contact Us | Privacy statement Main website