tag? 1=yes, 0=no $rss_encoded_html = 0; # length (in words) of excerpts in the RSS feed? 0=unlimited # note: in b2rss.php, this will be set to 0 if you use encoded HTML $rss_excerpt_length = 50; #use the excerpt field for rss feed. $rss_use_excerpt = 1; // ** Weblogs.com ping ** # set this to 1 if you want your site to be listed on http://weblogs.com when you add a new post $use_weblogsping = 0; // ** Blo.gs ping ** # set this to 1 if you want your site to be listed on http://blo.gs when you add a new post $use_blodotgsping = 0; # if you ping blo.gs, this is the URL that will be sent to it (enter your blog's URL): $blodotgsping_url = 'http://example.com'; // ** Trackback / PingBack ** # set this to 0 or 1, whether you want to allow your posts to be trackback'able or not # note: setting it to zero would also disable sending trackbacks $use_trackback = 1; # set this to 0 or 1, whether you want to allow your posts to be pingback'able or not # note: setting it to zero would also disable sending pingbacks $use_pingback = 1; // ** Comments options ** # set this to 1 to require e-mail and name, or 0 to allow comments without e-mail/name $require_name_email = 0; # here is a list of the tags that are allowed in the comments. # you can add tags to the list, just add them in the string, # add only the opening tag: for example, only '' instead of '' $comment_allowed_tags = '


'; # set this to 1 to let every author be notified about comments on their posts $comments_notify = 1; // ** Smilies options ** # set this to 1 to enable smiley conversion in posts # (note: this makes smiley conversion in ALL posts) $use_smilies = 0; # the directory where your smilies are (no trailing slash) $smilies_directory = 'http://example.com/b2-img/smilies'; # here's the conversion table, you can modify it if you know what you're doing $b2smiliestrans = array( ':)' => 'icon_smile.gif', ':D' => 'icon_biggrin.gif', ':-D' => 'icon_biggrin.gif', ':grin:' => 'icon_biggrin.gif', ':)' => 'icon_smile.gif', ':-)' => 'icon_smile.gif', ':smile:' => 'icon_smile.gif', ':(' => 'icon_sad.gif', ':-(' => 'icon_sad.gif', ':sad:' => 'icon_sad.gif', ':o' => 'icon_surprised.gif', ':-o' => 'icon_surprised.gif', ':eek:' => 'icon_surprised.gif', '8O' => 'icon_eek.gif', '8-O' => 'icon_eek.gif', ':shock:' => 'icon_eek.gif', ':?' => 'icon_confused.gif', ':-?' => 'icon_confused.gif', ':???:' => 'icon_confused.gif', '8)' => 'icon_cool.gif', '8-)' => 'icon_cool.gif', ':cool:' => 'icon_cool.gif', ':lol:' => 'icon_lol.gif', ':x' => 'icon_mad.gif', ':-x' => 'icon_mad.gif', ':mad:' => 'icon_mad.gif', ':P' => 'icon_razz.gif', ':-P' => 'icon_razz.gif', ':razz:' => 'icon_razz.gif', ':oops:' => 'icon_redface.gif', ':cry:' => 'icon_cry.gif', ':evil:' => 'icon_evil.gif', ':twisted:' => 'icon_twisted.gif', ':roll:' => 'icon_rolleyes.gif', ':wink:' => 'icon_wink.gif', ';)' => 'icon_wink.gif', ';-)' => 'icon_wink.gif', ':!:' => 'icon_exclaim.gif', ':?:' => 'icon_question.gif', ':idea:' => 'icon_idea.gif', ':arrow:' => 'icon_arrow.gif', ':|' => 'icon_neutral.gif', ':-|' => 'icon_neutral.gif', ':neutral:' => 'icon_neutral.gif', ':mrgreen:' => 'icon_mrgreen.gif', ); # the weekdays and the months.. translate them if necessary $weekday[0]='Sunday'; $weekday[1]='Monday'; $weekday[2]='Tuesday'; $weekday[3]='Wednesday'; $weekday[4]='Thursday'; $weekday[5]='Friday'; $weekday[6]='Saturday'; # the months, translate them if necessary - note: this isn't active everywhere yet $month['01']='January'; $month['02']='February'; $month['03']='March'; $month['04']='April'; $month['05']='May'; $month['06']='June'; $month['07']='July'; $month['08']='August'; $month['09']='September'; $month['10']='October'; $month['11']='November'; $month['12']='December'; # $b2inc is where the included b2 files are: that's generally the directory b2-include, # so you shouldn't have to change that setting $b2inc = 'b2-include'; // ** Querystring Configuration ** (don't change if you don't know what you're doing) $querystring_start = '?'; $querystring_equal = '='; $querystring_separator = '&'; // ** Configuration for b2mail.php ** (skip this if you don't intend to blog via email) # mailserver settings $mailserver_url = 'mail.example.com'; $mailserver_login = 'login@example.com'; $mailserver_pass = 'password'; $mailserver_port = 110; # by default posts will have this category $default_category = 1; # subject prefix $subjectprefix = 'blog:'; # body terminator string (starting from this string, everything will be ignored, including this string) $bodyterminator = "___"; # set this to 1 to run in test mode $thisisforfunonly = 0; ### Special Configuration for some phone email services # some mobile phone email services will send identical subject & content on the same line # if you use such a service, set $use_phoneemail to 1, and indicate a separator string # when you compose your message, you'll type your subject then the separator string # then you type your login:password, then the separator, then content $use_phoneemail = 0; $phoneemail_separator = ':::'; /* Stop editing */ $HTTP_HOST=getenv('HTTP_HOST'); /* domain name */ $REMOTE_ADDR=getenv('REMOTE_ADDR'); /* visitor's IP */ $HTTP_USER_AGENT=getenv('HTTP_USER_AGENT'); /* visitor's browser */ $server = $dbhost; $loginsql = $dbusername; $passsql = $dbpassword; $path = $pathserver; $base = $dbname; // This is so the new admin location works ini_set('include_path', ".:../:../$b2inc"); ?>