(2021-03-10, 10:05 PM)Erikbe Wrote: [ -> ]it is getting late in here tomorrow is another day thank you for reading and trying to offer me advice now get your coffee
haha, right?!! I think there might be more to your issue though and I am admittedly not knowledgeable about how exactly guest ips are stored but aren't they gathered differently? and if so that may be something to ponder on as while I still havent looked at the specific plugin you are speaking of except by viewings screens I would assume that it requires say username, userid, page viewed, useragent, ip, date and I am honestly not sure if all of those are recorded for guest ips in post iplogged, whosonline or sessions or not thus hopefully someone with admittedly more knowledge on how guest ips are handled will be able to help ya more hopefully and my apologies for my admitted lacking knowledge on overall guest ip handling.
anyhoo, one completely unrelated issue i did note and figured I would helpfully mention in case you had not yet noticed that on a quick glance of first installing plugin just now and something that annoyed me before looking any further was while the registered uid ip history was displayed and that was nice to see as I thought I read that you said it wasn't displaying?
for defined:
if ($user !== 0)
my first glance notice was that while uid ip history was output correctly, said related links for username, userid & page where not correct when output in:
forum/admin/modules/tools/ip_history_logs.php
// Output Every row from DB
while($section = $db->fetch_array($query))
{
$username = htmlspecialchars_uni($section['username']);
$table->construct_cell("<a target='_blank' href=\"/member.php?action=profile&uid={$section['uid']}\">$username</a>", array("class" => "align_center", "width" => '60'));
$table->construct_cell("<a target='_blank' href=\"/member.php?action=profile&uid={$section['uid']}\">{$section['uid']}</a>", array("class" => "align_center", "width" => '60'));
$table->construct_cell("<strong><a href=\"/{$section['page']}\">{$section['page']}</a></strong>");
$table->construct_cell(htmlspecialchars_uni($section['useragent']));
$table->construct_cell(HandleIP($section['ip']), array("class" => "align_center", "width" => '90'));
$table->construct_cell(my_date('relative',$section['createdate'], '', 2), array("class" => "align_center", "width" => '90'));
$table->construct_row();
}
thus simply adding
{$mybb->settings['bburl']}
sorted that out for me as far as now displaying related linkage correctly:
// Output Every row from DB
while($section = $db->fetch_array($query))
{
$username = htmlspecialchars_uni($section['username']);
$table->construct_cell("<a target='_blank' href=\"{$mybb->settings['bburl']}/member.php?action=profile&uid={$section['uid']}\">$username</a>", array("class" => "align_center", "width" => '60'));
$table->construct_cell("<a target='_blank' href=\"{$mybb->settings['bburl']}/member.php?action=profile&uid={$section['uid']}\">{$section['uid']}</a>", array("class" => "align_center", "width" => '60'));
$table->construct_cell("<strong><a href=\"{$mybb->settings['bburl']}/{$section['page']}\">{$section['page']}</a></strong>");
$table->construct_cell(htmlspecialchars_uni($section['useragent']));
$table->construct_cell(HandleIP($section['ip']), array("class" => "align_center", "width" => '90'));
$table->construct_cell(my_date('relative',$section['createdate'], '', 2), array("class" => "align_center", "width" => '90'));
$table->construct_row();
}