Hi. This is a patch for article.pl made with diff -d -C2
There is a second patch file for Slash.pm made the same way.
What it does:
a) Select Read-Only on an article, and you may browse existing comments but not add any new comments
b) Select Comments Disabled, and comments are hidden from story display.
My email adress is everywhere in the code I added: just to make it easier to you to find the diffs. Remove it if you want, **I don't care**
I hope you'll have this feature repaired in the next release of Slash, I need it.
*** WARNING *** there may be a bug in #100724 or #100725, since I have discovered a bug in my / site yesterday.
I dont't have time to squash it now; Here is the symptom: the uptime block doesn't update correctly the hit count. Apparently there is a bug somewhere in the DB accesses.
Sorry for this, I should have test it for more than 1 day...
Wow. Did I post the WARNING 2 times ?
Anyways, it looks like I kept the bug for me: the patches should be ok :-)
We won't be making any more changes to the current MAIN branch, except for bug and security fixes. Maybe this can be applied to the development branch, though.
Log in to post a comment.