Topic: punBB and Wordpress
I installed punBB on localhost, it's really good. (Kudos to you Rickard)
I'm building a community project that utilises Wordpress so would really like some integration between it and punBB. Ideally so that users can register in the forum and post comments and posts in Wordpress.
I might have bitten off more than I can chew, but here's my reckoning:
1. Make a common users table between punBB and Wordpress. Pretty much done, here.
2. Scrap the punBB and Wordpress user tables.
3. Scrap the Wordpress login system. But keep the Wordpress code to creating its cookie.
4. Modify the punBB registration page php code so it has new fields for the extra information Wordpress requires, and alter the SQL so it inserts it into the new fields.
5. Alter the punBB login code so that it also creates a Wordpress cookie.
6. Alter all references to the old user tables in both systems.
See, it really is that easy.
When Wordpress installs it gives you a random password, that is MD5'd into the database. I changed it to SHA1 into the database, so at least I am prepared for the first punBB/Wordpress user. However getting at the Wordpress cookie login system is a joke, code poetry my foot! It uses a lot of requires that makes it near impossible to locate actual functions. I'll see if I can track down some Wordpress developers on IRC.
I would appreciate any feedback anyone has to offer.
Related: http://punbb.org/forums/viewtopic.php?id=7496