A lightweight add-on that adds two new permissions under General Permissions to control whether users can change their email address or password through the forum's account settings.
Features:
Block email changes — Adds a "Can change email address" permission
Block password changes — Adds a...
I get most things in XenForo but routes drive me mad.
I have added a custom action method to my extension of the XFRM resourceitem public controller.
Here is the format of the extension:
<?php
namespace My\Addon\XFRM\Pub\Controller;
use XF\Mvc\ParameterBag;
use...
I know for sure that I have a plugin conflict with another add-on but was just wondering if anyone knew if this was an easy fix? I have programmers that I work with but I they won't be available for a couple days. I know how to edit files and look for places in code so if it's an easy fix I can...
What I'm trying to do is:
I wanna add some metadata to a file and modify it as soon as it uploads as an attachment. (before hash calculations etc)
So I thought overriding beforeNewAttachment method in AbstractHandler would do the trick.
XF\Attachment\AbstractHandler
public function...