A Bit Of Help Please

O

Ozzy47

Guest
Member
I've been tinkering with an addon that will automatically moderate a thread/post if it contains censored words. I'm using a listener on entity_post_save that seems to be working okay.

PHP:

Code:

Code:
    // Moderate Posts If Necessary
    public static function moderatePostsPostSave(\XF\Mvc\Entity\Entity $entity)
    {
        // Get Visitor
        $visitor = \XF::visitor();
 
        // Get options
        $options = \XF::options();
 
        // Get Variables
        $opt1 =...
Read...

Read more

Continue reading...
 
BlackSpigot General Chat
Rules Help Users
    J @ Jubileu: download
    Top