[MODDB] Moderator Needed

Post your MODs, receive and provide feedback!
Topics in this forum are not for MOD support, they are for giving the author feedback.
Forum rules
The topics in this forum are not for general MOD support, they are for giving the MOD author some feedback, ideas and bug reports.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

[MODDB] Moderator Needed

Postby RMcGirr83 » 05 Dec 2008, 15:51

MOD title: Moderator Needed
MOD description: Displays the number of reported posts combined with posts and topics that need approval next to the Moderator Control Panel link throughout the forum
MOD version: 1.0.2.a
phpBB version: 3.0.3 (developed on 3.0.2 works on 3.0.3)

Development stage: Released

MOD Format:
[img]http://www.phpbb.com/mods/modx/modx_inside.png[/img]

MOD download: http://www.phpbb.com/mods/db/download/8325/

Attached Screenie
Attachments
moderator_needed.jpg
moderator_needed.jpg (9.17 KiB) Viewed 3534 times

User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: [MODDB] Moderator Needed

Postby Obsidian » 21 Aug 2009, 00:47

What is the number of queries that it adds to the index page, roughly?

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: [MODDB] Moderator Needed

Postby RMcGirr83 » 21 Aug 2009, 08:42

3

User avatar
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: [MODDB] Moderator Needed

Postby igorw » 26 Aug 2009, 19:26

Very cool!

I have a suggestion regarding the queries. You should either use a $config variable, the cache functions or even the SQL caching functionality to cache those.

(In all three cases the file cache is used)

- we're poor!

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: [MODDB] Moderator Needed

Postby RMcGirr83 » 26 Aug 2009, 19:45


User avatar
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: [MODDB] Moderator Needed

Postby igorw » 26 Aug 2009, 19:57

With the set_config and the manual caching (cache functions) methods you would be able to update/clear cache every time a moderator action is done.

- we're poor!

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: [MODDB] Moderator Needed

Postby RMcGirr83 » 26 Aug 2009, 20:04


User avatar
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: [MODDB] Moderator Needed

Postby igorw » 26 Aug 2009, 20:52

--> MOD Writers Discussion. ;)

- we're poor!


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “MOD Feedback”

Who is online

Users browsing this forum: No registered users and 7 guests