Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 5 Years, 2 Months, 3 Weeks ago Problem With IP On Postbit
#1
Solved: 5 Years, 2 Months, 3 Weeks ago Exclamation 
Dear Mybb Team,

I have problem where IP on postbit look like in this picture.

[Image: PRSAVaO.png]

I already search in github and 1 found this solution #1430 but when i applied that solution it doesnt make any change.

TQ.
Reply
#2
Solved: 5 Years, 2 Months, 3 Weeks ago
This bug has already been marked to be fixed
Reply
#3
Solved: 5 Years, 2 Months, 3 Weeks ago
(09-14-2014, 11:45 PM)Aiko Wrote: This bug has already been marked to be fixed

Presumably fixed* - the issues are not fixed at least until they're closed.
Anyways, remove that code, it's not proper.

Do you have this code in your inc/functions_post.php file?
$ipaddress = my_inet_ntop($db->unescape_binary($post['ipaddress']));

Also show your postbit_iplogged_show and postbit_iplogged_hiden (not my typo) templates.
Reply
#4
Solved: 5 Years, 2 Months, 3 Weeks ago
(09-15-2014, 01:22 AM)Destroy666 Wrote:
(09-14-2014, 11:45 PM)Aiko Wrote: This bug has already been marked to be fixed

Presumably fixed* - the issues are not fixed at least until they're closed.
Anyways, remove that code, it's not proper.

Do you have this code in your inc/functions_post.php file?


$ipaddress = my_inet_ntop($db->unescape_binary($post['ipaddress']));

Yes i had that code on line 666.

Also show your postbit_iplogged_show and postbit_iplogged_hiden (not my typo) templates.

Here :
postbit_iplogged_show


{$lang->postbit_ipaddress} {$ipaddress}

postbit_iplogged_hiden

<!--<p class="smalltext">{$lang->postbit_ipaddress} <a href="moderation.php?action=getip&amp;pid={$post['pid']}">{$lang->postbit_ipaddress_logged}</a></p>-->
<p class="smalltext">{$lang->postbit_ipaddress} <a href="moderation.php?action=getip&amp;pid={$post['pid']}">{$post['ipaddress']}</a></p>

TQ.
Reply
#5
Solved: 5 Years, 2 Months, 3 Weeks ago
postbit_iplogged_hiden should be:
{$lang->postbit_ipaddress} <a href="moderation.php?action={$action}&amp;{$idtype}={$post[$idtype]}">{$lang->postbit_ipaddress_logged}</a>

Does this fix it for you?
Reply
#6
Solved: 5 Years, 2 Months, 3 Weeks ago
(09-15-2014, 03:08 AM)Destroy666 Wrote: postbit_iplogged_hiden should be:


{$lang->postbit_ipaddress} <a href="moderation.php?action={$action}&amp;{$idtype}={$post[$idtype]}">{$lang->postbit_ipaddress_logged}</a>

Does this fix it for you?


I think yes and i got this result

[Image: rgsj4o5.png]
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)