My Linux server prevents the export function from working. I also don't own the server. So I made modifications to email the templates. I won't post my entire modification since it is so system specific. Once the zip file is created on a particular system, this code will ship it out.
PHP Code:
// Prepare email
echo "Preparing email and attaching file $zipfile...";
$mail_boundary = "----=" . md5(uniqid(time()));
$mail_headers = "";
$subject = "vBulletin templates file for $bbtitle";
$mail_headers .= "From: \"vBulletin Mailer\" <$webmasteremail>\r\n";
$mail_headers .= "MIME-Version: 1.0\r\n";
$mail_headers .= "Content-type: multipart/mixed; boundary=\"$mail_boundary\"\r\n\r\n";
$mail_headers .= "This is a multi-part message in MIME format.\r\n\r\n";
$fp = fopen("$tmppath/$zipfile", "r");
$file = fread($fp, filesize("$tmppath/$zipfile"));
$file = chunk_split(base64_encode($file));
$mail_body = "--$mail_boundary\r\n";
$mail_body .= "Content-type:text/plain; charset=ISO-8859-1\r\n\r\n";
$mail_body .= "The attached file '$zipfile' contains the vBulletin templates\r\n";
$mail_body .= "from the '$setinfo[title]' set of $bbtitle.\r\n\r\n";
$mail_body .= "--$mail_boundary\r\n";
$mail_body .= "Content-type:unknown/unknown; name=$zipfile\r\n";
$mail_body .= "Content-transfer-encoding: base64\r\n\r\n";
$mail_body .= $file . "\r\n\r\n";
$mail_body .= "--$mail_boundary--";
mail("$email",$subject,$mail_body,$mail_headers);