[geeklog-cvs] geeklog: Changed some default settings

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Mon Apr 20 08:13:45 EDT 2009


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/1e5dde053c54
changeset: 6972:1e5dde053c54
user:      Dirk Haun <dirk at haun-online.de>
date:      Sun Apr 19 19:34:29 2009 +0200
description:
Changed some default settings

diffstat:

3 files changed, 17 insertions(+), 10 deletions(-)
public_html/admin/install/config-install.php |    8 ++++----
public_html/docs/english/config.html         |   14 ++++++++------
public_html/docs/history                     |    5 +++++

diffs (103 lines):

diff -r 005ae6dbbba0 -r 1e5dde053c54 public_html/admin/install/config-install.php
--- a/public_html/admin/install/config-install.php	Sun Apr 19 18:39:22 2009 +0200
+++ b/public_html/admin/install/config-install.php	Sun Apr 19 19:34:29 2009 +0200
@@ -154,7 +154,7 @@
     $c->add('link_versionchecker',1,'select',3,12,0,1160,TRUE);
 
     $c->add('fs_topics_block', NULL, 'fieldset', 3, 13, NULL, 0, TRUE);
-    $c->add('sortmethod','sortnum','select',3,13,15,870,TRUE);
+    $c->add('sortmethod','alpha','select',3,13,15,870,TRUE);
     $c->add('showstorycount',1,'select',3,13,0,880,TRUE);
     $c->add('showsubmissioncount',1,'select',3,13,0,890,TRUE);
     $c->add('hide_home_link',0,'select',3,13,0,900,TRUE);
@@ -225,7 +225,7 @@
     $c->add('fs_comments', NULL, 'fieldset', 4, 21, NULL, 0, TRUE);
     $c->add('commentspeedlimit',45,'text',4,21,NULL,1640,TRUE);
     $c->add('comment_limit',100,'text',4,21,NULL,1650,TRUE);
-    $c->add('comment_mode','threaded','select',4,21,11,1660,TRUE);
+    $c->add('comment_mode','nested','select',4,21,11,1660,TRUE);
     $c->add('comment_code',0,'select',4,21,17,1670,TRUE);
     $c->add('comment_edit',0,'select',4,21,0,1680,TRUE);
     $c->add('commentsubmission',0,'select',4,21,0, 1682, TRUE);
@@ -311,7 +311,7 @@
 
     $c->add('fs_misc', NULL, 'fieldset', 7, 31, NULL, 0, TRUE);
     $c->add('notification',array(),'%text',7,31,NULL,800,TRUE);
-    $c->add('cron_schedule_interval',86400,'text',7,31,NULL,860,TRUE);
+    $c->add('cron_schedule_interval',0,'text',7,31,NULL,860,TRUE);
     $c->add('disable_autolinks',0,'select',7,31,0,1750,TRUE);
     $c->add('compressed_output',0,'select',7,31,1,1755,TRUE);
 
@@ -349,7 +349,7 @@
     $c->add('default_permissions_block',array(3, 2, 2, 2),'@select',7,39,12,1810,TRUE);
 
     $c->add('fs_webservices', NULL, 'fieldset', 7, 40, NULL, 0, TRUE);
-    $c->add('disable_webservices',   0, 'select', 7, 40, 0, 1840, TRUE);
+    $c->add('disable_webservices',   1, 'select', 7, 40, 0, 1840, TRUE);
     $c->add('restrict_webservices',  0, 'select', 7, 40, 0, 1850, TRUE);
     $c->add('atom_max_stories',     10, 'text',   7, 40, 0, 1860, TRUE);
 }
diff -r 005ae6dbbba0 -r 1e5dde053c54 public_html/docs/english/config.html
--- a/public_html/docs/english/config.html	Sun Apr 19 18:39:22 2009 +0200
+++ b/public_html/docs/english/config.html	Sun Apr 19 19:34:29 2009 +0200
@@ -583,8 +583,9 @@
     <th style="width:63%">Description</th></tr>
 <tr>
   <td valign="top"><a name="desc_sortmethod">sortmethod</a></td>
-  <td valign="top">sortnum</td>
-  <td valign="top">alpha = Sort topics in topic list alphabetically<br>sortnum = Sort topics in topic list by sort number</td></tr>
+  <td valign="top">alpha</td>
+  <td valign="top">alpha = Sort topics in topic list alphabetically<br>
+    sortnum = Sort topics in topic list by the given sort number</td></tr>
 <tr>
   <td valign="top"><a name="desc_showstorycount">showstorycount</a></td>
   <td valign="top">1</td>
@@ -916,7 +917,7 @@
   <td valign="top">Most number of comments to show at any one time</td></tr>
 <tr>
   <td valign="top"><a name="desc_comment_mode">comment_mode</a></td>
-  <td valign="top">threaded</td>
+  <td valign="top">nested</td>
   <td valign="top">How to display comments (threaded, nested, flat or nocomments)</td></tr>
 <tr>
   <td valign="top"><a name="desc_comment_code">comment_code</a></td>
@@ -1304,12 +1305,13 @@
     comments.</td>
 <tr>
   <td valign="top"><a name="desc_cron_schedule_interval">cron_schedule_interval</a></td>
-  <td valign="top">86400</td>
+  <td valign="top">0</td>
   <td valign="top">Geeklog can emulate a <a href="http://en.wikipedia.org/wiki/Cronjob">cronjob</a>, i.e. trigger a certain action at a given time. The code
     to be executed can be provided by a plugin or through the
     <code>CUSTOM_runScheduledTask</code> function in your
     <tt>lib-custom.php</tt>. The value given is in seconds and specifies the
-    interval in which the code should be executed.<br>
+    interval in which the code should be executed (e.g. 86400 for daily
+    activation).<br>
     Please note that to trigger this action, you will need to have someone
     visit your site at around the specified time. On a site with few visitors,
     the code may only be executed with considerable delay.<br>
@@ -1328,7 +1330,7 @@
     (usually between 20% and 25%, compared to the uncompressed output). It may,
     however, result in slightly more load on the webserver.<br>
     For now, this feature should be considered <strong>experimental</strong> and
-    hasn't been implemented for all HTML output yet.</td>
+    hasn't been implemented for all HTML output yet.</td></tr>
 </table>
 
 <h3><a name="misc_debug">Miscellaneous: Debug</a></h3>
diff -r 005ae6dbbba0 -r 1e5dde053c54 public_html/docs/history
--- a/public_html/docs/history	Sun Apr 19 18:39:22 2009 +0200
+++ b/public_html/docs/history	Sun Apr 19 19:34:29 2009 +0200
@@ -11,6 +11,11 @@
 + Comment moderation and editable comments, by Jared Wenerd
 
 Other changes:
+- Changed some default settings:
+  * Webservices are now disabled
+  * Cronjob emulation is off
+  * Default sort for topics is alphabetically
+  * Default comment mode is nested
 - Experimental: Compress HTML output before sending it to the browser (disabled
   by default; has to be supported by both the browser and the webserver) [Dirk]
 - Moved hard-coded texts from admin/sectest.php to the language files (bug



More information about the geeklog-cvs mailing list