[RSS Feed/News] Get Node Permissions

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I'm updating a previous plugin from XF1.x to XF2.x for @xenfans

Previously I had this to get a list of Private Nodes - but can't see how I convert this over to XF 2.x

Code:

Code:
// build our query
$_query = $this->getPrivateNodeQuery();
// get db instance
$db = XenForo_Application::getDb();
// get results
$privateNodes = $db->fetchAll($_query);

// Get forum
$forum = $this->_getForumData();

foreach ($privateNodes as $node) {
    // node id is in private node id list?
    if...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom