[OzzModz] Hide Users IP In Public

[OzzModz] Hide Users IP In Public 2.0.2 Patch Level 3

No permission to download

combatgamez

Active member
On a sidenote, anyone know of anything that could actually remove the IP address and delete out of the DB after a certain period of time? Say purges every 48 hours or something?
 

mbino

Member
Okay, I enabled the addon and added some usernames in the options. it works good when looking up those users from the front-end as a mod, but when I click on any other user profile (show ip address) it shows oops we ran into some problems, the requested page could not be found.
 

mbino

Member
Code:
Serverfouten log

    ErrorException: [E_NOTICE] Undefined variable: Parent src/addons/OzzModz/HideIp/XF/Pub/Controller/Member.php:24

    Gegenereerd door: admin 2 jul 2021 om 17:04

Stack trace

#0 src/addons/OzzModz/HideIp/XF/Pub/Controller/Member.php(24): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/var/www/vhosts...', 24, Array)
#1 src/XF/Mvc/Dispatcher.php(350): OzzModz\HideIp\XF\Pub\Controller\Member->actionUserIps(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Member', 'UserIps', Object(XF\Mvc\RouteMatch), Object(SV\ModeratorEssentials\XF\Pub\Controller\Member), NULL)
#3 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\ModeratorEssentials\XF\Pub\Controller\Member), NULL)
#4 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2337): XF\Mvc\Dispatcher->run()
#6 src/XF.php(488): XF\App->run()
#7 index.php(20): XF::runApp('XF\\Pub\\App')
#8 {main}

Aanvraagstatus

array(4) {
  ["url"] => string(167) "/members/sexcalibur.208/user-ips?_xfRequestUri=%2Fmembers%2Fsexcalibur.208%2F&_xfWithData=1&_xfToken=1625238270%2Ce3c3249280b237294fe6341bb84e8d37&_xfResponseType=json"
  ["referrer"] => string(50) "https://www.domain.com/members/sexcalibur.208/"
  ["_GET"] => array(4) {
    ["_xfRequestUri"] => string(24) "/members/sexcalibur.208/"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(43) "1625238270,e3c3249280b237294fe6341bb84e8d37"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }
}
 

Ozzy47

Well-known member

mbino

Member
Just updated to the latest version and enabled it again.

Code:
     ErrorException: [E_NOTICE] Trying to get property 'username' of non-object src/addons/OzzModz/HideIp/XF/Pub/Controller/Online.php:19

Stack Trace
Code:
#0 src/addons/OzzModz/HideIp/XF/Pub/Controller/Online.php(19): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/var/www/vhosts...', 19, Array)
#1 src/XF/Mvc/Dispatcher.php(350): OzzModz\HideIp\XF\Pub\Controller\Online->actionIndex(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Online', 'Index', Object(XF\Mvc\RouteMatch), Object(OzzModz\HideIp\XF\Pub\Controller\Online), NULL)
#3 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(OzzModz\HideIp\XF\Pub\Controller\Online), NULL)
#4 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2337): XF\Mvc\Dispatcher->run()
#6 src/XF.php(488): XF\App->run()
#7 index.php(20): XF::runApp('XF\\Pub\\App')
#8 {main}


Request state
Code:
array(4) {
  ["url"] => string(8) "/online/"
  ["referrer"] => string(27) "https://www.forumurl.com/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 

mbino

Member
Code:
     ErrorException: [E_WARNING] Invalid argument supplied for foreach() src/addons/OzzModz/HideIp/XF/Pub/Controller/Online.php:20

Stacktrace:
Code:
#0 src/addons/OzzModz/HideIp/XF/Pub/Controller/Online.php(20): XF::handlePhpError(2, '[E_WARNING] Inv...', '/var/www/vhosts...', 20, Array)
#1 src/XF/Mvc/Dispatcher.php(350): OzzModz\HideIp\XF\Pub\Controller\Online->actionIndex(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Online', 'Index', Object(XF\Mvc\RouteMatch), Object(OzzModz\HideIp\XF\Pub\Controller\Online), NULL)
#3 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(OzzModz\HideIp\XF\Pub\Controller\Online), NULL)
#4 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
#6 src/XF.php(512): XF\App->run()
#7 index.php(20): XF::runApp('XF\\Pub\\App')
#8 {main}

Request State:
Code:
array(4) {
  ["url"] => string(8) "/online/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Top