[For 1.8] Ban User List Page
#4
Its because he is formatting it as a username. Change the following:
<td class=\"trow1\" align=\"center\">".build_profile_link($user['regip'], $user['uid'])."</td>

To:
<td class=\"trow1\" align=\"center\">".my_inet_ntop($db->unescape_binary($user['regip']))."</td>

You can use $post['lastip'] to display the last know IP as well.
<td class=\"trow1\" align=\"center\"><b>Registration IP:</b> ".my_inet_ntop($db->unescape_binary($user['regip']))."<br /><b>Last Known IP:</b> ".my_inet_ntop($db->unescape_binary($user['lastip']))."</td>

You should ideally use the template system instead as already mentioned.
Reply


Messages In This Thread
Ban User List Page - by Brian. - 2017-10-15, 08:57 PM
RE: Ban User List Page - by Sazze - 2017-10-16, 08:40 PM
RE: Ban User List Page - by sosanime - 2018-04-19, 10:34 PM
RE: Ban User List Page - by Omar G. - 2018-04-20, 04:22 AM
RE: Ban User List Page - by Eldenroot - 2018-04-21, 08:59 PM
RE: Ban User List Page - by Omar G. - 2018-04-21, 09:11 PM
RE: Ban User List Page - by Eldenroot - 2018-04-21, 10:16 PM
RE: Ban User List Page - by arhavili - 2020-02-20, 01:43 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)