avguste Posted March 3, 2009 Share Posted March 3, 2009 Hey all Could any of you possible code a way to combine both game and phbb3 forum registrations? Thanks Quote Link to comment Share on other sites More sharing options...
mdshare Posted March 3, 2009 Share Posted March 3, 2009 Re: Phpbb 3 Registration Integration? There is a mccode modification for smf and I think floydian made on for phpBB allthough could be only for his Horizons Game engine. Quote Link to comment Share on other sites More sharing options...
Dayo Posted March 3, 2009 Share Posted March 3, 2009 Re: Phpbb 3 Registration Integration? ill see what i can do for ya but atm i have to go to school :( Quote Link to comment Share on other sites More sharing options...
Sim Posted March 3, 2009 Share Posted March 3, 2009 Re: Phpbb 3 Registration Integration? maybe this will help: http://www.mrkirkland.com/adding-a-user ... al-script/ Quote Link to comment Share on other sites More sharing options...
avguste Posted March 3, 2009 Author Share Posted March 3, 2009 Re: Phpbb 3 Registration Integration? Interesting Will have a look at it,but it does seem quite complex and messy to do Quote Link to comment Share on other sites More sharing options...
Sim Posted March 3, 2009 Share Posted March 3, 2009 Re: Phpbb 3 Registration Integration? Let me know if it works cause i'll be having to do that too, but I can't get on dev comp for another 3 days. Quote Link to comment Share on other sites More sharing options...
boionfire81 Posted July 2, 2016 Share Posted July 2, 2016 That is basically saying put: define(‘IN_PHPBB’, true); /* set scope for variables required later */ global $phpbb_root_path; global $phpEx; global $db; global $config; global $user; global $auth; global $cache; global $template; # your php extension $phpEx = substr(strrchr(__FILE__, ‘.’), 1); $phpbb_root_path = ; /* includes all the libraries etc. required */ require($phpbb_root_path .”common.php”); $user->session_begin(); $auth->acl($user->data); /* the file with the actual goodies */ require($phpbb_root_path .”includes/functions_user.php”); /* All the user data (I think you can set other database fields aswell, these seem to be required )*/ $user_row = array( ‘username’ => “Username”, ‘user_password’ => md5(“Password”), ‘user_email’ => “Email”, ‘group_id’ => $default_group_id, ‘user_timezone’ => ‘1.00’, ‘user_dst’ => 0, ‘user_lang’ => ‘en’, ‘user_type’ => ‘0’, ‘user_actkey’ => ”, ‘user_dateformat’ => ‘d M Y H:i’, ‘user_style’ => $not_sure_what_this_is, ‘user_regdate’ => time(), ); /* Now Register user */ $phpbb_user_id = user_add($user_row); Problem is $db is already defined in mcc. Quote Link to comment Share on other sites More sharing options...
Coly010 Posted July 4, 2016 Share Posted July 4, 2016 Re: Phpbb 3 Registration Integration? ill see what i can do for ya but atm i have to go to school :( You must be so old now [uSER=64684]Dayo[/uSER] !! Quote Link to comment Share on other sites More sharing options...
Dayo Posted July 5, 2016 Share Posted July 5, 2016 this is a blast from the past think i must of been 16/17 then :P Quote Link to comment Share on other sites More sharing options...
boionfire81 Posted July 5, 2016 Share Posted July 5, 2016 ok, well [uSER=64684]Dayo[/uSER] were you able to figure out how to integrate them? Quote Link to comment Share on other sites More sharing options...
Dayo Posted July 5, 2016 Share Posted July 5, 2016 this was 7+ ytears ago so if i did i have no knoladge of it now What is it that you need? i.e. Do you want to replace the McCodes Login/Registration with PHPBB? Or the other way around? Or do you want it so if a user registers for the game a user account is already made on the forum and when they log in it logs them into the forum as well? Quote Link to comment Share on other sites More sharing options...
boionfire81 Posted July 5, 2016 Share Posted July 5, 2016 Option 3, :) can you help? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.