The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I'm trying to port one of my scripts over to vbulletin so I can use it's templating system. All I need to do is include either of two files based on the GET. Maybe there are special vbulletin function I need to use?
This is my script: Code:
require_once('global.php'); include('accountdb/includes/config.php'); if ($vbulletin->userinfo['userid'] != 0 and in_array($vbulletin->userinfo['usergroupid'],$usergroup_access)) { if(!empty($_GET['do'])){ if($_GET['do'] == 'add'){ include('accountdb/includes/add.php'); exit; } if($_GET['do'] == 'list'){ include('accountdb/includes/list.php'); exit; } } } Code:
ob_start(); include ('accountdb/includes/add.php'); $include_contents = ob_get_contents(); ob_end_flush(); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|