UBB.Dev
Posted By: Xander UBB/MySql - 02/24/2001 4:55 PM
Hi there,

I just wondered if it was possible to via PHP/MySql resgister members on my site and then have UBB pull the username and passwords from my MySql database. So effectively they have one password to access everything on the site?

Can it be done? If yes, how?

Thanks!
Posted By: Ell Re: UBB/MySql - 02/24/2001 8:14 PM
This was discussed in an earlier topic on one of the UBB6 boards here. Noone's done it yet, and it would be totally pointless to do until UBB6 leaves beta.
Posted By: Charles Capps Re: UBB/MySql - 02/25/2001 2:24 AM
UBB6 is a totally different animal than UBB5. It should actually be relatively easy to get something like this done.

One of my tutorial/Module series is going to cover extracting the member profile information and storing it in an outside database. It will be out a few months after 6.0 leaves beta.
Posted By: CopyCat Re: UBB/MySql - 02/25/2001 3:30 AM
is it done yet
Posted By: Ell Re: UBB/MySql - 02/25/2001 3:43 AM
Did you not READ the topic?

Quote
quote:
Quote
quote:
:rolleyes:
Posted By: CopyCat Re: UBB/MySql - 02/25/2001 3:48 AM
im joking
Posted By: cmoy Re: UBB/MySql - 05/15/2001 6:29 AM
I just finished modifying a freeware UBB to connect to a mySQL database (the freeware version was downloaded over a year prior to InfoPop's license change). My impetus for this transformation were the numerous episodes of corruptions in the threadlist, lastnumber and lasttime files, which often resulted in the loss of thread data. I was tired of frantically trying to find the source of the corruption to save the threads from further destruction, and thought that converting UBB to a mySQL backend would provide greater reliability.

The majority of the coding was finished in 3 days in 2 stages. The first stage was migrating the user profiles. That took a day and then I spent the following week clearing out bugs. Phase 2 was migrating the threads into a series of tables, and altering the UBB code to access and update the tables. Phase 2 was very labor intensive. Lots and lots of code modifications and migration scripts - what's left is really a shell of the original UBB. In fact, it would probably not take too much time or effort to completely rewrite the remaining portions of the original UBB.

I kept everything in Perl except for the script that displays a thread, which I wrote in PHP. The search routine also had to be rewritten to work with mySQL.

Phase 2 took me 2 days to code. Then the following week, I spent fixing bugs (and there were some BIG bugs). Some of the threads did not migrate correctly and have yet to be fixed.

Anyway, I am very pleased with the result. Now that the forums are stabilized, everything seems to be running smoothly and quickly, and I really like being able to administer the thread base from a mySQL console instead of editing and deleting files in subdirectories.

For those of you who want to see my work, here is the URL: www.headwize.com . If you are thinking of trying to convert your UBB to a database backend, I highly recommend it. Just make sure you back up your original program files. And be prepared to do a lot of troubleshooting.

Despite the bugs, the conversion was not that difficult. I think InfoPop should sell a version of UBB with a database back-end. It would certainly lessen any defections over to vBulletin. laugh
Posted By: TundraSoul Re: UBB/MySql - 06/14/2001 1:03 AM
Quote
quote:
My thoughts exactly. UBB's backend is it's weakest link.
Posted By: jordo Re: UBB/MySql - 06/14/2001 2:37 AM
I can guess what Charles Capps will say...
Posted By: Charles Capps Re: UBB/MySql - 06/14/2001 5:13 AM
I agree...
Posted By: Lord Dexter Re: UBB/MySql - 06/14/2001 9:06 AM
I don't think you were joking CopyCat!! shocked tipsy
© UBB.Developers