Yes, it would require some plugin or extension development depending on the specific phpBB version in use. It isn't particularly hard development, but still probably an hour or two to test it and such. Alternately, it can be done as a simple php page that hooks the forum for membership data. That's about a 10 minute hack to do once you have the Discord API itself setup. I have sample code that I use for TS integrations using both approaches (Discord would be extremely similar) if someone wants to try tackling it, or if there is interest, I can write it myself at some point in the future, I'm just not sure when I'll have time.
Something like this in a php file will give the page access to PHPBB's user management and verify a group membership in 3.0 versions. 3.1 changed it a little bit if we have updated to 3.1 yet.
Code: Select all
define('IN_PHPBB', true);
$phpbb_root_path = '../../';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . '/includes/functions_user.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
if (group_memberships(array(11),$user->data['user_id'],true))