Update of /cvs/scoop/scoop/struct/patch-files/current
In directory lithium.sabren.com:/tmp/cvs-serv30410/struct/patch-files/current
Modified Files:
README
Added Files:
patch-12-RemoveComments.sql
Log Message:
Bugs 71, 159, 161.
* replacing deleted comments with placeholder text (in addition to normal delete)
* updates to Bundle::Scoop to make it current
* default favicon.ico and robots.txt
-janra
--- NEW FILE: patch-12-RemoveComments.sql ---
UPDATE vars SET value=CONCAT(value, ",\ncomment_toggle,\ncomment_remove") WHERE name='perms';
UPDATE perm_groups SET group_perms = CONCAT(group_perms, ',comment_remove,comment_toggle') WHERE perm_group_id = 'Superuser';
INSERT INTO blocks (bid, block, aid, description, category, theme, language) VALUES ('comment_remove_link', ' (<A CLASS="light" HREF="%%rootdir%%/comments/%%sid%%/%%cid%%/remove">suppress comment</A>)', '1', '<P>The link to remove a comment (replace with a placeholder indicating that the comment has been deleted), if the user has the <B>comment_remove</B> perm. Special keys sid and cid identify the comment.</P>', 'Comments', 'default', 'en');
INSERT INTO blocks (bid, block, aid, description, category, theme, language) VALUES ('comment_delete_link', ' (<A CLASS="light" HREF="%%rootdir%%/comments/%%sid%%/%%cid%%/delete">delete</A>)', '1', '<P>The link to delete a comment (remove entirely and make replies to this comment become replies to this comment\'s parent), if the user has the <B>comment_delete</B> perm. Special keys sid and cid identify the comment.</P>', 'Comments', 'default', 'en');
INSERT INTO blocks (bid, block, aid, description, category, theme, language) VALUES ('comment_toggle_link', ' (<A CLASS="light" HREF="%%rootdir%%/comments/%%sid%%/%%cid%%/%%toggle%%">toggle</A>)', '1', '<P>The link to toggle a comment between topical and editorial, if the user has the <B>comment_toggle</B> perm. Special keys sid and cid identify the comment, and toggle sets the type (topical or editorial).</P>', 'Comments', 'default', 'en');
INSERT INTO blocks (bid, block, aid, description, category, theme, language) VALUES ('removed_comment_body', '<P><EM>This comment has been deleted by %%nick%%</EM></P>', '1', '<P>The body of a removed comment. One special key, nick, contains the nickname of the admin who removed the comment. If you have jokers on your site who may claim that their comments have been wiped, I recommend putting something in this block that users can normally not put in their comments, as an "authenticity" marker.</P>', 'Comments', 'default', 'en');
INSERT INTO blocks (bid, block, aid, description, category, theme, language) VALUES ('removed_comment_subject', '(Comment Deleted)', '1', '<P>The subject of a removed comment. One special key, nick, contains the nickname of the admin who removed the comment.</P>', 'Comments', 'default', 'en');
Index: README
===================================================================
RCS file: /cvs/scoop/scoop/struct/patch-files/current/README,v
retrieving revision 1.102
retrieving revision 1.103
diff -C2 -d -r1.102 -r1.103
*** README 25 Jan 2005 17:15:27 -0000 1.102
--- README 27 Jan 2005 19:37:17 -0000 1.103
***************
*** 57,65 ****
Jan 25 12:11 patch-11-SignupWithPass.sql
! Mainly adds a new signup mehtod where the user chooses their own password.
Works a lot more smoothly than the old way. If you install fresh, it's the default.
If not, you need to edit a bunch of Accounts blocks and turn on
"signup_with_password" var. This patch also adds CT's iplookup tools, and
flexible date formatting.
Any problems, email scoop-help at lists.kuro5hin.org (don't forget to join!)
--- 57,70 ----
Jan 25 12:11 patch-11-SignupWithPass.sql
! Mainly adds a new signup method where the user chooses their own password.
Works a lot more smoothly than the old way. If you install fresh, it's the default.
If not, you need to edit a bunch of Accounts blocks and turn on
"signup_with_password" var. This patch also adds CT's iplookup tools, and
flexible date formatting.
+
+ Jan 27 11:30 patch-12-RemoveComments.sql
+ Adds the ability to "remove" (in addition to the old "delete") comments.
+ "Remove" replaces the comment with a note saying the comment had been deleted,
+ but doesn't change the comment threading.
Any problems, email scoop-help at lists.kuro5hin.org (don't forget to join!)