Maybe this (assuming you don't use the country code elsewhere in the template): In a plugin using hook forumdisplay_complete:
PHP Code:
$efvip = $_SERVER['REMOTE_ADDR'];
include('/home/myaccount/public_html/geo/geoip.inc');
$gi = geoip_open('/home/myaccount/public_html/geo/ip/GeoIP.dat',GEOIP_STANDARD);
$mygig = geoip_country_code_by_addr($gi, $efvip);
$mycountry = array('AL','AZ','BA','BD','BG','BW','CD','EE','EG','ET','FI','KW','KE','KP','KR','LB','LC','LR','LV','MA','MT','MU','NG','NP','PH','RS','SK','SL','TN','UY','VG','ZM','ZW');
$show['in_country'] = $show['guest'] AND in_array($mygig, $mycountry);
then in the template:
Code:
<vb:if condition="$show[in_country]"><div class="padtop">
stuff to go in here
</div></vb:if>