Members Login

He has: 19 posts

Joined: Feb 2006

Hello,

I am curious; how would one link to a database so that a member could sign into the website from an alternative location?

The website I am creating for a friend is going to two portions, paid membership and non-paid memberships. Some areas being public access for all to view and then there is the members only section.

In the members only section, there will be a phpBB2 forum... I am wondering if there is a way to create a signin area at the top of a regular web page so that when they click enter, it signs them into their forum account membership.

Does that make sense? If you go to http://www.okwaho.com/t_zone and look at the top right corner, I have "Registered Members Login", but I would prefer to have a Username: {box} and Password: {box} ENTER and then it signs them into their phpbb2 account and other account features.

Suggestions? Thanks!

Wind to thy wings,
Bryce / SakimaOak

He has: 37 posts

Joined: Feb 2006

That takes some php knowledge.

You have to know how to access databases (not hard) and start sessions (if phpbb uses them, I assume so). Basically, you will have a dual login. One for your regular forums and one for you member's forums. It's not that tough, but it's one of those things that's easier to do than explain. You can probably find someone on scriptlance to do it for $10.

If you would convince a man that he does wrong, do right. Men will believe what they see.
-Henry David Thoreau

He has: 19 posts

Joined: Feb 2006

Hello Michael,

Wouldn't there be any online resources to help out with something like this? I'm not sure what I would search for on Google.com to find something that would help me learn how to do this myself.

The purpose of my creating websites is to learn, as was my decision to join this site. I want to do the work myself so I can benefit in the end.

I appreciate the recommendation but I'm sure there are other options and methods available, it's just going to take some time and research. Thanks for the heads-up though, I really appreciate it.

Wind to thy wings,
Bryce / SakimaOak

He has: 37 posts

Joined: Feb 2006

wisebryce wrote: The purpose of my creating websites is to learn, as was my decision to join this site. I want to do the work myself so I can benefit in the end.

Laughing out loud

That sounds familiar... I have the same attitude, so I can relate. For the average person, though, they just want it done. If $10 can save a hundred hours of research, they will jump on it. That makes sense for most folks.

Here is the php bible:

http://www.php.net/manual/en/index.php

It is a great reference, but not a great place to learn. I learned most of what I know here and there, including old-fashioned paper books. If you are serious about learning php, I recommend "Learning PHP 5" by David Sklar, published by O'Reilly. ISBN: 0-596-00560-1. It is a great place to start! David manages to communicate highly complex ideas with amazing simplicity and clarity.

I'm sure a search for php tutorials will yield excellent results. I use http://www.phpclasses.org/ quite a bit, but the site kind of gets on my nerves sometimes. If you happen across a good, all-purpose learning resource, please post it here. I get these sorts of questions a lot.

Thanks!

If you would convince a man that he does wrong, do right. Men will believe what they see.
-Henry David Thoreau

Busy's picture

He has: 6,151 posts

Joined: May 2001

You can find everything for free on the net, but in saying that sometimes it is easier to just pay.

In your database your need a field, could call it full_mem and you could use either y or n or 0 or 1
PHPBB usees cookies and sessions so you'd just have to add it to that.
Have you tired the phpbb site for a addon for this? I know there lots of addons around

He has: 19 posts

Joined: Feb 2006

Hello Michael,

Quote:
That sounds familiar... I have the same attitude, so I can relate. For the average person, though, they just want it done. If $10 can save a hundred hours of research, they will jump on it. That makes sense for most folks.

Glad you're on the same page as me and were not offended by my response. I am a very stubborn person when it comes down to "having to know something" because I just want to know it anyways. If I can at least taste it, then I'm all good to go, but at least a little sample to quench my thirst for whatever it is I am trying so hard to achieve.

If I'm going to take the time to build it, the least I can do is try and understand it so I can do better to what I've started out with.

Yes, there are a lot of folks that like to take the easy way around things... I from time to time like to cheat and take corners, but I cannot just go and pay someone for something I want to understand and learn how to do myself. Just defeats the purpose behind my goals... Lazy folks I tell you :blech:

Quote:
If you are serious about learning php, I recommend "Learning PHP 5" by David Sklar, published by O'Reilly. ISBN: 0-596-00560-1. It is a great place to start! David manages to communicate highly complex ideas with amazing simplicity and clarity.

You're not the first to have mentioned this book. I purchased it over at Ebay a couple months back, but still have not yet found the time to sit down and read it. I've stumbled through the pages, but haven't focused a good deal on it. Perhaps there should be a starting point for me...

Quote:
http://www.php.net/manual/en/index.php
http://www.phpclasses.org

Thanks for the recommended websites. I've visited the manual before, but never php classes, I will have to give that a shot.

If I do find any more good resources, I'll be sure to post them to the boards with a title specific to the links.

If you happen to stumble across anything relating to such a setup for this, please do inform me. I'm going to pop over to phpbb2 and see if maybe anyone there has some advice to offer.

Again, thank you!

Wind to thy wings,
Bryce / SakimaOak

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.