https://www.icyphoenix.com/viewtopic.php?f=35&t=7634&p=51498#p51498
-----------------------------------
mort
Sat 12 Feb, 2011 04:55

Re: Wanted: Help Testing And Debugging M2F
-----------------------------------
Here's a few things that popped up.

extension.inc is no longer used so you can remove all of those lines.

POSTS_TEXT_TABLE = POSTS_TABLE (So I believe).  :mryellow: 

[b]Edit:[/b] if you're wondering about the "Strange" path? The path [b][i]\m2f-ip\m2f\m2f[/i][/b] indicates that I'm only looking at this on a HD - NOT testing it.   :P 

[code linenumbers=false]\m2f-ip\m2f\m2f\m2f_admin.php (1 hits)
	Line 1206: 						FROM " . POSTS_TEXT_TABLE . " pt,

\m2f-ip\m2f\m2f\includes\insert_post.php (1 hits)
	Line 139:     $sql = "INSERT INTO " . POSTS_TEXT_TABLE . " (post_id, post_subject, bbcode_uid, post_text) VALUES ($post_id, '$subject', '$bbcode_uid', '$message')";


\m2f-ip\m2f\m2f_usercp.php (1 hits)
	Line 23: #include($phpbb_root_path . 'extension.inc');

\m2f-ip\m2f\adm\admin_m2f.php (3 hits)
	Line 34: #require($phpbb_root_path . 'extension.inc');
	Line 64: 		#include_once($phpbb_root_path . 'extension.inc');
	Line 799: 			include_once($phpbb_root_path . 'extension.inc');

\m2f-ip\m2f\m2f\m2f_import_msgs.php (1 hits)
	Line 33: include_once($phpbb_root_path . 'extension.inc');

\m2f-ip\m2f\m2f\admin\admin_m2f_standalone.php (1 hits)
	Line 371: 				include_once($phpbb_root_path . 'extension.inc');[/code]

Session management no longer uses "PAGES" etc.

[code linenumbers=false]// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_VIEWMEMBERS);
init_userprefs($userdata);


// Start session management
$userdata = session_pagestart($user_ip);
init_userprefs($userdata);
// End session management[/code]


