XenForo
Administrative
- Thread starter
- Admin
- #1
I've extended the controller plugin for IP to pull in additional IP information using an API. When I do a var_dump against $country, $city, etc, I get the expected values. My issue is these variables are not making their way to the template.
PHP:
Read more
Read more about this Feed . . .
PHP:
Code:
<?php
namespace Andrew\ModeratorPanel\XF\ControllerPlugin;
use \XF\Mvc\Entity\Entity;
class Ip extends XFCP_Ip
{
public function actionIp(Entity $content, array $breadcrumbs = [], $options = [])
{
$options = array_merge([...
Read more
Read more about this Feed . . .