Adding the AP things. Only the first part.
Code:
// Step 2
if ($install=="2") {
$DB_site->query("INSERT INTO settinggroup VALUES (126, 'Journal Pro', 126)");
$DB_site->query("INSERT INTO setting VALUES (NULL,126, 'Mini Calendar', 'valid', '1', 'Do you wish to have a mini calendar with links to posts?', 'yesno', 1)");
$DB_site->query("INSERT INTO setting VALUES (NULL,126, 'WYSIWG panel', 'valid', '1', 'Do you wish to have a WYSIWG panel when submiting / editing an entry?', 'yesno', 1)");
$DB_site->query("INSERT INTO setting VALUES (NULL,126, 'Short / Full Entrys', 'valid', '1', 'Do you wish to have short article linkinking to the full artcile?', 'yesno', 1)");
$DB_site->query("INSERT INTO setting VALUES (NULL,126, 'Random photo', 'valid', '1', 'Do you wish to have a random photo in your journal profile?', 'yesno', 1)");
$DB_site->query("INSERT INTO setting VALUES (NULL,126, 'Archive / Static HTML', 'valid', '1', 'Do you wish to have an archive by months and create static html from php files?', 'yesno', 1)");
echo "Adding field to vBulletin Options....<br>";
echo "..<b>Journal Professinal Settings have been added successfully!</b><br><br>";
echo "<b><a href='$PHP_SELF?install=3'>[Continue Installation]</a></b>";
}