January 6, 201115 yr Hi, This is my first post here, the site looks great. I have a problem that is a little out of my skillset and was wondering if anyone could help. I recently constructed quite a large site for my local golf club. They seem happy with it and its going well. In 2011 however they have asked me if I can put a 'members only' section on the site that is accessed by club members from the from page and requires them to register and sign in using a username and password. I have gone through the net looking for how to do this and it seems so complicated to me, I was wondering if anyone could point me in the direction of an easy-to-do method of achieving what Im looking to do. I am reasonably proficient with website construction, all self taught but this has me stumped. Any help would be greatly appreciated. ~~ Andy Whitham ~~
January 6, 201115 yr If you know any script language you can do this: -create a XML file with users and passwords, random ones. -make 2 .php files, one with the login+password+submit buttons comparing the data with the xml, if the data matches you access the privileged section (.php number 2). This won't take more than 2 days and is pretty straightforward. The only problem is that anybody with enough knowledge can access that section with no problems but because it is just a golf club with not more than ~100 people there shouldn't be any problem.
January 7, 201115 yr Author Hi anon, Thanks for your reply. Im not exactly 100% sure what you mean. Im okay creating my own html files, but XML & PHP are relatively new to me so Im not sure how to go about doing this. Bit of a tricky situation but I really do need to achieve this 'members only' section on the site. Kinda stuck here.
January 7, 201115 yr Another option is to download forum software from, say, phpbb3 http://www.phpbb.com/ where all the files are installed automatically and you set up permissions and board titles, etc, using the admin controls. Then just link to it on the homepage. You can get themes or skins for forums but if you want it to match your website design exactly you could use Wordpress.org which is more complicated but more flexible.
January 8, 201115 yr If you are looking at a single page you can potentially create a single page which deals with all of the login and logging out, it would be a little complicated if you wanted to make it secure. But here is a great resource I have used in the past... http://www.phpeasystep.com/phptu/6.html It is a little old though, so might need to update it a little bit. Let me know how you get on
January 8, 201115 yr Author Hi Epic, Many thanks for your reply, I will certainly take a peek at this. Since my original posting I am trying out a script someone suggested , but if the one your suggesting is easier and more 'useable' then I will definately use it. Much appreciated ~~ andy ~~
Create an account or sign in to comment