isMemberOf in PHP file

  • Thread starter Thread starter Ozzy47
  • Start date Start date

Ozzy47

Guest
Member
Okay what am I doing wrong here?

In my listener file I have this.

PHP:

Code:
<?php

namespace OzzModz\Myaddon;

class Listener
{
    public static function appSetup(\XF\App $app)
    {
        // get options
        $options = \XF::options();

        // Get variables
        $this= $options->optionone;
        $that = $options->optiontwo;
        $groups = $options->select_groups;
        $visitor = \XF::visitor();
       
        // If this
        if ($this && $visitor->isMemberOf($groups))...

Read more


free plugins
minecraft paid for free
mcmarket
mc-market
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons
 
Top