<?php // Generated: Monday, March 25, 2002 - 12:15 AM Paris, Madrid
// ----------------------------------------------------------------------
// POST-NUKE Content Management System
// Copyright (C) 2001 by the Post-Nuke Development Team.
// http://www.postnuke.com/
// ----------------------------------------------------------------------
// Based on:
// PHP-NUKE Web Portal System - http://phpnuke.org/
// Thatware - http://thatware.org/
// ----------------------------------------------------------------------
// LICENSE
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License (GPL)
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// To read the license please visit http://www.gnu.org/copyleft/gpl.html
// ----------------------------------------------------------------------
// Original Author of file: Everyone
// Purpose of file: Configure the main options for your site
// ----------------------------------------------------------------------
// ----------------------------------------------------------------------
// Database & System Config
//
// dbtype: type of database, currently only mysql
// dbhost: MySQL Database Hostname
// dbuname: MySQL Username
// dbpass: MySQL Password
// dbname: MySQL Database Name
// system: 0 for Unix/Linux, 1 for Windows
// encoded: 0 for MySQL information unenccoded
// , 1 for encoded
// ----------------------------------------------------------------------
//
// FTODEBUG 1 is Oracle
if (1){
$pnconfig['dbtype'] = 'oci8';
$pnconfig['dbhost'] = 'localhost';
$pnconfig['dbuname'] = 'post_nuke';
$pnconfig['dbpass'] = 'post_nuke';
$pnconfig['dbname'] = 'localdb';
$pnconfig['system'] = '1';
$pnconfig['prefix'] = 'nuke';
$pnconfig['encoded'] = '0';
} else
{
$pnconfig['dbtype'] = 'MySQL';
$pnconfig['dbhost'] = 'localhost';
$pnconfig['dbuname'] = 'root';
$pnconfig['dbpass'] = '';
$pnconfig['dbname'] = 'rogue';
$pnconfig['system'] = '1';
$pnconfig['prefix'] = 'nuke';
$pnconfig['encoded'] = '0';
};
// ----------------------------------------------------------------------
// You have finished configuring the database. Now you can start to
// change your site settings in the Administration Section.
// To enter, point your web browser to http://yourdomain.com/admin.php
//
// Remember to chmod 666 this file in order to let the system write
// to it properly. If you can't change the permissions you can edit
// the rest of this file by hand.
//
// Congratulations! You now have an automated news portal!
// Thanks for choosing PostNuke: The Future of the Web.
// ----------------------------------------------------------------------
// ----------------------------------------------------------------------
// General Site Configuration
//
// $sitename: Your Site Name
// $nukeurl: Complete URL for your site (Do not put / at end)
// $site_logo: Logo for Printer Friendly Page (It's good to have a Black/White graphic)
// $slogan: Your site's slogan
// $metakeywords: Site key words for meta tags
// $dyn_keywords: Activate dynamic keywords (1=Yes 0=No)
// $startdate: Start Date to display in Statistic Page
// $adminmail: Site Administrator's Email
// $anonpost: Allow Anonymous to Post Comments? (1=Yes 0=No)
// $Default_Theme: Default Theme for your site (See /themes directory for the complete list, case sensitive!)
// $foot(x): Messages for all footer pages (Can include HTML code)
// $commentlimit: Maximum number of bytes for each comment
// $commentsystemname: Name of the module handeling comments ('system_default' is the default system)
// $anonymous: Anonymous users Default Name
// $minpass: Minimum character for users passwords
// $defaultgroup: Initial group new users are placed in
// $pollcomm: Activate comments in Polls? (1=Yes 0=No)
// $timezone_offset Used for user's time settings
// $nobox Determines if you want a right side block displayed in your articles
// $minage: Sets the required age to register (0=No age check)
// $startpage: index.php is redirected to this page
// ----------------------------------------------------------------------
$pnconfig['sitename'] = stripslashes("Your Site Name");
$pnconfig['nukeurl'] = "http://www.postnuke.com";
$pnconfig['site_logo'] = "logo.gif";
$pnconfig['slogan'] = stripslashes("Your slogan here");
$pnconfig['metakeywords'] = "nuke, postnuke, postnuke, free, community, php, portal, opensource, open source, gpl, mysql, sql, database, web site, website, weblog, content management, contentmanagement, web content management, webcontentmanagement";
$pnconfig['dyn_keywords'] = "0";
$pnconfig['startdate'] = "June 2001";
$pnconfig['adminmail'] = "hide@address.com";
$pnconfig['anonpost'] = 1;
$pnconfig['Default_Theme'] = "PostNukeBlue";
$pnconfig['foot1'] = stripslashes("<br><a href=\"http://www.postnuke.com\" target=\"blank\"><img src=\"images/powered/postnuke.butn.gif\" border=\"0\" Alt=\"Web site powered by PostNuke\" hspace=\"10\"></a> <a href=\"http://php.weblogs.com/ADODB\" target=\"blank\"><img src=\"images/powered/adodb2.gif\" Alt=\"ADODB database library\" border=\"0\" hspace=\"10\"></a><a href=\"http://www.php.net\" target=\"blank\"><img src=\"images/powered/php2.gif\" Alt=\"PHP Scripting Language\" border=\"0\" hspace=\"10\"></a><br><br>All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2000 by me<br>This web site was made with <a href=\"http://www.postnuke.com\">PostNuke</a>, a web portal system written in PHP. PostNuke is Free Software released under the <a href=\"http://www.gnu.org\">GNU/GPL license</a>.<br>You can syndicate our news using the file <a href=\"backend.php\">backend.php</a>");
$pnconfig['commentlimit'] = 4096;
$pnconfig['anonymous'] = "Anonymous";
$pnconfig['minpass'] = 5;
$pnconfig['defaultgroup'] = "Users";
$pnconfig['pollcomm'] = 1;
$pnconfig['timezone_offset'] = '13.0';
$pnconfig['nobox'] = 0;
$pnconfig['minage'] = "13";
$pnconfig['startpage'] = "News";
// ----------------------------------------------------------------------
// General Stories Options
//
// $top: How many items in Top Page?
// $storyhome: How many stories to display in Home Page?
// $oldnum: How many stories in Old Articles Box?
// ----------------------------------------------------------------------
$pnconfig['top'] = 10;
$pnconfig['storyhome'] = 10;
$pnconfig['oldnum'] = 30;
// ----------------------------------------------------------------------
// Banners/Advertising Configuration
//
// $banners: Activate Banners Ads for your site? (1=Yes 0=No)
// $myIP: Write your IP number to not count impressions, be fair about this!
// ----------------------------------------------------------------------
$pnconfig['banners'] = 0;
$pnconfig['myIP'] = "150.10.10.10";
// ----------------------------------------------------------------------
// XML/RDF Backend Configuration
//
// $backend_title: Backend title, can be your site's name and slogan
// $backend_language: Language format of your site
// ----------------------------------------------------------------------
$pnconfig['backend_title'] = "PostNuke Powered Site";
$pnconfig['backend_language'] = "en-us";
// ----------------------------------------------------------------------
// Site Language Preferences
//
// $language: Language of your site (You need to have lng/*.php files for your selected language in the /language/ directory of your site)
// $locale: Locale configuration to correctly display date with your country format. (See /usr/share/locale)
// ----------------------------------------------------------------------
$pnconfig['language'] = "eng";
$pnconfig['locale'] = "en_US";
// ----------------------------------------------------------------------
// Multilingual Configuration
//
// $multilingual: Activate multilingual features? (1=Yes 0=No) No means you only want to use interface language switching.
// $useflags: (1=Yes 0=No) If set to Yes , flags will be used for the language switching , if set to No a dropdown box will be displayed
// ----------------------------------------------------------------------
$pnconfig['multilingual'] = "1";
$pnconfig['useflags'] = "0";
// ----------------------------------------------------------------------
// Web Links Preferences (Some variables are valid also for Downloads)
//
// $perpage: How many links to show on each page?
// $popular: How many hits need a link to be listed as popular?
// $newlinks: How many links to display in the New Links Page?
// $toplinks: How many links to display in The Best Links Page? (Most Popular)
// $linksresults: How many links to display on each search result page?
// $links_anonaddlinklock: Lock Unregistered users from Suggesting New Links? (1=Yes 0=No)
// $anonwaitdays: Number of days anonymous users need to wait to vote on a link
// $outsidewaitdays: Number of days outside users need to wait to vote on a link (checks IP)
// $useoutsidevoting: Allow Webmasters to put vote links on their site (1=Yes 0=No)
// $anonweight: How many Unregistered User vote per 1 Registered User Vote?
// $outsideweight: How many Outside User vote per 1 Registered User Vote?
// $detailvotedecimal: Let Detailed Vote Summary Decimal out to N places. (no max)
// $mainvotedecimal: Let Main Vote Summary Decimal show out to N places. (max 4)
// $toplinkspercentrigger: 1 to Show Top Links as a Percentage (else # of links)
// $toplinks: Either # of links OR percentage to show (percentage as whole number. #/100)
// $mostpoplinkspercentrigger: 1 to Show Most Popular Links as a Percentage (else # of links)
// $mostpoplinks: Either # of links OR percentage to show (percentage as whole number. #/100)
// $featurebox: 1 to Show Feature Link Box on links Main Page? (1=Yes 0=No)
// $linkvotemin: Number votes needed to make the 'top 10' list
// $blockunregmodify: Block unregistered users from suggesting links changes? (1=Yes 0=No)
// ----------------------------------------------------------------------
$pnconfig['perpage'] = 10;
$pnconfig['popular'] = 500;
$pnconfig['newlinks'] = 10;
$pnconfig['toplinks'] = 25;
$pnconfig['linksresults'] = 10;
$pnconfig['links_anonaddlinklock'] = 1;
$pnconfig['anonwaitdays'] = 1;
$pnconfig['outsidewaitdays'] = 1;
$pnconfig['useoutsidevoting'] = 1;
$pnconfig['anonweight'] = 10;
$pnconfig['outsideweight'] = 20;
$pnconfig['detailvotedecimal'] = 2;
$pnconfig['mainvotedecimal'] = 1;
$pnconfig['toplinkspercentrigger'] = 0;
$pnconfig['toplinks'] = 25;
$pnconfig['mostpoplinkspercentrigger'] = 0;
$pnconfig['mostpoplinks'] = 25;
$pnconfig['featurebox'] = 1;
$pnconfig['linkvotemin'] = 5;
$pnconfig['blockunregmodify'] = 0;
// ----------------------------------------------------------------------
// Downloads Preferences
//
// $newdownloads: How many downloads to display in the New downloads Page?
// $topdownloads: How many downloads to display in The Best downloads Page? (Most Popular)
// $downloadsresults: How many downloads to display on each search result page?
// $downloads_anonadddownloadlock: Lock Unregistered users from Suggesting New downloads? (1=Yes 0=No)
// $user_adddownload: Let users to add new downloads? (1=Yes 0=No)
// $topdownloadspercentrigger: 1 to Show Top downloads as a Percentage (else # of downloads)
// $topdownloads: Either # of downloads OR percentage to show (percentage as whole number. #/100)
// $mostpopdownloadspercentrigger: 1 to Show Most Popular downloads as a Percentage (else # of downloads)
// $mostpopdownloads: Either # of downloads OR percentage to show (percentage as whole number. #/100)
// $downloadvotemin: Number votes needed to make the 'top 10' list
// ----------------------------------------------------------------------
$pnconfig['newdownloads'] = 10;
$pnconfig['topdownloads'] = 25;
$pnconfig['downloadsresults'] = 10;
$pnconfig['downloads_anonadddownloadlock'] = 0;
$pnconfig['user_adddownload'] = 1;
$pnconfig['topdownloadspercentrigger'] = 0;
$pnconfig['topdownloads'] = 25;
$pnconfig['mostpopdownloadspercentrigger'] = 0;
$pnconfig['mostpopdownloads'] = 25;
$pnconfig['downloadvotemin'] = 5;
// ----------------------------------------------------------------------
// Notification of News Submissions
//
// $notify: Notify you each time your site receives a news submission? (1=Yes 0=No)
// $notify_email: Email, address to send the notification
// $notify_subject: Email subject
// $notify_message: Email body, message
// $notify_from: account name to appear in From field of the Email
// ----------------------------------------------------------------------
$pnconfig['notify'] = 0;
$pnconfig['notify_email'] = "hide@address.com";
$pnconfig['notify_subject'] = "NEWS for my site";
$pnconfig['notify_message'] = "Hey! You got a new submission for your site.";
$pnconfig['notify_from'] = "webmaster";
// ----------------------------------------------------------------------
// Moderation Config (not 100% working)
//
// $moderate: Activate moderation system? (1=Yes 0=No)
// $resons: List of reasons for the moderation (each reason under quotes and comma separated)
// $badreasons: Number of bad reasons in the reasons list
// ----------------------------------------------------------------------
$pnconfig['moderate'] = '1';
$pnconfig['reasons'] = array(
"As Is",
"Offtopic",
"Flamebait",
"Troll",
"Redundant",
"Insighful",
"Interesting",
"Informative",
"Funny",
"Overrated",
"Underrated"
);
// ----------------------------------------------------------------------
// Survey/Polls Config
//
// $BarScale: Scale for the Bar, multiple of 100, You may leave this to 1
// $setCookies: Set cookies to prevent visitors vote twice in a period of 24 hours? (1=Yes 0=No)
// ----------------------------------------------------------------------
$pnconfig['BarScale'] = 1;
$pnconfig['setCookies'] = 0;
// ----------------------------------------------------------------------
// Some Graphics Options
//
// $tipath: Topics images path (put / only at the end, not at the begining)
// $userimg: User images path (No / at begining and at the end)
// $adminimg: Administration system images path (put / only at the end, not at the begining)
// $admingraphic: Activate graphic menu for Administration Menu? (1=Yes 0=No)
// $admart: How many articles to show in the admin section?
// $usergraphic: Activate graphic menu for User Page (1=Yes 0=No)
// $topicsinrow: Number of icons displayed to not force horizontal scroll - rwwood
// ----------------------------------------------------------------------
$pnconfig['tipath'] = "images/topics/";
$pnconfig['userimg'] = "images/menu";
$pnconfig['adminimg'] = "images/admin/";
$pnconfig['admingraphic'] = '0';
$pnconfig['admart'] = 20;
$pnconfig['usergraphic'] = '1';
$pnconfig['topicsinrow'] = 3;
// ----------------------------------------------------------------------
// HTTP Referers Options
//
// $httpref: Activate HTTP referer logs to know who is linking to our site? (1=Yes 0=No)// $httprefmax: Maximum number of HTTP referers to store in the Database (Try to not set this to a high number, 500 ~ 1000 is Ok)
// ----------------------------------------------------------------------
$pnconfig['httpref'] = 1;
$pnconfig['httprefmax'] = 1000;
// ----------------------------------------------------------------------
$pnconfig['autolinkpref'] = 2;
// ----------------------------------------------------------------------
// Allowable HTML tags
//
// $AllowableHTML: HTML command to allow in the comments
// =>2 means accept all qualifiers: <foo bar>
// =>1 means accept the tag only: <foo>
// ----------------------------------------------------------------------
$pnconfig['AllowableHTML'] = array(
"p"=>2,
"b"=>1,
"i"=>1,
"a"=>2,
"em"=>1,
"br"=>1,
"strong"=>1,
"blockquote"=>1,
"tt"=>1,
"li"=>1,
"ol"=>1,
"ul"=>1
);
// ----------------------------------------------------------------------
// Filters Options
//
// $CensorList: List of bad word to be replaced on Comments
// $CensorMode: 0 = No Filtering (leave the bad words)
// 1 = Exact Match
// 2 = Match Word at the Begining
// 3 = Match String Anywhere in the Text
// $CensorReplace: String to replace bad words
// ----------------------------------------------------------------------
$pnconfig['CensorList'] = array(
"fuck",
"cunt",
"fucker",
"fucking",
"pussy",
"cock",
"c0ck",
"cum",
"twat",
"clit",
"bitch",
"fuk",
"fuking",
"motherfucker"
);
$pnconfig['CensorMode'] = 1;
$pnconfig['CensorReplace'] = "*****";
// ----------------------------------------------------------------------
// Do not touch the following options!
// ----------------------------------------------------------------------
$pnconfig['cookieadmtime'] = 2592000;
$pnconfig['cookiePrefix'] = "NukePoll";
$pnconfig['Version_Num'] = "0.7.0.3";
$pnconfig['Version_ID'] = "PostNuke";
$pnconfig['Version_Sub'] = "Rogue";
// ----------------------------------------------------------------------
// For debugging (Pablo Roca)
//
// $debug - debugger windows active
// 0 = No
// 1 = Yes
//
// $debug_sql - show SQL in debugger windows
// 0 = No
// 1 = Yes
// ----------------------------------------------------------------------
$pnconfig['debug'] = 0;
$pnconfig['debug_sql'] = 0;
// ----------------------------------------------------------------------
// if there is a personal_config.php in the folder where is config.php
// we add it. (this HAS to be at the end, after all initialization AND before the).
// next Extract()
// modif sebastien bernard
// ----------------------------------------------------------------------
if (@file_exists("personal_config.php"))
{ include("personal_config.php"); }
// ----------------------------------------------------------------------
// Make config file backwards compatable
// ----------------------------------------------------------------------
extract($pnconfig, EXTR_OVERWRITE);
?>