Customizing SMF > Modifications and Packages

Moderator and Administrator Comment Tags

(1/88) > >>

(Ha)²:
Moderator and Administrator Comment Tags

Developed by: Ha2 Current version: 1.8Originally by: Arantor Suitable for: 1.1.11, 2.0 RC1.2, 2.0 RC2Supported languages:

Link to Mod | Mod support topic | Mod bugtracker | Donate



Summary

This mod adds three tags - [admin], [gmod] and [mod] - to the system which provide the ability for moderators and administrators to add comments clearly delineated as such.

All three are permission controlled; you can give out each button to any user group independently; for example you may have co-admins who are effectively admins without them having the 'administrate forum' permission, and this would allow you to grant it to them.

Groups who are not authorised to use these tags cannot do so and the tags are removed if they attempt to use them.

For themers: you can customise the resultant blocks by styling .admin_comment, .gmod_comment and .mod_comment respectively.

Thanks to @ngel for French translation, 130860 for Spanish translation, Eclipse16V for German translation, Akyhne for Danish translation, Pentaxian for Dutch translation, qnub for Russian translation and Costa for the Portuguese translation.

Installation

Package Manager should work in most cases. If you need to make any edits, the full list can be obtained from the Parse function on the right.

Useful links
Manual Installation Of Mods
How Do I Modify Files?

Support

Questions should be address to the mod support topic. Anything that is a bug or feature request can additionally be reported to the mod bugtracker.

Updating

To update from 1.7 or below, please uninstall then install 1.8 from the package manager.

Changelog

1.8 - 29 December 2009
Added Russian and Portuguese support.
Cleaned up package contents (not a visible change)

1.7 - 9 November 2009
Added Dutch support

1.6 - 26 October 2009
Added 2.0 RC2 support.

1.5 - 25 September 2009
Added Danish translation.

1.4 - 10 September 2009
Made Moderator tag board specific.
Added German translation.

1.3 - 4 September 2009
Bugfix from French translation.
Added Spanish translation.

1.2 - 4 September 2009
Bugfix from 1.1 regarding the new Global Moderator tag permissions not being enforced correctly.
Added support for French translation.

1.1 - 4 September 2009
Added support for the global moderator tag, plus moved all three to permissions-based from the admin panel

1.0 - 14 August 2009
First release

Files modified by Moderator and Administrator Comment Tags

Sources/Subs.php
Sources/Subs-Post.php
Sources/ManagePermissions.php
Themes/yourtheme/Post.template.php (1.1 only)
Sources/Subs-Editor.php (2.0 only)

Themes/yourtheme/Modifications.*.php for supported languages.

Also adds 3 .gif files into Themes/yourtheme/images/bbc, and 3 into Themes/yourtheme/images

stikkki:
nice tweek

Rohan_:
8: Undefined index: tag_comment_admin
File: /home/vhosts/www.site.com/Sources/Subs.php
Line: 3759

nitkayni:
Thanks


Turkish language

--- Code: ---$txt['tag_comment_mod'] = 'Moderator Yorumu';
$txt['tag_comment_admin'] = 'Yönetici Yorumu';
--- End code ---

qtime:
Is this comment visible for all members, or only moderators/admins?

Navigation

[0] Message Index

[#] Next page

Go to full version