[geeklog-devel] Misc additions
Niels Leenheer
niels at creatype.nl
Fri Apr 9 06:10:04 EDT 2004
Hi Guys,
I'm finished some additions to Geeklog that are may be useful for
a larger installation of Geeklog. Some of these additions are running
already on Groklaw and some are scheduled to be added to Groklaw
in the nearby future.
1) The ability for logged in users to post as an 'Anonymous Coward'.
2) The ability for logged in users to automatically hide posts made by
Anonymous Cowards
3) The ability for selected moderators to hide comments from public
view. This is dependant on a new permission. These moderators
are not allowed to delete comments. It basically creates two levels
of moderators. Deleting is only allowed by the higher group of
moderators.
In addition to this, the comments will be kept visible to the user
who posted the comment either based on the IP (anon users) or
the user id (logged in users). To prevent users from reposting the
same comment after they notice it is hidden.
4) The ability to limit the length of comments. In case somebody posts
a very large comment this feature will allow readers to show only
the first part of the comment. By default this is turned of and it can
be turned on in the user preferences. Default values: Full, Small,
Medium and Large.
The comment display engine will basically check for the length of
the comment and chop the rest. Of course it will try to find a
convenient place to do this and it will not chop in the middle of
a html tag. Also if there are still open tags it will close these tags.
A 'Read more...' link is appended to the chopped comment to allow
the visitor to read the rest of the comment if needed.
This feature is designed to work with 'Flat' and 'Nested' mode. In
'Threaded' mode it will always display the full comment.
5) The addition of <a name'c99999'></a> tag to the title of each comment.
This allows us to link to specific comments using a regular URL.
a) The addition of a # link, to each comment, which allows users to
simply
copy the direct URL to that particular comment, so it can be
used in other
comments or other websites to link to that particular comment.
b) Modification of the return urls after an action is performed on a
comment.
For example, if a moderator hides a comment, it can return back to
the comment that was hidden.
c) In 'Threaded mode' clicking on the title of a child comment actually
directly links to that comment, instead of the first child of
the parent.
6) Addition of a return url to the comment form. This allows a user to
continue reading where he left of before making a comment. Now he
just returns to the main story page.
Since we are using 1.3.8 this is all currently based on that version and not
on the latest version of the CVS. But if you are interested in any of these
additions I am willing to make a patch against the then current CVS
version.
Niels
niels at creatype.nl
More information about the geeklog-devel
mailing list