Function if $user is moderator of $forum?

xfrocks

Well-known member
Is there a function to determine if a $user is a moderator of a $forum?
I don't think there is one method for that. I ended up using XenForo_Model_Forum::canStickUnstickThreadInForum :D Moderator should be able to stick threads, right? At least I hope so
 

James

Well-known member
Have you tried XenForo_Model_Moderator->getGeneralModeratorByUserId? I'm not sure what it returns.
 
Top