VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.
The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.
$typewhere[] = vw_DB::get()->query()->eq($prep['s']['fields']['nodetypeid'], $nodetypeid);
$subtypeid = $node['isPage'] ? vw_Hard_Core::model('Node')->id('Page') : $nodetypeid; $typewhere[] = vw_DB::get()->query()->eq($prep['s']['fields']['nodetypeid'], $subtypeid);