ACP Overwrite Module

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.
Extensions Robot
Extensions Robot
Extensions Robot
Posts: 29092
Joined: Sat Aug 16, 2003 7:36 am

ACP Overwrite Module

Post by Extensions Robot »

Modification name: ACP Overwrite Module
Author: bantu
Modification description: Enables an administrator to overwrite user’s time settings (timezone, daylight saving time, date format) through the Administration Control Panel.
Modification version: 1.0.0.b
Tested on phpBB version: 3.0.1

Download file: acp_overwrite-release_1_0_0b.zip
File size: 36066 Bytes

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Modifications Team may not be able to provide support.

-->Modification support<--
Last edited by Extensions Robot on Tue Feb 08, 2011 4:24 am, edited 5 times in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)
User avatar
A_Jelly_Doughnut
Former Team Member
Posts: 34458
Joined: Sat Jan 18, 2003 1:26 am
Location: Where the Rivers Run
Contact:

ACP Overwrite Module

Post by A_Jelly_Doughnut »

Modification validated/released

Notes:
A Donut's Blog
"Bach's Prelude (Cello Suite No. 1) is driving Indiana country roads in Autumn" - Ann Kish
User avatar
bantu
3.0 Release Manager
3.0 Release Manager
Posts: 2523
Joined: Mon Jul 10, 2006 9:58 pm
Name: Andreas Fischer

ACP Overwrite Module

Post by bantu »

For the current development version please see: http://www.phpbb.com/community/viewtopi ... 0&t=898925
Powered by Coffee
User avatar
Erik Frèrejean
Former Team Member
Posts: 9899
Joined: Tue Oct 09, 2007 9:09 am
Location: The Netherlands, 3.0.x Support Forum
Name: Erik Frèrejean
Contact:

Re: ACP Overwrite Module

Post by Erik Frèrejean »

Thanks bantu, this will come in handy. Now my admin can do this by him self and don't have to bother me to run the query :mrgreen:.
Support Toolkit | Support Request Template | Knowledge Base | phpBB 3.0.x documentation
I don't give support via PM or IM! (all unsolicited pms will be trashed!)
Kharon
Registered User
Posts: 235
Joined: Thu Oct 26, 2006 5:27 pm

Re: ACP Overwrite Module

Post by Kharon »

thanks bantu, nice and great mod :)
User avatar
Ddraiggoch06
Registered User
Posts: 482
Joined: Sun May 18, 2008 11:45 am
Location: Wales, UK

Re: ACP Overwrite Module

Post by Ddraiggoch06 »

A great, handy, simple MOD. Good work :)
I accept PM support for phpBB3. Please do not PM me with MOD or Style support and requests.
"Give a man a fish and you'll have fed him for today. Teach a man to fish and you'll have fed him for a lifetime."
User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: ACP Overwrite Module

Post by IPB_Refugee »

Hi bantu,

I don't know if I missed it, but is it possible to set the permission who is able to use your MOD in ACP?
I have a user & group admin who sees the overwrite module but when he clicks on the link he gets a permission denied message. Is it possible to hide the link to the overwrite module for admins who are not allowed to use it?

Regards
Wolfgang
User avatar
bantu
3.0 Release Manager
3.0 Release Manager
Posts: 2523
Joined: Mon Jul 10, 2006 9:58 pm
Name: Andreas Fischer

Re: ACP Overwrite Module

Post by bantu »

Hi Wolfgang,

since you can change the board settings there as well, it also requires permission to manage the board. It should not display if there is only one permission available. If it does, it's a bug or something that should be fixed. I'll look into it.

From the xml file.
Requires the administrator to have the “Can manage users” (a_user) and “Can alter board settings/check for updates” (a_board) permissions.
Powered by Coffee
User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: ACP Overwrite Module

Post by IPB_Refugee »

bantu wrote:It should not display if there is only one permission available. If it does, it's a bug or something that should be fixed. I'll look into it.
Hi bantu,

then it's not a bug because there is more than one link available in the menu for my manage user & groups admin. It's just ugly because it shouldn't be displayed at all.

Have a nice Sunday!
Wolfgang
User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: ACP Overwrite Module

Post by IPB_Refugee »

Hi bantu!
bantu wrote:since you can change the board settings there as well, it also requires permission to manage the board.
That's okay for me. Can you please tell me what I have to change when I want that my User & Groups admin can use your MOD, too?

Regards
Wolfgang
User avatar
bantu
3.0 Release Manager
3.0 Release Manager
Posts: 2523
Joined: Mon Jul 10, 2006 9:58 pm
Name: Andreas Fischer

Re: ACP Overwrite Module

Post by bantu »

Try replacing

Code: Select all

if (!$auth->acl_get('a_board') || !$auth->acl_get('a_user')) 
with

Code: Select all

if (!$auth->acl_get('a_user')) 
in root/includes/acp/acp_overwrite.php

Regards,
bantu.
Powered by Coffee
User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: ACP Overwrite Module

Post by IPB_Refugee »

Hi bantu,

that worked well - thank you! :)

Regards
Wolfgang
TopherGZ
Registered User
Posts: 9
Joined: Sun Jun 15, 2008 4:55 am

Re: ACP Overwrite Module

Post by TopherGZ »

Hey there, I'm currently running 3.0.2, I installed this MOD, and everything appears fine, however, I can still override the time settings through my UCP... does it ignore Admins and Founders? Also, the values don't seem to "stick," as in, when I revisit the module, they all revert back to the default value. Any ideas?
User avatar
bantu
3.0 Release Manager
3.0 Release Manager
Posts: 2523
Joined: Mon Jul 10, 2006 9:58 pm
Name: Andreas Fischer

Re: ACP Overwrite Module

Post by bantu »

This is how it is supposed to work. It does overwrite the user settings only once.
Powered by Coffee
TopherGZ
Registered User
Posts: 9
Joined: Sun Jun 15, 2008 4:55 am

Re: ACP Overwrite Module

Post by TopherGZ »

Ahhhh... I see! Hmm... Is it possible (or is there a MOD) which forces the use of a specific time zone? I need all of my users to use UTC/GMT, any idea where I could find something like that? A search through both the MOD release and MOD DEV forums turned up nothing.
Locked

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