in the post template find
{$post['iplogged']}
hi thanks 4 rply but i want php function code means in which .php file it is located
actually i want to use this function
if($user['lastip'])
{
$api_result = @file_get_contents('http://freegeoip.net/json/'.$user['lastip']);
$api_result = json_decode($api_result);
$lastip_location = '<br />'.$api_result->city.': '.$api_result->country_name;
}
it shows ip address and using this function i want to show location
mybb forum is
http://www.visionarysoft.com
You can use {$post['lastip']} in postbit for post author (member).
For inserting your custom codes in the postbit, you can create a plugin for that, or insert it in your functions_post.php file.
can u tell me where to insert this code in functions_post.php
hie
i inserted above code but getting error.
can u tell where to insert this code in functions_post.php file. or some one make this plugin for me.