[ABD] Moderator Messages

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
Crazzel
Registered User
Posts: 15
Joined: Fri Feb 03, 2012 1:46 pm
Location: Poland
Contact:

Re: [RC2] Moderator Messages

Post by Crazzel » Thu Mar 28, 2013 8:30 pm

Hi!

I have problem with this mod, because when user send edit post - moderator message was deleted o.O

Screens:
a) Before edit by user:
Image

b) After edit by user:
Image

Anyone can help me? ;/

User avatar
Citromon
Registered User
Posts: 129
Joined: Wed Feb 15, 2012 5:22 pm
Location: Minsk, Belarus

SEO Ultimate : dont opens forums and topics

Post by Citromon » Thu Apr 25, 2013 8:58 pm

Hello,

on SEO Ultimate premod after installing MM mod dont opened forums and topics.

Maybe, somebody know, how to fix it?
What the anvil? What dread grasp
Dare its deadly terrors clasp?

ABDev
Registered User
Posts: 905
Joined: Sun Aug 21, 2005 9:29 pm
Location: France
Name: Adrien Bonnel

Re: [RC2] Moderator Messages

Post by ABDev » Thu Apr 25, 2013 9:30 pm

Impossible, or you didn't the modifications correctly.

PS : I recall to everybody, all my MODs and I think it is the case for the other authors too, are coded on a clean phpBB version. No SEO, no that, no this ... So if you have many problems, we can't answer for you.

User avatar
Jessica
Former Team Member
Posts: 4341
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [RC2] Moderator Messages

Post by Jessica » Thu Apr 25, 2013 11:17 pm

Is the next version ever going to come out soon? :S
Please do not PM me for support unless it is absolutely necessary
Pro-choice, Atheist, Pro-LGBT rights

Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

User avatar
Citromon
Registered User
Posts: 129
Joined: Wed Feb 15, 2012 5:22 pm
Location: Minsk, Belarus

Post by Citromon » Sun Apr 28, 2013 2:45 pm

Maybe, somebody else can help?

After installing MM mod, dont opens all forum pages and post editing page.
I think, the problem is in viewforum.php & posting.php files. Mod instructions for both these files contains this edit:
//-- mod : moderator messages --------------------------------------------------
//-- add
$user->setup('mods/mm');
//-- fin mod : moderator messages ----------------------------------------------
If ignore only this edit, pages opens, but, of course, mod doesnt work.
What the anvil? What dread grasp
Dare its deadly terrors clasp?

User avatar
Jessica
Former Team Member
Posts: 4341
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [RC2] Moderator Messages

Post by Jessica » Sun Apr 28, 2013 2:52 pm

Must be the SEO mod or something else because I have those edits and the mod and pages work fine.
Please do not PM me for support unless it is absolutely necessary
Pro-choice, Atheist, Pro-LGBT rights

Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

User avatar
Pthelovod
Registered User
Posts: 106
Joined: Mon Feb 22, 2010 1:32 am
Location: Россия
Name: Alexs Pthelovod
Contact:

Re: [RC2] Moderator Messages

Post by Pthelovod » Mon Apr 29, 2013 3:32 am

info_acp_mm.php Russian

Code: Select all

<?php
//
//	file: language/ru/mods/info_acp_mm.php Pthelovod
//	authors: abdev, pastisd
//	begin: 12/18/2011
//	version: 0.0.5 - 08/15/2012
//	licence: http://opensource.org/licenses/gpl-license.php GNU Public License
//

// ignore
if ( !defined('IN_PHPBB') )
{
	exit;
}

// init lang ary, if it doesn't !
if ( empty($lang) || !is_array($lang) )
{
	$lang = array();
}

// administration
$lang = array_merge($lang, array(
	'MM' => 'Заметки модераторов',

	'POST_MODERATION_USERNAME_CHANGE'  => 'Заменять имя автора при редактировании заметок модераторов в сообщениях',
));

// umil
$lang = array_merge($lang, array(
	'INSTALL_MM'                       => 'Установка Мода Заметки модераторов в сообщениях',
	'INSTALL_MM_CONFIRM'               => 'Устанавливаем Moderator Messages ?',
	'UPDATE_MM'                        => 'Обновление Moderator Messages',
	'UPDATE_MM_CONFIRM'                => 'Обновляем Moderator Messages ?',
	'UNINSTALL_MM'                     => 'Удаление Moderator Messages',
	'UNINSTALL_MM_CONFIRM'             => 'Удалаем Moderator Messages ? Все записи, внесенные в Базу данных будут уничтожены !',
));
mm.php Russian

