News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

Moderator and Administrator Comment Tags

Started by Arantor, September 01, 2009, 06:26:49 AM

Previous topic - Next topic

bbmtalk

1.3. cool. You are making a great progress and thanks for the prompt support and update.

It seems now all installing and working fine. Another question for you. (I know I have been asking too much , sorry)

The permission for moderators is only available globally, right? Can it be set locally for mods only assigned to a certain boards?

Arantor

Sabre: Fair enough, if it works for you and you don't need the translations or the custom permissions, stick with it.

bbmtalk: Argh. I thought it was too easy to set permissions; I forgot the Moderator group is kinda special in that regard.

Interim solution while I figure out how to make it work on the special group would be per-board permissions, and a special custom group that does basically the same job as Moderator but isn't subject to the way Moderator is set up. Ugly but it'd work for that member group.

I'll look into that one tomorrow.
Holder of controversial views, all of which my own.


bbmtalk

Arantor, no hurry. I was just curious and I know it is gonna turn very complicated with permissions.

I can understand Sabre for sticking with original release. Sometimes less is more. I thought it was good enough for me - but not for my global mods.

Thanks again for all the great work.

Arantor

Actually it shouldn't be that hard, I just have to remember to move it to the board permissions rather than the general permissions at group level. In theory the correct approach would be splitting [mod] to board and [gmod] and [admin] to group level but I think that would be confusing.

It's quite late here but I'll get on that one in the morning and repackage as 1.4.
Holder of controversial views, all of which my own.


Rohan_

#64
Arantor Brother if the error is fixed then please give me the manual change of the code that u updated :(

Edit : okay then its too long now so i done it ...
Proud To Be An Indian

ოկtђ

Turkish


$txt['tag_comment_mod'] = 'Moderatör Yorumları';
$txt['tag_comment_gmod'] = 'Global Moderator Yorumları';
$txt['tag_comment_admin'] = 'Administrator Yorumları';
$txt['permissiongroup_modtag'] = 'Moderator etiket kontrolleri';
$txt['permissiongroup_simple_modtag'] = 'Moderator etiket konrolleri';
$txt['permissionname_allow_mod_tag'] = 'Kullanmak isteyen bütün kullanıcılara izin ver? [mod] ?';
$txt['permissionhelp_allow_mod_tag'] = 'Bu izin tüm kullanıcıların moderatör yorumlarını kullanmasına olanak verir.(mod)';
$txt['permissionname_allow_gmod_tag'] = 'Tüm kullanıcılara izin ver.[gmod] ?';
$txt['permissionhelp_allow_gmod_tag'] = 'Bu izin tüm kullanıcıların gmod blokunu kullanmasına olanak verir';
$txt['permissionname_allow_admin_tag'] = 'Kullanıcılara izin ver [admin] ?';
$txt['permissionhelp_allow_admin_tag'] = 'Bu izin kullanıcıların admin bloğunu kullanmasına olanak verir.';

Arantor

Quote from: Rohan_ on September 05, 2009, 02:53:56 AM
Arantor Brother if the error is fixed then please give me the manual change of the code that u updated :(

Edit : okay then its too long now so i done it ...

The fix was in 1.3, and as for your 'too long now' of 2 hours patience, I couldn't reply before because I was trying to catch some sleep.


Mythcomeback: Thanks for the translation: I'll roll that into 1.4 well as the change in permissions to make moderator board-level, should be sometime today.
Holder of controversial views, all of which my own.


edi67

nice mod i can purpose one idea will be very useful if near comment will be wrote the name of author of that comment, i mean Moderator comment by (name of moderator)
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

amca

#68
Quote from: Mythcomeback | Burak on September 05, 2009, 04:43:27 AM
Turkish


$txt['tag_comment_mod'] = 'Moderatör Yorumları';
$txt['tag_comment_gmod'] = 'Global Moderator Yorumları';
$txt['tag_comment_admin'] = 'Administrator Yorumları';
$txt['permissiongroup_modtag'] = 'Moderator etiket kontrolleri';
$txt['permissiongroup_simple_modtag'] = 'Moderator etiket konrolleri';
$txt['permissionname_allow_mod_tag'] = 'Kullanmak isteyen bütün kullanıcılara izin ver? [mod] ?';
$txt['permissionhelp_allow_mod_tag'] = 'Bu izin tüm kullanıcıların moderatör yorumlarını kullanmasına olanak verir.(mod)';
$txt['permissionname_allow_gmod_tag'] = 'Tüm kullanıcılara izin ver.[gmod] ?';
$txt['permissionhelp_allow_gmod_tag'] = 'Bu izin tüm kullanıcıların gmod blokunu kullanmasına olanak verir';
$txt['permissionname_allow_admin_tag'] = 'Kullanıcılara izin ver [admin] ?';
$txt['permissionhelp_allow_admin_tag'] = 'Bu izin kullanıcıların admin bloğunu kullanmasına olanak verir.';


Thanks for translation into Burak

Arantor

edi67: You should be able to use the secondary format to do that, for example:

[mod=Arantor says]This post is inappropriate.[/mod]

This would replace the 'moderator comment' with 'Arantor says'
Holder of controversial views, all of which my own.


bbmtalk

Quote from: Arantor on September 05, 2009, 03:10:58 PM
edi67: You should be able to use the secondary format to do that, for example:

[mod=Arantor says]This post is inappropriate.[/mod]

This would replace the 'moderator comment' with 'Arantor says'

Great tip! Thanks!

Arantor

Did I not add in the description that you could do that? Should work fine for all three tags, plus still should get removed if an unauthorised user tries to use it.
Holder of controversial views, all of which my own.


edi67

Quote from: Arantor on September 05, 2009, 03:10:58 PM
edi67: You should be able to use the secondary format to do that, for example:

[mod=Arantor says]This post is inappropriate.[/mod]

This would replace the 'moderator comment' with 'Arantor says'

oh yes this i know but for lazy staff could be intersting have it automatically ;) in same line or part of code
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Arantor

It would have to be yet another rewrite of the code to achieve, to be honest, or add an option somewhere in the admin panel (which I don't really want to do for this to be honest)
Holder of controversial views, all of which my own.


bbmtalk

Quote from: Arantor on September 05, 2009, 03:55:40 PM
Did I not add in the description that you could do that? Should work fine for all three tags, plus still should get removed if an unauthorised user tries to use it.

Well I have followed this mod from 1.0 to 1.3 and it was new to me.

Arantor

It's been in since 1.0. More likely I just never documented it.
Holder of controversial views, all of which my own.


clashbot

for sum reason I am not getting the permissions to come up under permissions...

I am running smf 1.10 with tp

it said it installed properly, no errors using package manager
no other errors in forums either

Arantor

Holder of controversial views, all of which my own.


Abaliini

Cool thanks!

Finnish Translation:

$txt['tag_comment_mod'] = 'Moderaattorin kommentti';
$txt['tag_comment_admin'] = 'Ylläpitäjän kommentti';

Arantor

Thanks Abaliini - unfortunately I've added a lot more language strings since 1.0, for all the extra permissions which would also need to be translated. If you could find the time to translate them as well, I'll add it into the next version.
Holder of controversial views, all of which my own.


Advertisement: