phpbb

Including PHPBB functions directly into CakePHP

Sarina sent in a message with a much easier way to use phpBB functions in CakePHP when integrating the users.  Apparently, I invent my own complexity sometimes.  This is a far better way to code the User model than my sloppy copy/paste method outlined earlier.  Here's her code:

Note that you can shorten the model by including the functions directly from phpbb:

freetags:

Getting CakePHP to use phpBB3 users and passwords

I'm tinkering with a small CakePHP app and I want to add users but allow them to authenticate against my phpBB3 forum credentials.  I found a few attempts and suggestions that didn't work for me and the bridge available in the Bakery isn't wwhat I wanted either.

Subscribe to RSS - phpbb