Code: Select all

<?php
//
//	file: language/ru/mods/mm.php Pthelovod
//	authors: abdev, pastisd
//	begin: 08/14/2012
//	version: 0.0.4 - 08/16/2012
//	licence: http://opensource.org/licenses/gpl-license.php GNU Public License
//

// ignore
if ( !defined('IN_PHPBB') )
{
	exit;
}

// init lang ary, if it doesn't !
if ( empty($lang) || !is_array($lang) )
{
	$lang = array();
}

// posting
$lang = array_merge($lang, array(
	'POST_MODERATION_INVITE'         => 'В данном окне можно ввести в сообщение скрытую заметку не видимую всем. Такие заметки видят только группы Модераторы и Супермодераторы!',
));

// viewtopic, search ...
$lang = array_merge($lang, array(
	'POST_MODERATION'                => 'Заметка в сообщение',
	'POST_MODERATION_AUTHOR'         => 'Заметка от',
	'POST_MODERATION_REMOVE'         => 'Удаление заметки в сообщении',

	'POST_MODERATION_DELETING'       => 'Удалить заметку в сообщении',
	'POST_MODERATION_DELETED'        => 'Заметка в сообщении удалена.',
	'RETURN_POST'                    => '%sВернуться к сообщению, в котором делались правки%s',

	'CANNOT_DELETE_POST_MODERATION'  => 'Вы не можете удалять заметки в сообщениях на этом форуме.',
));

// viewforum
$lang = array_merge($lang, array(
	'POST_MODERATION_HERE'           => 'Имеется %d заметка в сообщении',
	'POSTS_MODERATION_HERE'          => 'Имеются %d заметок в сообщениях',
));

// issues
$lang = array_merge($lang, array(
	'ISSUE_VAR_MISSING'              => 'Установка мода прошла успешно. Пожалуйста, удалите сам файл <a href="%s">db_update.php</a> с папки сервера на FTP !',
	'ISSUE_INSTALL_MISSING'          => 'Установочный файл отсутствует. Проверьте его наличие в папке форума на FTP !',
));
permissions_mm.php Russian

Code: Select all

<?php
//
//	file: language/ru/mods/permissions_mm.php Pthelovod
//	authors: abdev, pastisd
//	begin: 08/15/2012
//	version: 0.0.1 - 08/15/2012
//	licence: http://opensource.org/licenses/gpl-license.php GNU Public License
//

// ignore
if ( !defined('IN_PHPBB') )
{
	exit;
}

// init lang ary, if it doesn't !
if ( empty($lang) || !is_array($lang) )
{
	$lang = array();
}

// permissions
$lang['permission_cat']['mm'] = 'Заметки модераторов';
$lang = array_merge($lang, array(
	'acl_m_mm_post'   => array('lang'   => 'Может вносить заметки в сообщения', 'cat' => 'mm'),
	'acl_m_mm_read'   => array('lang'   => 'Может читать заметки в сообщениях', 'cat' => 'mm'),
	'acl_m_mm_edit'   => array('lang'   => 'Может редактировать заметки в сообщениях<br /><em>Временно, до следующей версии не работает!</em>', 'cat' => 'mm'),
	'acl_m_mm_delete' => array('lang'   => 'Может удалять заметки в сообщениях', 'cat' => 'mm'),
));
Thanks for the great mod! When will the new version?

User avatar
Jessica
Former Team Member
Posts: 4341
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [RC2] Moderator Messages

Post by Jessica » Sun May 12, 2013 3:18 pm

Pthelovod wrote: Thanks for the great mod! When will the new version?
I'd like to know too.
Please do not PM me for support unless it is absolutely necessary
Pro-choice, Atheist, Pro-LGBT rights

Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

ABDev
Registered User
Posts: 905
Joined: Sun Aug 21, 2005 9:29 pm
Location: France
Name: Adrien Bonnel

Re: [RC2] Moderator Messages

Post by ABDev » Sun May 12, 2013 3:39 pm

I'm working on with geolim4, hoping it'll be the last release before validation.

User avatar
Jessica
Former Team Member
Posts: 4341
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [RC2] Moderator Messages

Post by Jessica » Thu Jun 27, 2013 2:55 pm

Any updates?
Please do not PM me for support unless it is absolutely necessary
Pro-choice, Atheist, Pro-LGBT rights

Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

