there is a post here:
https://vborg.vbsupport.ru/showthread.php?t=48304
that would make it so the ipaddresses for team members (admin, supermods and mods) IP addresses would be inserted as 127.0.0.1 but all other usergroups log as it is now in the database in the post table.
the vb2 one is this:
PHP Code:
if ($logip==1 or $logip==2) {
if ($temp = $HTTP_SERVER_VARS['REMOTE_ADDR']) {
$ipaddress = $temp;
} else if ($temp = $REMOTE_ADDR) {
$ipaddress = $temp;
} else {
$ipaddress = $HTTP_HOST;
}
} else {
$ipaddress="";
}
change to this:
PHP Code:
if ($logip==1 or $logip==2) {
if ($temp = $HTTP_SERVER_VARS['REMOTE_ADDR']) {
$ipaddress = $temp;
} else if ($temp = $REMOTE_ADDR) {
$ipaddress = $temp;
} else {
$ipaddress = $HTTP_HOST;
}
if(in_array($bbuserinfo[usergroupid], array(5,6,7)) {
$ipaddress = '127.0.0.1';
}
} else {
$ipaddress="";
}
but i can t make heads or tails outta this in vb3
can someone help?
thanks so much
i am guessing by the lake of responses this is much harder to do in vb3
am i right?