473,749 Members | 2,394 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP forum / external login

Hi *,

I have a a website running for a bunch of people, written in PHP.
Everyone has it's own login, I use some session-based authentication
mechanism and a MySQL database for storing the users / passwords /
.....

Now I'd like to integrate some 3rd-party-forum into this site,
something like phpBB or similar , could also be a more simple one, it
really doesn't matter. But the point is, I don't want that my users
have to login twice, once for my site, and a second time for the
forum. I want to have the forum and my site share the same (existing)
user database.

So I need an (existing), preferably GPL'ed, preferably PHP-based forum
software with some kind of external login (e.g., using cookies, PHP
sessions, $PHP_AUTH_USER, or whatever). Sure, I could hack one, but
isn't there a better solution?

Does anyone of you such a forum? Please let me know...

Thanks,
Egon Schneider.
Jul 17 '05 #1
1 3905
Egon Schneider wrote:
Hi *,

I have a a website running for a bunch of people, written in PHP.
Everyone has it's own login, I use some session-based authentication
mechanism and a MySQL database for storing the users / passwords /
....

Now I'd like to integrate some 3rd-party-forum into this site,
something like phpBB or similar , could also be a more simple one, it
really doesn't matter. But the point is, I don't want that my users
have to login twice, once for my site, and a second time for the
forum. I want to have the forum and my site share the same (existing)
user database.

So I need an (existing), preferably GPL'ed, preferably PHP-based forum
software with some kind of external login (e.g., using cookies, PHP
sessions, $PHP_AUTH_USER, or whatever). Sure, I could hack one, but
isn't there a better solution?

Does anyone of you such a forum? Please let me know...

Thanks,
Egon Schneider.


I found instead of creating a site and implementing a forum, it's easier
to use the forum and implement the site around it. For example, one of
the sites a buddy and I we were working on (www.gmtuner.com) has a
phpbb-driven set of forums. Using the same cookies that phpbb uses, I
am able to authenticate users on the rest of the site. If they login on
the site, they're automatically logged in on the boards. If they log
out on the boards, they're automatically logged out on the remainder of
the website. The reverse also holds true.

I'm sure there's a way you could 'hack' phpbb to use your existing users
database, but I think it'd be far easier to set up phpbb, and copy the
logins and passwords (and whatever else is necessary) into the phpbb
users database.

-Jay

Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3483
by: Lance | last post by:
I need help with having a Login Form on a website that goes to a member only section, to beable to check my forum database so that when people register, they register on my forum, and at the same time register in the form for the member only section. Also, when they login to the website form, they also login to the forum. I am using Invision Forums 1.2 BETA if that is necissary information.
10
1933
by: Pasquale | last post by:
hello wverybody... i've got a terrible matter with JS my browsers (either IE and NN) load the external scripts uncorrectly...they load the files from the half part of them and not from the beginning, so my scripts don't work giving syntax errors. can you give me a solution?
0
1183
by: Brian | last post by:
Hello, I usually login a forum and post some messages. I can't directly post message because the forum ask me to login first. I guess it need some session information. Now I want to program a C# WinForm to do it. But I heard that the session controll in WinForm and IE are different. Is it possible that I let my WinForm app login first and then post my messages? Thanks.
2
1255
by: MotorcycleIke | last post by:
I tried using WebRequest, but I am unable to simply redirect to an external aspx site and supply the userid and password and press their login button. I got the webrequest to populate a webresponse and copy the website onto our server. That doesn't do any good. What I need to do is get the viewstate, add the login information and postback to the external site. The password needs to be encrypted or hidden.
1
1748
by: ABC | last post by:
I have a new project which is a web site used by Internal and External users (login required users) and public users (no login required users). On internal users, all users login network using Windows or Forms authentication login. External users will use Forms authentication login. Both authentications would be cookie or cookieless. How to config the web.config file meet the requirements?
0
1417
by: dba123 | last post by:
OK, maybe I can get some help here, this is a last resort. I know I'm asking a lot by having you download and install this but it's really not that bad and I've had it. Their support has sucked, documentation poor, application doesn't work with authentication by what I can see, and they can't tell my why their own script doesn't work. I cannot get my custom .ascx page to work. What should happen is that the test user I created (you'll...
11
22372
by: fdu.xiaojf | last post by:
Hi, I just want to send a very simple email from within python. I think the standard module of smtpd in python can do this, but I haven't found documents about how to use it after googleing. Are there any examples of using smtpd ? I'm not an expert,so I need some examples to learn how to use it. Or maybe there is a better way to to this?
8
3284
by: princei2007 | last post by:
I want to creat a weblogin client using php to login to this forum or someother. but i am gating with the page that u have to login befor precede. I am new to curl so cannot figure out where the problem is. <?php $usrname="xxxxxx"; $password="xxxxxxx"; $loginURL="http://www.thescripts.com/forum/login.php?do=showlogin";
2
5367
by: Debbie | last post by:
I have always used VBScript but now need to convert my syntax to JavaScript. In an external file, I have a function that is called when a user clicks a button on a login page. The function checks the format of data that has been entered by the user and makes sure that all required fields have been filled out. On the login page, between the <head></headtags I have the following syntax: <script language="javascript"...
0
8832
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9566
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9254
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8256
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6800
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6078
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2217
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.