node_id in XFCP_Preparer

Status
This content is read-only, or is not open for further replies.

Gavo

Guest
offline
Is there an easy way to grab the node id in XFCP_Preparer?

I have a function working to force using set domains in a post or an error message is displayed, this works globally, I have added forumID array in settings, but cant call node_id when posting.

Thanks

Code:

Code:
namespace Tango\Whitelist\XF\Service\Message;

class Preparer extends XFCP_Preparer
{
    public function checkValidity($message)
    {
        // get parent
        $parent = parent::checkValidity($message);

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom