Add code just below "require 'init.php';" in me.php
Q: What's the point of fixing user_info?Code:$my_id = $user->id; $regdate = $user->account_created; $regstamp = strtotime($regdate); $userinfo = mysql_query("SELECT user_id FROM user_info WHERE user_id = '".$my_id."'") or die(mysql_error()); $userinfo_num = mysql_num_rows($userinfo); if($userinfo_num == 0){ mysql_query("INSERT INTO user_info (user_id, bans, cautions, reg_timestamp, login_timestamp, cfhs, cfhs_abusive) VALUES ('".$my_id."',0,0,'".$regstamp."',0,0,0)"); }
A: It makes the 'my page' in client work.
Credits to thewicard from devbest. :)






