Moderator Needed

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Locked
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Moderator Needed

Post by RMcGirr83 »

vindex wrote:The mod doesn't show pending posts in global announcements, guess you could do the same as with the reports for globals?
Please try this

OPEN

includes/moderator_needed.php

FIND

Code: Select all

(forum_id = 0 and post_reported = 1)
REPLACE WITH

Code: Select all

(forum_id = 0 AND post_reported = 1) OR (forum_id = 0 AND post_approved = 0)
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

Sigi1991
Registered User
Posts: 15
Joined: Sat Aug 09, 2008 3:22 am

Re: Moderator Needed

Post by Sigi1991 »

Could I use this mod also with subsilver2?

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Moderator Needed

Post by RMcGirr83 »

There is an install xml file in the contrib folder for subsilver2 based styles.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

Seether
Registered User
Posts: 74
Joined: Thu Apr 10, 2003 8:09 pm

Re: Moderator Needed

Post by Seether »

This is a really nice mod but it lags on my forum.
I've already cached the queries for some time (~30 minutes) but a lag of 5 up to 15 seconds really disappoint my moderators.
Is there any possibility to speed it up?

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Moderator Needed

Post by RMcGirr83 »

First I have heard of that, you may be able to query the reports table first to see if there are any reported topics/posts and if there are run the code (should reduce the queries if there are no reported posts to one, instead of the three that currently if there are no reported posts/topics).

You could also enable the debug feature of phpBB and see where the slow down is. It may or may not be due to this modification.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
Nailz
Registered User
Posts: 125
Joined: Fri Nov 10, 2006 8:44 pm
Contact:

Re: Moderator Needed

Post by Nailz »

Yet another easy nice mod from RMcGirr83, installed with no problems, keep them coming :mrgreen:

User avatar
hecos
Registered User
Posts: 33
Joined: Sat Feb 02, 2008 9:10 pm

Re: Moderator Needed

Post by hecos »

Very easy to install, simple but highly effective and useful mod. Thank you for making it and for your contribution :D

User avatar
spaceace
Registered User
Posts: 1866
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: Moderator Needed

Post by spaceace »

very useful MOD :D

nice work and thanks for making it :mrgreen:

User avatar
DoYouSpeakWak
Registered User
Posts: 2310
Joined: Fri Jul 25, 2008 1:32 pm
Location: Island of Wak-Wak
Name: Hans Lassen
Contact:

Re: Moderator Needed

Post by DoYouSpeakWak »

This might not be very usefull to most. but in case you need to install this on a 3.0.0 board. you need to find another line in fuctions.php. Works perfect.

Code: Select all

	// Which timezone?
	$tz = ($user->data['user_id'] != ANONYMOUS) ? strval(doubleval($user->data['user_timezone'])) : strval(doubleval($config['board_timezone']));
Instead of

Code: Select all

$user_lang = $user->lang['USER_LANG'];
And replace add before with add after.(makes sense when you read install.xml)

Danish translation

Code: Select all

<?php
/**
*
* moderator_needed [Danish]
*
* @package language
* @version $Id: moderator_needed.php,v 1.0.0 2008/08/29 06:50:00 rmcgirr83 Exp $
* @copyright (c) 2008 Richard McGirr 
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
	exit;
}

if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine

$lang = array_merge($lang, array(
    'MODERATOR_NEEDED_REPORTED_POST'	=> '<strong style="color:#FF0000;">%d</strong> Indlæg er rapporteret',
	'MODERATOR_NEEDED_REPORTED_POSTS'	=> '<strong style="color:#FF0000;">%d</strong> Indlæg er rapporteret',
    'MODERATOR_NEEDED_APPROVE_POST'		=> '<strong style="color:#FF0000;">%d</strong> Indlæg afventer godkendelse',
	'MODERATOR_NEEDED_APPROVE_POSTS'	=> '<strong style="color:#FF0000;">%d</strong> Indlæg afventer godkendelse',
	'MODERATOR_NEEDED_APPROVE_TOPIC'    => '<strong style="color:#FF0000;">%d</strong> Emne afventer godkendelse',
	'MODERATOR_NEEDED_APPROVE_TOPICS'   => '<strong style="color:#FF0000;">%d</strong> Emner afventer godkendelse',
));

?>
Whatever you share comes back. Support the phpBB Communities
My Validated and Released Modifications
Offering paid services. 10+ years of experience with phpBB3 and as System Administrator.

misfit69
Registered User
Posts: 65
Joined: Fri Sep 11, 2009 4:25 am
Contact:

Re: Moderator Needed

Post by misfit69 »

thank you for this mod, went smooth and we are using it now.

Misfit.

nadalbg
Registered User
Posts: 273
Joined: Wed Jul 16, 2008 12:58 pm
Contact:

Re: Moderator Needed

Post by nadalbg »

Can this mode show all new posts(not topics)
I mean every new post or topic that is made, can it be made to show a list of all that post and you can easily see all the posts and moderate what you need without browsing all the forums.

Or if you know mod like that pls tell me

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Moderator Needed

Post by RMcGirr83 »

Uhmmm, that is already part of phpBB. "View unread posts" or "View new posts".

This mod states if any reported or unapproved posts/topics were made and in the next version will also state if there are reported pms.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

nadalbg
Registered User
Posts: 273
Joined: Wed Jul 16, 2008 12:58 pm
Contact:

Re: Moderator Needed

Post by nadalbg »

Yesm but when you click bire active topics you get the topic, not the post.
What I mean is that is there a mod that shows the posts.

User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: Moderator Needed

Post by Oyabun1 »

Mr McGirr

Now that the gold version of 3.0.6 has been released and includes the provision to report PMs will you be including that notification type in this mod as well? This is a great mod already but having that would make it even better.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

User avatar
Jim Dominic
Registered User
Posts: 103
Joined: Sat Apr 02, 2005 6:38 pm

Re: Moderator Needed

Post by Jim Dominic »

I've installed this and it works, however, when I refresh the template, I get this error:

Code: Select all

General Error: Could not open ./../styles/prosilver/template/topic_notify.txt
Not sure if it's this mod or not...when I replace the edited functions.php with my backup copy the error does not occur. Edited to add: nope, wrong, same problem. Obviously I have FUBAR'd

Arggh...never mind...it must be something else trying to call that file.

Locked

Return to “[3.0.x] MOD Database Releases”