Hide Moderator log

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Ideas Centre
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
AssassinCookie
Registered User
Posts: 8
Joined: Tue Jan 06, 2009 2:53 pm

Hide Moderator log

Post by AssassinCookie » Tue Jan 06, 2009 3:14 pm

Is there any way that I can hide the moderator log so no moderators and other "small admins" can see it (or use it)?
I don't want to disable it, just hide it from the others so they cant delete what they are doing.
Last edited by ric323 on Sun Mar 15, 2009 9:23 pm, edited 1 time in total.
Reason: Topic icon changed

Kim_Possible
Registered User
Posts: 1343
Joined: Sun Sep 21, 2008 3:57 pm

Re: Hide Moderator log

Post by Kim_Possible » Tue Jan 06, 2009 7:03 pm

Moderators can always see moderator logs in the MCP but do not have the ability to delete log entries.

There are two admin permissions related to Admins seeing Admin/Mod/User logs in the ACP:

-Can clear logs
-Can view logs

Also note, clearing the logs and/or deleting a log entry creates a log entry.

AssassinCookie
Registered User
Posts: 8
Joined: Tue Jan 06, 2009 2:53 pm

Re: Hide Moderator log

Post by AssassinCookie » Tue Jan 06, 2009 7:24 pm

Thanks alot :) Very kind of you :D

Lyrol
Registered User
Posts: 2
Joined: Sun Mar 15, 2009 12:49 pm

Re: Hide Moderator log

Post by Lyrol » Sun Mar 15, 2009 12:51 pm

So how do I hide the moderator logs for my moderators?

I hope you can help me.

Kim_Possible
Registered User
Posts: 1343
Joined: Sun Sep 21, 2008 3:57 pm

Re: Hide Moderator log

Post by Kim_Possible » Sun Mar 15, 2009 4:30 pm

There is no way to do that with vanilla phpBB. You would need a MOD of some kind.

Here is a quick hack that will hide the logs from everyone who does not have access to the ACP (at least one administrator permission).

Open /styles/prosilver/template/mcp_logs.html

Find:

Code: Select all

<h2>{L_TITLE}</h2>
Replace with:

Code: Select all

<!-- IF not U_ACP --><h2>You do not have permission to view the logs.</h2><!-- ELSE --><h2>{L_TITLE}</h2>
Find:

Code: Select all

<!-- INCLUDE mcp_footer.html -->
Add before:

Code: Select all

<!-- ENDIF -->
Open /styles/prosilver/template/mcp_front.html

Find:

Code: Select all

<!-- IF S_SHOW_LOGS -->
Add before:

Code: Select all

<!-- IF U_ACP -->
Find:

Code: Select all

<!-- INCLUDE mcp_footer.html -->
Add before:

Code: Select all

<!-- ENDIF -->
Save your changes, upload the files, and refresh your template (ACP --> Styles --> Templates --> your style = refresh), and you should be all set.

Lyrol
Registered User
Posts: 2
Joined: Sun Mar 15, 2009 12:49 pm

Re: Hide Moderator log

Post by Lyrol » Sun Mar 15, 2009 4:43 pm

Thanks KP! You made my day :D

naive
Registered User
Posts: 43
Joined: Sun Apr 15, 2007 3:32 pm

Re: Hide Moderator log

Post by naive » Sun Jul 24, 2011 4:27 am

After modifying these two files, I am able to hide logs from moderators with prosilver style.
Will someone give me instructions with subsilver2 style? :idea:
Thanks in advance.

Locked

Return to “[3.0.x] Support Forum”