Seems the major thing that needs to be done is the append_sid function in nuke updated to work with phpbb and the one in phpbb3 commented out. Then changing the $phpbb_root_path variable in all the phpbb3 root files... seems thats mostly what needs to be done with modifying files.
For the database I was just thinking you could modify the phpnuke nuke_users table to have the same basic structure as the phpbb3 users table then create a mysql view called phpbb_users that points to the nuke_users table.
For example, replace the following in phpbb3 includes/functions.php
$append_sid_url = $url . (($append_url) ? $url_delim . $append_url . $amp_delim : $url_delim) . $params . ((!$session_id) ? '' : $amp_delim . 'sid=' . $session_id) . $anchor;
$append_sid_url = str_replace("modules/phpbb3/", "", $append_sid_url);
$append_sid_url = str_replace("?", "&", $append_sid_url); // As we are already in nuke, change the ? to &
$append_sid_url = str_replace(".php", "", $append_sid_url);
$append_sid_url = "modules.php?name=phpbb3&file=".$append_sid_url; //Change to Nuke format
return $append_sid_url;
This combined with changing the $phpbb_root_path variable in all the files will make most of phpbb3 funciton as a module within nuke. Does the current phpbb2nuke really do much more than that?
Evaders99 Site Admin
Joined: Aug 17, 2003
Posts: 12346
Posted:
Mon Mar 17, 2008 10:49 pm
Personally I found the changes too difficult. I am going with an easier approach, a loose integration that does not integrate the users tables.
Still working on the code. I will release it as open source once it is done and tested, however I do accept donations (for the time, feeds my late night hunger).
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum