Update of /cvsroot/comoblog/comoblog/_install
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv20529/_install
Modified Files:
comoblog_db.xml comoblog_preferences.xml
Log Message:
Initial commit of the comment verificatin code - see also mod_comment_notify
still needs update script doing - but this works (for me at least) as a new
install. will document fully when i get home tonight, but briefly..
- new collumn in comments table for live state (y or n)
- new preferences for default live state and a quick password
- new table for preauthenticated users / pre bared users
- new code in libraries.inc.php to manipulate the above
Index: comoblog_preferences.xml
===================================================================
RCS file: /cvsroot/comoblog/comoblog/_install/comoblog_preferences.xml,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- comoblog_preferences.xml 9 Jan 2006 13:22:43 -0000 1.15
+++ comoblog_preferences.xml 15 Aug 2006 16:56:30 -0000 1.16
@@ -326,6 +326,32 @@
editable="Y"
display_order="0"
/>
+
+ <param
+ name="CFG_COMMENTS_DEFAULT_STATE"
+ value="yes"
+ description="Comments Are Live By Default"
+ topic_id="5"
+ encrypt="N"
+ type="select"
+ restrict_values="yes|no"
+ accept_null="N"
+ editable="Y"
+ display_order="0"
+ />
+
+ <param
+ name="CFG_COMMENTS_QUICK_PASS"
+ value="yes"
+ description="Add a password for quick changes to commenting users (with Mod Comment Notify) DO NOT USE YOUR MAIN SITE PASSWORD"
+ topic_id="5"
+ encrypt="Y"
+ type="password"
+ restrict_values="16"
+ accept_null="Y"
+ editable="Y"
+ display_order="0"
+ />
<param
name="CFG_INTERACTION_TRACKBACK"
Index: comoblog_db.xml
===================================================================
RCS file: /cvsroot/comoblog/comoblog/_install/comoblog_db.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- comoblog_db.xml 21 Feb 2006 06:39:39 -0000 1.7
+++ comoblog_db.xml 15 Aug 2006 16:56:30 -0000 1.8
@@ -9,10 +9,22 @@
<field name="comment_author_email" specs="varchar(128) default NULL" />
<field name="comment_author_url" specs="varchar(128) default NULL" />
<field name="comment_added" specs="int(10) unsigned default NULL" />
- <field name="post_id" specs="int(10) unsigned NOT NULL default '0'" />
+ <field name="post_id" specs="int(10) unsigned NOT NULL default '0'" />
+ <field name="comment_live" specs="varchar(1) default 'N'" />
<pk name="comment_id" />
</table>
+
+
+
+ <table name="comoblog_commenters">
+ <field name="commenter_id" specs="int(10) unsigned NOT NULL auto_increment" />
+ <field name="commenter_author_email" specs="varchar(128) default NULL" />
+ <field name="commenter_default" specs="varchar(1) default 'N'" />
+
+
+ <pk name="commenter_id" />
+ </table>
<table name="comoblog_images">
<field name="img_id" specs="int(10) unsigned NOT NULL auto_increment" />
|