");
define("URL_BASE", $master_url);
define("IMAGE_PATH", "../user_profile/images/");
define("IMAGE_URL", "user_profile/images/");
define("PROFILE_PATH", "../user_profile/");
define("PROFILE_URL", "user_profile/");
define("LANGUAGE_FILE", "languages.txt");
//-------------- contact info
define("SYS_ADMIN_EMAIL", "admin@$master_url");
define("UOTD_ADMIN_EMAIL", "admin@$master_url");
// who gets emails about user of the day pool running low?
define("POST_REPORT_EMAILS", "moderator1@$master_url|moderator2@$master_url");
// Email addresses separated by pipe ( | ) that will receive user reports
// of offensive forum posts.
//-------------- Delete Account
//define("DELETE_DELAY", 2);
// When deleting an account, invalidate the authenticator and then wait this
// many seconds before proceeding with the delete. This is intended to give the
// an existing scheduler request sufficient time to complete. Some projects
// might want to increase this to a longer time. Simply uncomment and set the
// delay to what the project needs.
//-------------- Caching
//define("MEMCACHE_SERVERS", "127.0.0.1:11211");
//-------------- CSS styling
// add your own stylesheets (included after bootstrap)
//define("STYLESHEET", "aaa.css");
//define("STYLESHEET2", "bbb.css");
//-------------- enable/disable web features
define("FORUM_QA_MERGED_MODE", true);
// Set to true to merge Message boards and Q&A section
define ("DISABLE_PROFILES", true);
// enable profiles only after enabling reCAPTCHA
// https://boinc.berkeley.edu/trac/wiki/ProtectionFromSpam
define("USE_STOPFORUMSPAM", true);
// use http://www.stopforumspam.com to suppress spammer accounts
define("RPC_DEBUG", false);
// Enables PHP error messages in public Web RPCs
define("TERMSOFUSE_FILE", "../../terms_of_use.txt");
// Defines the location of the terms of use file. Default location is in the project directory.
//-------------- Project-specific preferences
define('COLOR_PREFS', false);
// user can select screensaver color scheme
define('GFX_CPU_PREFS', false);
// user can limit % CPU used by screensaver
// (lower frame rate if exceeded)
// This is probably irrelevant if your screensaver uses OpenGL
define('APP_SELECT_PREFS', false);
// user can choose which apps to run
define('NON_GRAPHICAL_PREF', false);
// user can choose to run faster non-graphical app versions if available
define('MAX_JOBS_PREF', false);
// user can choose max # of jobs in progress
define('MAX_CPUS_PREF', false);
// user can choose max # of CPUs to use
//-------------- PHPMailer
// If you use PHPMailer, uncomment the following
// and complete the function definition based on your SMTP server
// (not all fields may be needed)
//
if (0) {
function make_php_mailer() {
$mail = new PHPMailer();
$mail->IsSMTP();
//$mail->Mailer = 'smtp';
$mail->SMTPAuth = true;
$mail->SMTPSecure = "tls";
$mail->Host = "smtp.gmail.com";
$mail->Port = 587;
$mail->Username = "john.doe@gmail.com";
$mail->Password = "xxx";
// Google's application-specific password,
// if you are using the 2-Step Verification: 16 characters, no spaces.
// OR: Put here the regular Gmail password if you are not using the
// 2-Step Verification with your Gmail account.
// See https://support.google.com/accounts/answer/185833?hl=en";
$mail->SetFrom('admin@boincproject.com', 'John Doe');
$mail->AddReplyTo("admin@boincproject.com", "John Doe");
$mail->From = "admin@boincproject.com";
return $mail;
}
}
//-------------- Header and footer
// Put your project title and logo here
// If you include any links, prepend URL with $prefix
// if you need to open divs here close them in project_footer()
//
function project_banner($title, $prefix, $is_main) {
if ($is_main) {
echo '';
}
sample_navbar(secure_url_base(), get_logged_in_user(false), false);
if ($title) {
echo "
©'.gmdate("Y ").COPYRIGHT_HOLDER.'
'; if ($show_date) { $t = time_str(time()); echo "