RE: PHP Script to open phpBB2 accounts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As I said, I could but then I would be bypassing all of the phpBB logic
And chances are that I may miss something. 

-----Original Message-----
From: Jeremy Schreckhise [mailto:prog@xxxxxxxx] 
Sent: Thursday, April 20, 2006 4:34 PM
To: 'John Nichel'; php-general@xxxxxxxxxxxxx
Subject: RE:  PHP Script to open phpBB2 accounts

Why couldn't you use your login (weberdev).  I.E. when a user creates an
account you also push this data onto the phpBB2 db.  Find where phpBB is
creating a user, analyze the encryption method use, modify your login to
create both entries.


Jeremy Schreckhise 

-----Original Message-----
From: John Nichel [mailto:john@xxxxxxxxxxxx]
Sent: Thursday, April 20, 2006 9:11 AM
To: php-general@xxxxxxxxxxxxx
Subject: Re:  PHP Script to open phpBB2 accounts

Weber Sites LTD wrote:
> Yes, both sites are on the same server but weberdev was built by me 
> And weberforums is phpBB2. No sense in writing my own forums application.
> 
> WeberDev is the main site and has it's own user base and phpBB2 is 
> Pretty complex and I didn't have the time to create a single logon. It 
> Will not be trivial and will need to be maintained with every phpBB2 
> Upgrade.
> 
> All I want is to open a phpBB account when someone opens one On 
> WeberDev.
> 
> I don't agree that php-general is the wrong place. I looked in the 
> phpBB forums for this and found something that doesn't currently Work.
> On this list there are many php developers that use phpBB So why not 
> ask them if anyone already did what I did.

Just looked?  You could have asked.  Wrong/right isn't the proper term. 
  phpBB forums are the *best* place to find answers about phpBB.

> It's not like I'm asking anyone to do the work for me. I devoted Years 
> of my time on WeberDev for the PHP community (it's my Hobby and not my 
> main workplace) and all I asked was to know If someone has created a 
> specific PHP script. Btw, I got several Off line emails asking me to 
> share the solution if I get it.
> 
> Anyway, instead of all of these emails, I'll try to do it myself And 
> hope someone contacts me soon.
> 

The solution is really quite simple.  You have two choices to maintain the
phpBB code base.  1)  Rewrite your login to use the phpBB user accounts, or
2)  keep both sets of user tables, and write a few functions to call both
the phpBB and your user handling code when they're needed.

--
John C. Nichel IV (is going to start plonking top posters) Programmer/System
Admin (ÜberGeek) Dot Com Holdings of Buffalo
716.856.9675
jnichel@xxxxxxxxxxxxxxxxxxxxxxxxxxx

--
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux