Topic: Extensions by Tar-Minyatur

As suggested here, I start my own extension thread. smile

  • Moderation Action Log  0.3.2
    Records all moderation actions (split, merge, close, ...) in a log, which is avaiable in the management section of the administration panel
    Download (ZIP) | Git | Screenshot
    ---

  • Quick Moderation Post Options 0.2
    Shows additional checkboxes under the posting formular enabling admins and moderators to close or stick topics while answering or creating them.
    Download (ZIP) | Git | Screenshot
    ---

  • Add CSS Class for Staff Members in Topic-View 0.1
    Adds a new css classes to the div containing posts made by staff members, e.g. for showing a team icon, and hides ranks.
    Download (ZIP)

Please report bugs either here in this thread or create a ticket in my bugtracker. Feature requests you can post there as well, but they might be better posted here so people can discuss then.

Last edited by Tar-Minyatur (2008-08-12 18:15:53)

Greetings, Tar-Minyatur.
» I solemnly swear, that I am up to no good. « [J. K. Rowling, Harry Potter and the Prisoner of Azkaban]
- Extensions written by me -

Re: Extensions by Tar-Minyatur

Nice.  How didi you do on your exam? wink

Nice to have pagination.

Will log in the future log actions like group creation, giving permissions to users... That would be cool i think if its not to demanding on server and to hard to code.

Maybee (you decide) a good thing would be to have a "delete button" to manualy clean all logs and option to manualy set when we would like the database to be cleansed.

Maybe evan an option never to delete it.

Re: Extensions by Tar-Minyatur

Ledo wrote:

Nice.  How didi you do on your exam? wink

Better than on the last attempt I made. big_smile Thanks for asking.

Ledo wrote:

Will log in the future log actions like group creation, giving permissions to users...

You mean logging all administrative actions as well. Mhm. I thought about that. It's possible...sure. The question is, whether this really is needed, because those things are touched very seldom and only trustworthy people (which also should know, what they're doing) should get administrative access anywhere. But I usually can be convinced to almost anything, so try it. big_smile

Ledo wrote:

Maybee (you decide) a good thing would be to have a "delete button" to manualy clean all logs and option to manualy set when we would like the database to be cleansed.

Well...that would make the whole thing quite useless, I think. It's meant to log actions, which might cause confusion or show a moderator's bad behaviour. If the entries are deleteable, this would not be possible anymore. Sure...only administrators can view the log, but also administrators can go wrong and should thus not be able to wipe out their tracks. At least that's my opinion (yeah...conflicts a little with what I wrote above, but also trustworthy people make errors...). And if you fear, that the database might get too large...I don't think that will happen, because the table used by the extension is quite slim. smile

Last edited by Tar-Minyatur (2008-08-02 12:06:50)

Greetings, Tar-Minyatur.
» I solemnly swear, that I am up to no good. « [J. K. Rowling, Harry Potter and the Prisoner of Azkaban]
- Extensions written by me -

Re: Extensions by Tar-Minyatur

I have seen boards gone bad beacose of the nature of the people. Some people turn bad when they get power.

What abaut if log could be viewed by all moderators but edited only by administrator? Maybe an option not evan moderators could see it yust administrator.

I guess administrator is like a owner. And he can go bad i know. But the only person i guess have that privelege of going bad if he wants to is administrator.

If he decides than that its yust the way it is. smile

Moderators "should" be trustworthy people. But then we woluldn't need a log at all i guess. smile

Its your "baby" do with it what you think is the best. There will be good an bad ideas. Some you will use a lot of them not. wink

Re: Extensions by Tar-Minyatur

I don't really see a new argument here...why would anybody want to edit the log? The database will not be a problem, and too old entries are deleted anyway. So you'll have to bring something better to convince me. smile Concerning your other suggestion: I'll make a list of things that maybe should be logged, to get a view of what could be done. It's not a big deal to add other "log-points". Actually it's mostly stupid typing of language file entries, as well as searching for hooks. big_smile I'm only concerned, that at some time somebody might wish to have a filter for the log. big_smile

Giving moderators access to the log...mhm. I'd rather think about another Extension, that requires moderators and admins to justify their decisions by supplying a short explanation why a thread was closed, split, ... Because the only use I can see for a moderator to look into the log would be to contact a fellow moderator to ask why he did something. Of course you can tell your team it should always post, but I will not do that. At least that's my experience. And it's always better to have moderation actions being as transparent as possible. Adding "close this thread" to the options when answering to a thread, might be a good idea, too.

I must admit, that I currently don't know, which extensions already exist. It's getting a little difficult to keep them all in mind. smile I'd write those, if they aren't already in development.

Greetings, Tar-Minyatur.
» I solemnly swear, that I am up to no good. « [J. K. Rowling, Harry Potter and the Prisoner of Azkaban]
- Extensions written by me -

Re: Extensions by Tar-Minyatur

Yes a list of all unofficial extensions would be a good idea on wiki.

So far as i know there is only a list of official ones.

http://fluxbb.org/wiki/extensions

Ups sorry my bad. There is a list of unofficial too. So called "community extensions".

http://fluxbb.org/wiki/community_extensions

Last edited by Ledo (2008-08-02 12:49:15)

Re: Extensions by Tar-Minyatur

Ledo wrote:

Yes a list of all unofficial extensions would be a good idea on wiki.

So far as i know there is only a list of official ones.

http://fluxbb.org/wiki/extensions

http://fluxbb.org/wiki/community_extensions ?

Re: Extensions by Tar-Minyatur

Yes i have seen it to late.

Last edited by Ledo (2008-08-02 12:49:27)

Re: Extensions by Tar-Minyatur

I created one of the extensions we spoke about some days ago. It adds two checkboxes to the post creation form, if you've got moderation rights.

The next version of the mod action log is not ready yet, as I need the hooks I asked Smartys to add. smile When this one is done, I'll enable the new extension to get logged as well.

Greetings, Tar-Minyatur.
» I solemnly swear, that I am up to no good. « [J. K. Rowling, Harry Potter and the Prisoner of Azkaban]
- Extensions written by me -

Re: Extensions by Tar-Minyatur

Well. I added the wanted logging for most administration actions. Please note, that an update of the extension will not work, as I was to lazy to handle the update and modify the primary key. So just uninstall and install it again. It will purge the whole log, but that should not be that much of a problem. smile

Greetings, Tar-Minyatur.
» I solemnly swear, that I am up to no good. « [J. K. Rowling, Harry Potter and the Prisoner of Azkaban]
- Extensions written by me -

Re: Extensions by Tar-Minyatur

Great. I will try it. wink

Re: Extensions by Tar-Minyatur

I added a new extension, which hides ranks in the topic view and instead adds new classes to the divs in the topic view. Those depend on the user's usergroup and look like this:

  • xn_staffmember - for all moderators and administrators

  • xn_administrator - obviously for all administrators smile

  • xn_moderator - obviously for all moderators smile

  • xn_group_<group> - a css class containing the name of the user's group (only letters, numbers...everything else is replaced by underscores)

I'm not exactly sure, if somebody might have need of it, but as we need it and it's done... smile

The default stylesheet included by the extension just displays a small icon on the right of the user's name if he's a staff member. It's just an example and not meant to be especially beautiful. big_smile

Last edited by Tar-Minyatur (2008-08-12 20:56:11)

Greetings, Tar-Minyatur.
» I solemnly swear, that I am up to no good. « [J. K. Rowling, Harry Potter and the Prisoner of Azkaban]
- Extensions written by me -

Re: Extensions by Tar-Minyatur

Tar-Minyatur wrote:

I added a new extension, which hides ranks in the topic view and instead adds new classes to the divs in the topic view. Those depend on the user's usergroup and look like this:

  • xn_staffmember - for all moderators and administrators

  • xn_administrator - obviously for all administrators smile

  • xn_moderator - obviously for all moderators smile

  • xn_group_<group> - a css class containing the name of the user's group (only letters, numbers...everything else is replaced by underscores)

I'm not exactly sure, if somebody might have need of it, but as we need it and it's done... smile

The default stylesheet included by the extension just displays a small icon on the right of the user's name if he's a staff member. It's just an example and not meant to be especially beautiful. big_smile

I don't mean to tell you what you programmed or not but the extension on the description is this one http://tshw.de/fluxbb/staff_class_in_viewtopic_0.1.zip and not the one you have on the link tongue

Re: Extensions by Tar-Minyatur

Yeah. Well... big_smile Smacked over the head by copy'n'waste again. smile

Greetings, Tar-Minyatur.
» I solemnly swear, that I am up to no good. « [J. K. Rowling, Harry Potter and the Prisoner of Azkaban]
- Extensions written by me -

Re: Extensions by Tar-Minyatur

I just tested the extension and it does indeed show a icon for Admins and mods, but it hides the user's title. Even personalized titles.

Re: Extensions by Tar-Minyatur

Yes it does. I said that is does that. smile I'll try if I can sort out a way to just hide ranks like "Administrator" and "Moderator".

Greetings, Tar-Minyatur.
» I solemnly swear, that I am up to no good. « [J. K. Rowling, Harry Potter and the Prisoner of Azkaban]
- Extensions written by me -