ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
		- Joined
 - Nov 13, 2018
 
- Messages
 - 29,581
 
- Points
 - 823
 
Reputation:
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:
	
	
	
		
Continue reading...
	
		
			
		
		
	
			
			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...