It's almost one year now since i moved from phpbb3 to xenforo and i can't fix this problem. I have a quiz script that stores data to mysql database and when i was using phpbb3 i managed very easy to get the phpbb3 username and write it to the quiz database. I have around one year that i am reading and searching to fix that problem but i can't. I have not so much knowledge in web development but in phpbb3 i managed to find the way. Here it's the file: http://pastebin.com/aSMRa3sx For phpbb3 i just added this code to the top of this file. PHP: define('IN_PHPBB', true);$phpbb_root_path = '/home/site23/public_html/board/';$phpEx = substr(strrchr(__FILE__, '.'), 1);include($phpbb_root_path . 'common.' . $phpEx);// Start session management$user->session_begin();$auth->acl($user->data);$user->setup(); and then in this file i just replaced this line: PHP: $ipvar=$_GET['originalip']; with: PHP: $ipvar=$user->data['username']; So instead taking the ip address i was taking phpbb3 username. As i wrote before i have a year that trying to fix the problem i can't. I tried with Kotomi and all of the threads that are here but no success.