emsik
Registered User
Posts: 102
Joined: Wed Jul 01, 2009 12:55 pm

Re: [RC2] Moderator Messages

Post by emsik » Tue Jul 02, 2013 6:27 pm

Jessica wrote:Any updates?
+1

ABDev
Registered User
Posts: 905
Joined: Sun Aug 21, 2005 9:29 pm
Location: France
Name: Adrien Bonnel

Re: [RC2] Moderator Messages

Post by ABDev » Tue Jul 02, 2013 7:12 pm

ABDev wrote:I'm working on with geolim4, hoping it'll be the last release before validation.

User avatar
Jessica
Former Team Member
Posts: 4341
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [RC2] Moderator Messages

Post by Jessica » Tue Jul 02, 2013 11:50 pm

k, sorry about that.

Is there a way I could see the progress?
Please do not PM me for support unless it is absolutely necessary
Pro-choice, Atheist, Pro-LGBT rights

Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

User avatar
Pthelovod
Registered User
Posts: 106
Joined: Mon Feb 22, 2010 1:32 am
Location: Россия
Name: Alexs Pthelovod
Contact:

Re: [RC2] Moderator Messages

Post by Pthelovod » Wed Jul 03, 2013 12:44 am

Image
mm.css

Code: Select all

/**
*
* file: styles/prosilver/theme/mm.css
* authors: cabot
* begin: 08/21/2012
* version: 0.0.1 - 08/21/2012
* licence: http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
.mm-icon img {
	vertical-align: bottom;
	margin-right: 2px;
}

.mm {
	background: #90f361 url("{T_THEME_PATH}/images/mm_bg.png") no-repeat 5px 0.3em;
	margin-top: 1.2em;
	padding: 4px 4px 5px;
	position: relative;
	border: 1px solid #44ac40;
	border-radius: 5px;
	box-shadow: 4px 4px 10px #44ac40;
}

.mm p {
	margin: 0;
	padding-left: 30px;
}

.mm span {
	font-weight: bold;
}

.mm hr {
	border-top: 3px dotted #44ac40;
}

*:first-child+html .mm hr {
	margin-top: 0;
}

.mm a.delete-icon	{
	display: block;
	width: {IMG_ICON_POST_DELETE_WIDTH}px;
	height:	{IMG_ICON_POST_DELETE_HEIGHT}px;
	position: absolute;
	right: 2px;
	top: 2px;
}

.mm a.delete-icon:hover	{
	background-position: 0 100%;
}

.delete-icon span {
	display: block;
	text-indent: -999em;
}

.mm hr+p {
	line-height: 1.8em;
	padding-left: 0;
}
:oops: :oops: :oops:

User avatar
Jessica
Former Team Member
Posts: 4341
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [RC2] Moderator Messages

Post by Jessica » Wed Jul 03, 2013 5:08 pm

Pthelovod wrote:Image
mm.css

Code: Select all

/**
*
* file: styles/prosilver/theme/mm.css
* authors: cabot
* begin: 08/21/2012
* version: 0.0.1 - 08/21/2012
* licence: http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
.mm-icon img {
	vertical-align: bottom;
	margin-right: 2px;
}

.mm {
	background: #90f361 url("{T_THEME_PATH}/images/mm_bg.png") no-repeat 5px 0.3em;
	margin-top: 1.2em;
	padding: 4px 4px 5px;
	position: relative;
	border: 1px solid #44ac40;
	border-radius: 5px;
	box-shadow: 4px 4px 10px #44ac40;
}

.mm p {
	margin: 0;
	padding-left: 30px;
}

.mm span {
	font-weight: bold;
}

.mm hr {
	border-top: 3px dotted #44ac40;
}

*:first-child+html .mm hr {
	margin-top: 0;
}

.mm a.delete-icon	{
	display: block;
	width: {IMG_ICON_POST_DELETE_WIDTH}px;
	height:	{IMG_ICON_POST_DELETE_HEIGHT}px;
	position: absolute;
	right: 2px;
	top: 2px;
}

.mm a.delete-icon:hover	{
	background-position: 0 100%;
}

.delete-icon span {
	display: block;
	text-indent: -999em;
}

.mm hr+p {
	line-height: 1.8em;
	padding-left: 0;
}
:oops: :oops: :oops:
What are you asking?
Please do not PM me for support unless it is absolutely necessary
Pro-choice, Atheist, Pro-LGBT rights

Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

Locked

Return to “[3.0.x] Abandoned MODs”