[pLog-svn] r7096 - in plog/branches/lifetype-1.2: . bin-devel config
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Mon Dec 20 14:25:17 EST 2010
Author: jondaley
Date: 2010-12-20 14:25:17 -0500 (Mon, 20 Dec 2010)
New Revision: 7096
Added:
plog/branches/lifetype-1.2/config/cache.properties.php.dist
plog/branches/lifetype-1.2/config/config.properties.php.dist
plog/branches/lifetype-1.2/config/logging.properties.php.dist
plog/branches/lifetype-1.2/config/userdata.properties.php.dist
Removed:
plog/branches/lifetype-1.2/config/cache.properties.php
plog/branches/lifetype-1.2/config/config.properties.php
plog/branches/lifetype-1.2/config/logging.properties.php
plog/branches/lifetype-1.2/config/userdata.properties.php
plog/branches/lifetype-1.2/release/
Modified:
plog/branches/lifetype-1.2/bin-devel/build-core-all-svn.sh
plog/branches/lifetype-1.2/bin-devel/build-core-diff.sh
Log:
put .dist files in the config directory. Remove the release directory. Remove actual config files from subversion, so they won't be checked in accidentally by programmers like me
Modified: plog/branches/lifetype-1.2/bin-devel/build-core-all-svn.sh
===================================================================
--- plog/branches/lifetype-1.2/bin-devel/build-core-all-svn.sh 2010-12-20 19:05:38 UTC (rev 7095)
+++ plog/branches/lifetype-1.2/bin-devel/build-core-all-svn.sh 2010-12-20 19:25:17 UTC (rev 7096)
@@ -24,7 +24,7 @@
# can be used here
# NOTE: When changing this list, update the list in build-diff.sh as well
-TOREMOVE="include_files release/ locale/unported/ templates/LifeType/ templates/standard-with-plugins/ templates/grey-sf/ templates/plogworld docs-devel/ class/gallery/getid3/module.archive.rar.php class/gallery/getid3/module.archive.szip.php class/gallery/getid3/module.audio-video.bink.php class/gallery/getid3/module.audio-video.matroska.php class/gallery/getid3/module.audio-video.nsv.php class/gallery/getid3/module.audio.avr.php class/gallery/getid3/module.audio.bonk.php class/gallery/getid3/module.audio.la.php class/gallery/getid3/module.audio.lpac.php class/gallery/getid3/module.audio.monkey.php class/gallery/getid3/module.audio.optimfrog.php class/gallery/getid3/module.audio.rkau.php class/gallery/getid3/module.audio.shorten.php class/gallery/getid3/module.audio.tta.php class/gallery/getid3/module.audio.voc.php class/gallery/getid3/module.audio.vqf.php class/gallery/getid3/module.graphic.bmp.php class/gallery/getid3/module.graphpc.pcd.php class/gallery/getid3/module.mis
c.exe.php class/gallery/getid3/module.misc.iso.php class/gallery/getid3/extension.cache.dbm.php class/gallery/getid3/extension.cache.mysql.php class/gallery/getid3/write.apetag.php class/gallery/getid3/write.id3v1.php class/gallery/getid3/write.id3v2.php class/gallery/getid3/write.lyrics3.php class/gallery/getid3/write.metaflac.php class/gallery/getid3/write.php class/gallery/getid3/write.real.php class/gallery/getid3/write.vorbiscomment.php dbperf.php *.xcode tools/ runtests.php class/test/ js/tinymce/tiny_mce_src.js js/tinymce/themes/*/editor_template_src.js js/tinymce/plugins/*/editor_plugin_src.js"
+TOREMOVE="include_files locale/unported/ templates/LifeType/ templates/standard-with-plugins/ templates/grey-sf/ templates/plogworld docs-devel/ class/gallery/getid3/module.archive.rar.php class/gallery/getid3/module.archive.szip.php class/gallery/getid3/module.audio-video.bink.php class/gallery/getid3/module.audio-video.matroska.php class/gallery/getid3/module.audio-video.nsv.php class/gallery/getid3/module.audio.avr.php class/gallery/getid3/module.audio.bonk.php class/gallery/getid3/module.audio.la.php class/gallery/getid3/module.audio.lpac.php class/gallery/getid3/module.audio.monkey.php class/gallery/getid3/module.audio.optimfrog.php class/gallery/getid3/module.audio.rkau.php class/gallery/getid3/module.audio.shorten.php class/gallery/getid3/module.audio.tta.php class/gallery/getid3/module.audio.voc.php class/gallery/getid3/module.audio.vqf.php class/gallery/getid3/module.graphic.bmp.php class/gallery/getid3/module.graphpc.pcd.php class/gallery/getid3/module.misc.exe.php
class/gallery/getid3/module.misc.iso.php class/gallery/getid3/extension.cache.dbm.php class/gallery/getid3/extension.cache.mysql.php class/gallery/getid3/write.apetag.php class/gallery/getid3/write.id3v1.php class/gallery/getid3/write.id3v2.php class/gallery/getid3/write.lyrics3.php class/gallery/getid3/write.metaflac.php class/gallery/getid3/write.php class/gallery/getid3/write.real.php class/gallery/getid3/write.vorbiscomment.php dbperf.php *.xcode tools/ runtests.php class/test/ js/tinymce/tiny_mce_src.js js/tinymce/themes/*/editor_template_src.js js/tinymce/plugins/*/editor_plugin_src.js"
#
# helper functions to print things in different colors
@@ -113,13 +113,12 @@
fi
chmod 777 $WORKDIR/gallery
-# copy the generic config file and remove the dist/ folder since it is not needed
-message "Copying the generic config.properties.file..."
-cp -f $WORKDIR/release/config.properties.php.dist $WORKDIR/config/config.properties.php
-cp -f $WORKDIR/release/logging.properties.php.dist $WORKDIR/config/logging.properties.php
-cp -f $WORKDIR/release/cache.properties.php.dist $WORKDIR/config/cache.properties.php
-cp -f $WORKDIR/release/userdata.properties.php.dist $WORKDIR/config/userdata.properties.php
-rm -rf $WORKDIR/release
+# copy the generic config files
+message "Installing the generic config files..."
+mv $WORKDIR/config/config.properties.php.dist $WORKDIR/config/config.properties.php
+mv $WORKDIR/config/logging.properties.php.dist $WORKDIR/config/logging.properties.php
+mv $WORKDIR/config/cache.properties.php.dist $WORKDIR/config/cache.properties.php
+mv $WORKDIR/config/userdata.properties.php.dist $WORKDIR/config/userdata.properties.php
# regular users want to use the wizard
mv $WORKDIR/wizard $WORKDIR/wizard.php
Modified: plog/branches/lifetype-1.2/bin-devel/build-core-diff.sh
===================================================================
--- plog/branches/lifetype-1.2/bin-devel/build-core-diff.sh 2010-12-20 19:05:38 UTC (rev 7095)
+++ plog/branches/lifetype-1.2/bin-devel/build-core-diff.sh 2010-12-20 19:25:17 UTC (rev 7096)
@@ -31,7 +31,7 @@
# NOTE: the exact same list is also maintained in build-svn.sh, please make sure that
# changes made here also propagated to the other script
#
-TOREMOVE="include_files release/ locale/unported/ templates/LifeType/ templates/standard-with-plugins/ templates/grey-sf/ templates/plogworld docs-devel/ class/gallery/getid3/module.archive.rar.php class/gallery/getid3/module.archive.szip.php class/gallery/getid3/module.audio-video.bink.php class/gallery/getid3/module.audio-video.matroska.php class/gallery/getid3/module.audio-video.nsv.php class/gallery/getid3/module.audio.avr.php class/gallery/getid3/module.audio.bonk.php class/gallery/getid3/module.audio.la.php class/gallery/getid3/module.audio.lpac.php class/gallery/getid3/module.audio.monkey.php class/gallery/getid3/module.audio.optimfrog.php class/gallery/getid3/module.audio.rkau.php class/gallery/getid3/module.audio.shorten.php class/gallery/getid3/module.audio.tta.php class/gallery/getid3/module.audio.voc.php class/gallery/getid3/module.audio.vqf.php class/gallery/getid3/module.graphic.bmp.php class/gallery/getid3/module.graphpc.pcd.php class/gallery/getid3/module.mis
c.exe.php class/gallery/getid3/module.misc.iso.php class/gallery/getid3/extension.cache.dbm.php class/gallery/getid3/extension.cache.mysql.php class/gallery/getid3/write.apetag.php class/gallery/getid3/write.id3v1.php class/gallery/getid3/write.id3v2.php class/gallery/getid3/write.lyrics3.php class/gallery/getid3/write.metaflac.php class/gallery/getid3/write.php class/gallery/getid3/write.real.php class/gallery/getid3/write.vorbiscomment.php dbperf.php *.xcode tools/ runtests.php class/test/ js/tinymce/tiny_mce_src.js js/tinymce/themes/*/editor_template_src.js js/tinymce/plugins/*/editor_plugin_src.js"
+TOREMOVE="include_files locale/unported/ templates/LifeType/ templates/standard-with-plugins/ templates/grey-sf/ templates/plogworld docs-devel/ class/gallery/getid3/module.archive.rar.php class/gallery/getid3/module.archive.szip.php class/gallery/getid3/module.audio-video.bink.php class/gallery/getid3/module.audio-video.matroska.php class/gallery/getid3/module.audio-video.nsv.php class/gallery/getid3/module.audio.avr.php class/gallery/getid3/module.audio.bonk.php class/gallery/getid3/module.audio.la.php class/gallery/getid3/module.audio.lpac.php class/gallery/getid3/module.audio.monkey.php class/gallery/getid3/module.audio.optimfrog.php class/gallery/getid3/module.audio.rkau.php class/gallery/getid3/module.audio.shorten.php class/gallery/getid3/module.audio.tta.php class/gallery/getid3/module.audio.voc.php class/gallery/getid3/module.audio.vqf.php class/gallery/getid3/module.graphic.bmp.php class/gallery/getid3/module.graphpc.pcd.php class/gallery/getid3/module.misc.exe.php
class/gallery/getid3/module.misc.iso.php class/gallery/getid3/extension.cache.dbm.php class/gallery/getid3/extension.cache.mysql.php class/gallery/getid3/write.apetag.php class/gallery/getid3/write.id3v1.php class/gallery/getid3/write.id3v2.php class/gallery/getid3/write.lyrics3.php class/gallery/getid3/write.metaflac.php class/gallery/getid3/write.php class/gallery/getid3/write.real.php class/gallery/getid3/write.vorbiscomment.php dbperf.php *.xcode tools/ runtests.php class/test/ js/tinymce/tiny_mce_src.js js/tinymce/themes/*/editor_template_src.js js/tinymce/plugins/*/editor_plugin_src.js"
# parameters with the branches
BRANCH1=$1
@@ -104,11 +104,5 @@
# remove files that shouldn't be included in any release
rm -rf $DESTFOLDER/bin-devel/
rm -rf $DESTFOLDER/docs-devel/
-rm -rf $DESTFOLDER/plog.xcode/
-rm -rf $DESTFOLDER/release/
-rm -rf $DESTFOLDER/templates/LifeType
-rm -rf $DESTFOLDER/templates/grey-sf
-rm -rf $DESTFOLDER/templates/plogworld
-
echo "Done! Output available under the $DESTFOLDER/ folder"
Deleted: plog/branches/lifetype-1.2/config/cache.properties.php
===================================================================
--- plog/branches/lifetype-1.2/config/cache.properties.php 2010-12-20 19:05:38 UTC (rev 7095)
+++ plog/branches/lifetype-1.2/config/cache.properties.php 2010-12-20 19:25:17 UTC (rev 7096)
@@ -1,29 +0,0 @@
-<?php
-#
-# Settings for the data cache. If you're unsure what this means,
-# do not modify these settings. If you are planning to use
-# memcached as your cache system, please take a look below.
-#
-
-$config["cache_method"] = "cache_lite";
-
-#
-# cache settings for Cache_Lite
-#
-$config["cache_lite_cache_dir"] = "./tmp/";
-$config["cache_lite_life_time"] = 604800;
-$config["cache_lite_read_control"] = false;
-$config["cache_lite_automatic_serialization"] = true;
-$config["cache_lite_hashed_directory_level"] = 2;
-$config["cache_lite_filename_protection"] = true;
-
-#
-# cache settings for Memcached
-#
-$config["memcached_servers"] = array( "127.0.0.1:11211" );
-$config["memcached_life_time"] = 604800;
-$config["memcached_debug"] = false;
-$config["memcached_compress_threshold"] = 10240;
-$config["memcached_persistant"] = true;
-
-?>
\ No newline at end of file
Copied: plog/branches/lifetype-1.2/config/cache.properties.php.dist (from rev 7094, plog/branches/lifetype-1.2/release/cache.properties.php.dist)
===================================================================
--- plog/branches/lifetype-1.2/config/cache.properties.php.dist (rev 0)
+++ plog/branches/lifetype-1.2/config/cache.properties.php.dist 2010-12-20 19:25:17 UTC (rev 7096)
@@ -0,0 +1,29 @@
+<?php
+#
+# Settings for the data cache. If you're unsure what this means,
+# do not modify these settings. If you are planning to use
+# memcached as your cache system, please take a look below. The only two
+# possible values are cache_lite and memcached
+#
+
+$config["cache_method"] = "cache_lite";
+
+#
+# cache settings for Cache_Lite
+#
+$config["cache_lite_cache_dir"] = "./tmp/";
+$config["cache_lite_life_time"] = 604800;
+$config["cache_lite_read_control"] = false;
+$config["cache_lite_automatic_serialization"] = true;
+$config["cache_lite_hashed_directory_level"] = 2;
+
+#
+# cache settings for Memcached
+#
+$config["memcached_servers"] = array( "127.0.0.1:11211" );
+$config["memcached_life_time"] = 604800;
+$config["memcached_debug"] = false;
+$config["memcached_compress_threshold"] = 10240;
+$config["memcached_persistant"] = true;
+
+?>
\ No newline at end of file
Deleted: plog/branches/lifetype-1.2/config/config.properties.php
===================================================================
--- plog/branches/lifetype-1.2/config/config.properties.php 2010-12-20 19:05:38 UTC (rev 7095)
+++ plog/branches/lifetype-1.2/config/config.properties.php 2010-12-20 19:25:17 UTC (rev 7096)
@@ -1,44 +0,0 @@
-<?php
-#
-# database settings
-#
-# Installation instructions:
-# NEW INSTALL
-# Leave these values blank,
-# and go to the URL where you installed LifeType
-# and look at /wizard.php and type the appropriate
-# values in there.
-#
-# This file needs to be writable
-# by whatever user your php scripts run as.
-# The easiest thing to do is to make this file
-# writable by everyone, and then after the wizard
-# completes, remove write privileges from everyone
-# except yourself.
-#
-# UPGRADE
-# remove all files from your old plog directory
-# (back them up somewhere, also backup your current
-# database)
-# Upload new pLog files into the same directory,
-# and then copy your old config.properties.php
-# over this file, and then run the wizard.
-# (note, if upgrading between minor releases:
-# 1.0 to 1.0.1, etc. you shouldn't run the wizard)
-
-$config['db_host'] = '';
-$config['db_username'] = '';
-$config['db_password'] = '';
-$config['db_database'] = '';
-$config["db_persistent"] = true;
-$config['db_character_set'] = '';
-
-#
-# the database prefix will be appended to the name of each database tables in case you want
-# to have more than one version of plog running at the same time, such as the stable and
-# unstable one for testing. Each one could use a different prefix and therefore they could
-# coexist in the same unique database. If you change this after the initial configuration done
-# with the installation wizard, please make sure that you also rename the tables.
-#
-$config['db_prefix'] = '';
-?>
Copied: plog/branches/lifetype-1.2/config/config.properties.php.dist (from rev 7094, plog/branches/lifetype-1.2/release/config.properties.php.dist)
===================================================================
--- plog/branches/lifetype-1.2/config/config.properties.php.dist (rev 0)
+++ plog/branches/lifetype-1.2/config/config.properties.php.dist 2010-12-20 19:25:17 UTC (rev 7096)
@@ -0,0 +1,53 @@
+<?php
+#
+# database settings
+#
+# Installation instructions:
+# NEW INSTALL
+# Leave these values blank,
+# and go to the URL where you installed LifeType
+# and look at /wizard.php and type the appropriate
+# values in there.
+#
+# This file needs to be writable
+# by whatever user your php scripts run as.
+# The easiest thing to do is to make this file
+# writable by everyone, and then after the wizard
+# completes, remove write privileges from everyone
+# except yourself.
+#
+# UPGRADE
+# remove all files from your old plog directory
+# (back them up somewhere, also backup your current
+# database)
+# Upload new pLog files into the same directory,
+# and then copy your old config.properties.php
+# over this file, and then run the wizard.
+# (note, if upgrading between minor releases:
+# 1.0 to 1.0.1, etc. you shouldn't run the wizard)
+
+$config["db_host"] = "";
+$config["db_username"] = "";
+$config["db_password"] = "";
+$config["db_database"] = "";
+$config["db_persistent"] = true;
+$config["db_character_set"] = "default";
+
+#
+# the database prefix will be appended to the name of each database tables in case you want
+# to have more than one version of plog running at the same time, such as the stable and
+# unstable one for testing. Each one could use a different prefix and therefore they could
+# coexist in the same unique database. If you change this after the initial configuration done
+# with the installation wizard, please make sure that you also rename the tables.
+#
+$config["db_prefix"] = "";
+
+#
+# This array is used to pass driver-specific parameters. Currently the only supported
+# one is enable_fulltext_search, that informs the MySQL driver that FULLTEXT indexes
+# can be used to speed up searches. It's disabled by default as it does not work with
+# languages such as Chinese or Japanese. In all other cases, you probably want to enable
+# this for performance reasons (searches are lot faster if using the FULLTEXT indexes)
+#
+$config["db_options"] = Array( "enable_mysql_fulltext_search" => false );
+?>
\ No newline at end of file
Deleted: plog/branches/lifetype-1.2/config/logging.properties.php
===================================================================
--- plog/branches/lifetype-1.2/config/logging.properties.php 2010-12-20 19:05:38 UTC (rev 7095)
+++ plog/branches/lifetype-1.2/config/logging.properties.php 2010-12-20 19:25:17 UTC (rev 7096)
@@ -1,68 +0,0 @@
-<?php
-#
-# configuration for the default logger. If it is generating
-# too much logs for your tatest, set "appender" to "null". This will
-# be disabled once the final version is out anyway...
-#
-
-$config["default"] = Array(
- "layout" => "%d %N - [%f:%l (%c:%F)] %m%n",
- "appender" => "file",
- "file" => PLOG_CLASS_PATH."tmp/lifetype.log",
- "prio" => "debug"
- );
-
-// debug output sent to debug.log by default.
-
-$config["debug"] = Array(
- "layout" => "%t%n%d %N - [%f:%l (%c:%F)] %m%n",
- "appender" => "null",
- "file" => PLOG_CLASS_PATH."tmp/debug.log",
- "prio" => "info"
- );
-#
-# this logger is the only one enabled by default
-# and it will log all sql queries that generate an error
-# to the file tmp/sql_error.log
-#
-$config["sqlerr"] = Array(
- "layout" => "%S%n %d %N - %m%n",
- "appender" => "file",
- "file" => PLOG_CLASS_PATH."tmp/sql_error.log",
- "prio" => "error"
- );
-
-#
-# special logger for the trackback.php script, it sends the data to
-# tmp/trackback.log
-#
-$config["trackback"] = Array(
- "layout" => "%d %N - [%f:%l (%c:%F)] %m%n",
- "appender" => "null",
- "file" => PLOG_CLASS_PATH."tmp/trackback.log",
- "prio" => "debug"
- );
-
-#
-# special logger for metrics and performance statistics. This file is a CSV file and the
-# columns have the following meaning:
-#
-# timestamp (14-digit)
-# memory usage
-# total execution time
-# number of included files
-# number of SQL queries executed
-# total number of cache queries
-# total number of cache hits
-# total number of cache misses
-# script being executed
-# URL being processed
-#
-$config["metricslog"] = Array(
- "layout" => "%m%n",
- "appender" => "null",
- "file" => PLOG_CLASS_PATH."tmp/metrics.log",
- "prio" => "debug"
- );
-
-?>
Copied: plog/branches/lifetype-1.2/config/logging.properties.php.dist (from rev 7094, plog/branches/lifetype-1.2/release/logging.properties.php.dist)
===================================================================
--- plog/branches/lifetype-1.2/config/logging.properties.php.dist (rev 0)
+++ plog/branches/lifetype-1.2/config/logging.properties.php.dist 2010-12-20 19:25:17 UTC (rev 7096)
@@ -0,0 +1,68 @@
+<?php
+#
+# configuration for the default logger. If it is generating
+# too much logs for your tatest, set "appender" to "null". This will
+# be disabled once the final version is out anyway...
+#
+
+$config["default"] = Array(
+ "layout" => "%d %N - [%f:%l (%c:%F)] %m%n",
+ "appender" => "null",
+ "file" => PLOG_CLASS_PATH."tmp/lifetype.log",
+ "prio" => "debug"
+ );
+
+// debug output sent to debug.log by default.
+
+$config["debug"] = Array(
+ "layout" => "%t%n%d %N - [%f:%l (%c:%F)] %m%n",
+ "appender" => "null",
+ "file" => PLOG_CLASS_PATH."tmp/debug.log",
+ "prio" => "info"
+ );
+#
+# this logger is the only one enabled by default
+# and it will log all sql queries that generate an error
+# to the file tmp/sql_error.log
+#
+$config["sqlerr"] = Array(
+ "layout" => "%S%n %d %N - %m%n",
+ "appender" => "file",
+ "file" => PLOG_CLASS_PATH."tmp/sql_error.log",
+ "prio" => "error"
+ );
+
+#
+# special logger for the trackback.php script, it sends the data to
+# tmp/trackback.log
+#
+$config["trackback"] = Array(
+ "layout" => "%d %N - [%f:%l (%c:%F)] %m%n",
+ "appender" => "null",
+ "file" => PLOG_CLASS_PATH."tmp/trackback.log",
+ "prio" => "debug"
+ );
+
+#
+# special logger for metrics and performance statistics. This file is a CSV file and the
+# columns have the following meaning:
+#
+# timestamp (14-digit)
+# memory usage
+# total execution time
+# number of included files
+# number of SQL queries executed
+# total number of cache queries
+# total number of cache hits
+# total number of cache misses
+# script being executed
+# URL being processed
+#
+$config["metricslog"] = Array(
+ "layout" => "%m%n",
+ "appender" => "null",
+ "file" => PLOG_CLASS_PATH."tmp/metrics.log",
+ "prio" => "debug"
+ );
+
+?>
Deleted: plog/branches/lifetype-1.2/config/userdata.properties.php
===================================================================
--- plog/branches/lifetype-1.2/config/userdata.properties.php 2010-12-20 19:05:38 UTC (rev 7095)
+++ plog/branches/lifetype-1.2/config/userdata.properties.php 2010-12-20 19:25:17 UTC (rev 7096)
@@ -1,120 +0,0 @@
-<?php
-####
-# Please do not edit these configuration settings unless you have read
-# and fully understood the documentation for user data providers:
-# http://wiki.lifetype.net/index.php/User_data_providers
-####
-
-#
-# Default user data provider, LifeType's own one
-#
-$config = Array(
- "provider" => "LifeTypeUserDataProvider",
-);
-
-#
-# PHPBB2 user data provider
-#
-/*$config = Array(
- "provider" => "PhpBB2UserDataProvider",
- "createBlogIfNotExisting" => true,
- "database" => "phpbb2",
- "user" => "root",
- "password" => "",
- "prefix" => "phpbb_"
-);*/
-
-#
-# Simple PostNuke user data provider
-#
-/*$config = Array(
- // general
- "provider" => "SimplePostNukeUserDataProvider",
- "createBlogIfNotExisting" => true,
-
- // PostNuke db connection
- "host" => "localhost",
- "database" => "postnuke76",
- "user" => "root",
- "password" => "",
- "prefix" => "pn_",
-
- // This string gets appended to the username and results
- // in "Username's Weblog"
- "blogtitle_postfix" => "'s Weblog"
-);*/
-
-#
-# VBB3 user data provider
-#
-/*$config = Array(
- "provider" => "vbb3UserDataProvider",
- "createBlogIfNotExisting" => false,
- "database" => "bbs", //vbb database name
- "user" => "bbs", //vbb data base user name
- "password" => "", //vbb data base user password
- "prefix" => "", //vbb data base prefix
- "usesalt" => true, //use password salt or not , if vbb3 ,plz set to true
- "allowgroup" => Array(2,5,6,7), //default set to 2,5,6,7
- "denygroup" => Array(3,4), //default set to 3,4
- "admingroup" => Array(6), //default set to 6
- "adminuser" => Array(1) //default set to 1
-);*/
-
-#
-# WBB2 user data provider
-#
-/*$config = Array(
- // general
- "provider" => "WBBUserDataProvider",
- "createBlogIfNotExisting" => true,
-
- // WBB2 connection
- "host" => "localhost", //database server default: localhost
- "database" => "", //database name
- "user" => "", //database user
- "password" => "", //user-password
- "prefix" => "bb1_", //wbb2-prefix default: bb1_
- "admingroup" => Array('1','11','42'), //groupcombinationIDs for Admin default: 1,11,42
- "blogtitle_postfix" => "'s Blog" // This string gets appended to the username in blogtitle: "Username's Blog"
-);
-*/
-
-#
-# JOOMLA user data provider
-#
-#
-# Please run the following SQL query in your LifeType database,
-# as it is required by the provider
-#
-# CREATE TABLE `lt_joomla_users` (
-# `id` int(10) unsigned NOT NULL auto_increment,
-# `joomla_id` int(10) unsigned NOT NULL,
-# `about` text,
-# `properties` text NOT NULL,
-# `resource_picture_id` int(10) NOT NULL default '0',
-# `blog_site_admin` int(10) NOT NULL default '0',
-# PRIMARY KEY (`id`),
-# UNIQUE KEY `joomla_id` (`joomla_id`)
-# ) ENGINE=MyISAM AUTO_INCREMENT=1 ;
-/*
-$config = Array(
- // general
- "provider" => "JoomlaUserDataProvider",
- "createBlogIfNotExisting" => true,
-
- // Joomla db connection
- "host" => "mysql_host",
- "database" => "joomla_db",
- "user" => "joomla_db_user",
- "password" => "joomla_db_pass",
- "prefix" => "jos_",
- "useNewJoomlaAuth" => true, // This is needed for Joomla 1.0.13 and higher
-
- // This string gets appended to the username and results
- // in "Username's Weblog"
- "blogtitle_postfix" => "'s Weblog"
-);
-*/
-
-?>
Copied: plog/branches/lifetype-1.2/config/userdata.properties.php.dist (from rev 7094, plog/branches/lifetype-1.2/release/userdata.properties.php.dist)
===================================================================
--- plog/branches/lifetype-1.2/config/userdata.properties.php.dist (rev 0)
+++ plog/branches/lifetype-1.2/config/userdata.properties.php.dist 2010-12-20 19:25:17 UTC (rev 7096)
@@ -0,0 +1,119 @@
+<?php
+####
+# Please do not edit these configuration settings unless you have read
+# and fully understood the documentation for user data providers:
+# http://wiki.lifetype.net/index.php/User_data_providers
+####
+
+#
+# Default user data provider, LifeType's own one
+#
+$config = Array(
+ "provider" => "LifeTypeUserDataProvider",
+);
+
+#
+# PHPBB2 user data provider
+#
+/*$config = Array(
+ "provider" => "PhpBB2UserDataProvider",
+ "createBlogIfNotExisting" => true,
+ "database" => "phpbb2",
+ "user" => "root",
+ "password" => "",
+ "prefix" => "phpbb_"
+);*/
+
+#
+# Simple PostNuke user data provider
+#
+/*$config = Array(
+ // general
+ "provider" => "SimplePostNukeUserDataProvider",
+ "createBlogIfNotExisting" => true,
+
+ // PostNuke db connection
+ "host" => "localhost",
+ "database" => "postnuke76",
+ "user" => "root",
+ "password" => "",
+ "prefix" => "pn_",
+
+ // This string gets appended to the username and results
+ // in "Username's Weblog"
+ "blogtitle_postfix" => "'s Weblog"
+);*/
+
+#
+# VBB3 user data provider
+#
+/*$config = Array(
+ "provider" => "vbb3UserDataProvider",
+ "createBlogIfNotExisting" => false,
+ "database" => "bbs", //vbb database name
+ "user" => "bbs", //vbb data base user name
+ "password" => "", //vbb data base user password
+ "prefix" => "", //vbb data base prefix
+ "usesalt" => true, //use password salt or not , if vbb3 ,plz set to true
+ "allowgroup" => Array(2,5,6,7), //default set to 2,5,6,7
+ "denygroup" => Array(3,4), //default set to 3,4
+ "admingroup" => Array(6), //default set to 6
+ "adminuser" => Array(1) //default set to 1
+);*/
+
+#
+# WBB2 user data provider
+#
+/*$config = Array(
+ // general
+ "provider" => "WBBUserDataProvider",
+ "createBlogIfNotExisting" => true,
+
+ // WBB2 connection
+ "host" => "localhost", //database server default: localhost
+ "database" => "", //database name
+ "user" => "", //database user
+ "password" => "", //user-password
+ "prefix" => "bb1_", //wbb2-prefix default: bb1_
+ "admingroup" => Array('1','11','42'), //groupcombinationIDs for Admin default: 1,11,42
+ "blogtitle_postfix" => "'s Blog" // This string gets appended to the username in blogtitle: "Username's Blog"
+);
+*/
+
+#
+# JOOMLA user data provider
+#
+#
+# Please run the following SQL query in your LifeType database,
+# as it is required by the provider
+#
+# CREATE TABLE `lt_joomla_users` (
+# `id` int(10) unsigned NOT NULL auto_increment,
+# `joomla_id` int(10) unsigned NOT NULL,
+# `about` text,
+# `properties` text NOT NULL,
+# `resource_picture_id` int(10) NOT NULL default '0',
+# `blog_site_admin` int(10) NOT NULL default '0',
+# PRIMARY KEY (`id`),
+# UNIQUE KEY `joomla_id` (`joomla_id`)
+# ) ENGINE=MyISAM AUTO_INCREMENT=1 ;
+/*
+$config = Array(
+ // general
+ "provider" => "JoomlaUserDataProvider",
+ "createBlogIfNotExisting" => true,
+
+ // Joomla db connection
+ "host" => "mysql_host",
+ "database" => "joomla_db",
+ "user" => "joomla_db_user",
+ "password" => "joomla_db_pass",
+ "prefix" => "jos_",
+
+ // This string gets appended to the username and results
+ // in "Username's Weblog"
+ "blogtitle_postfix" => "'s Weblog"
+);
+*/
+
+?>
More information about the pLog-svn
mailing list