Administrator Profile Field MOD

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: 28022
Joined: Sat Aug 16, 2003 7:36 am

Administrator Profile Field MOD

Post by Extensions Robot » Sun Feb 24, 2008 5:14 pm

Modification name: Administrator Profile Field MOD
Author: Martin Truckenbrodt
Modification description: adds a new option for custom profile fields
the field is displayed everywhere, but the value only can be set by administrators
Modification version: 1.0.5
Tested on phpBB version: See below

Download file: AdministratorProfileFieldMOD_1.0.5.zip Please read this post before installing this MOD. This MOD is not needed anymore for phpBB 3.0.4 and higher.
File size: 49352 Bytes

Modification overview page: View


Selected tags:
  1. Category
    1. Profile/User Control Panel
  2. Complexity
    1. SQL Schema Changes
    2. Template Changes
    3. Language Changes
    4. File Edits
  3. Time
    1. ~ 10 Minutes
  4. phpBB
    1. 3.0.2
Support for this modification needs to be asked within this topic. The phpBB Team is not responsible or required to give anyone 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.

This MOD has only been tested by the phpBB MOD Team with the phpBB version listed in the topic. It may not work in any other versions of phpBB.
Last edited by Extensions Robot on Sun Aug 31, 2008 7:57 pm, edited 2 times in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)

Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 25488
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Administrator Profile Field MOD

Post by Paul » Sun Feb 24, 2008 5:14 pm

Modification validated/released

Notes:
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

User avatar
Martin Truckenbrodt
Registered User
Posts: 3045
Joined: Sun Mar 23, 2003 6:22 pm
Location: Franconia
Name: Martin Truckenbrodt
Contact:

Administrator Profile Field MOD

Post by Martin Truckenbrodt » Sun Feb 24, 2008 5:14 pm

Hello,
after testing the MOD today again I've noticed that there is no more need for this MOD. The functionality of this MOD has been added to phpBB 3.0.4 with the better custom profile field handling.

For more information please look here: http://www.phpbb.com/community/viewtopi ... 5#p8423555

Bye Martin
Last edited by Martin Truckenbrodt on Sat Jan 24, 2009 7:53 am, edited 7 times in total.
Free tutorial: Installing MODs in phpBB 3.0
Advanced Block MOD - Prevent spam on your phpBB 3.0 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists!
My MODs
Use the official phpBB Ideas to vote missing core features!!!

User avatar
aof
Registered User
Posts: 5
Joined: Fri Aug 10, 2007 1:36 pm

Re: Administrator Profile Field MOD

Post by aof » Wed Feb 27, 2008 11:52 am

Find
Tip: This may be a partial find and not the whole line.
Code: Select All
'S_FIELD_HIDE' => ($cp->vars['field_hide']) ? true : false,
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
Code: Select All
'field_admin' => $cp->vars['field_admin'],
Is this right? I guess this should like smth like this instead:
Find
Tip: This may be a partial find and not the whole line.
Code: Select All
'S_FIELD_HIDE' => ($cp->vars['field_hide']) ? true : false,
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
Code: Select All
'S_FIELD_ADMIN' => ($cp->vars['field_admin']) ? true : false,
I'm talking about fifth change to includes/acp/acp_profile.php file as described in install.xml.

User avatar
Martin Truckenbrodt
Registered User
Posts: 3045
Joined: Sun Mar 23, 2003 6:22 pm
Location: Franconia
Name: Martin Truckenbrodt
Contact:

Re: Administrator Profile Field MOD

Post by Martin Truckenbrodt » Wed Feb 27, 2008 5:25 pm

Hello aof,

yes, you are right! There was a difference between the file of my test board and the install.xml. :oops:

I will fix it with the next release.

Bye Martin
Free tutorial: Installing MODs in phpBB 3.0
Advanced Block MOD - Prevent spam on your phpBB 3.0 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists!
My MODs
Use the official phpBB Ideas to vote missing core features!!!

User avatar
scottste
Registered User
Posts: 33
Joined: Thu Apr 26, 2007 10:21 pm

Re: Administrator Profile Field MOD

Post by scottste » Wed Feb 27, 2008 9:51 pm

Does this MOD allow me (admin) to lock a specific profile field after the user has entered the value?

for example, upon registration the user chooses thier eye color..."Blue"... After that point the choice cannot be changed by anyone but the admin?

~Scott
The essance of balance is detachment.
To embrace cause, become fond or spiteful, is to lose ones balance.
After which no action can be trusted. Our burden is not for the dependant of spirit.

User avatar
Martin Truckenbrodt
Registered User
Posts: 3045
Joined: Sun Mar 23, 2003 6:22 pm
Location: Franconia
Name: Martin Truckenbrodt
Contact:

Re: Administrator Profile Field MOD

Post by Martin Truckenbrodt » Wed Feb 27, 2008 11:38 pm

Hello scottste,
no.

Bye Martin
Free tutorial: Installing MODs in phpBB 3.0
Advanced Block MOD - Prevent spam on your phpBB 3.0 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists!
My MODs
Use the official phpBB Ideas to vote missing core features!!!

User avatar
scottste
Registered User
Posts: 33
Joined: Thu Apr 26, 2007 10:21 pm

Re: Administrator Profile Field MOD

Post by scottste » Wed Feb 27, 2008 11:54 pm

Hello Martin

thanks.

bye

~Scott
The essance of balance is detachment.
To embrace cause, become fond or spiteful, is to lose ones balance.
After which no action can be trusted. Our burden is not for the dependant of spirit.

kris71
Registered User
Posts: 14
Joined: Tue Mar 04, 2008 5:14 pm

Re: Administrator Profile Field MOD

Post by kris71 » Tue Mar 04, 2008 5:17 pm

Sorry but this mods doesn't work on my phpbb forum...
(i remplaced the mistake but it doesn't change anythings...)
Can you help me?

kris

User avatar
Martin Truckenbrodt
Registered User
Posts: 3045
Joined: Sun Mar 23, 2003 6:22 pm
Location: Franconia
Name: Martin Truckenbrodt
Contact:

Re: Administrator Profile Field MOD

Post by Martin Truckenbrodt » Tue Mar 04, 2008 5:21 pm

Hello kris71,
Have you purged the whole cache and refreshed the template(s) after installing the MOD?

Bye Martin
Free tutorial: Installing MODs in phpBB 3.0
Advanced Block MOD - Prevent spam on your phpBB 3.0 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists!
My MODs
Use the official phpBB Ideas to vote missing core features!!!

kris71
Registered User
Posts: 14
Joined: Tue Mar 04, 2008 5:14 pm

Re: Administrator Profile Field MOD

Post by kris71 » Tue Mar 04, 2008 5:53 pm

yes i Have purged the whole cache and refreshed the template after installing the MOD.
but i can change the setting of the field without being admin...

kris

User avatar
Martin Truckenbrodt
Registered User
Posts: 3045
Joined: Sun Mar 23, 2003 6:22 pm
Location: Franconia
Name: Martin Truckenbrodt
Contact:

Re: Administrator Profile Field MOD

Post by Martin Truckenbrodt » Tue Mar 04, 2008 5:59 pm

Hello kris71,
please check the code changes again.
Did you install other MOD changing the same files?
Can you change the vale or the name of the field?

Bye Martin
Free tutorial: Installing MODs in phpBB 3.0
Advanced Block MOD - Prevent spam on your phpBB 3.0 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists!
My MODs
Use the official phpBB Ideas to vote missing core features!!!

User avatar
gavpedz
Registered User
Posts: 338
Joined: Thu Nov 16, 2006 12:00 pm
Contact:

Re: Administrator Profile Field MOD

Post by gavpedz » Tue Mar 04, 2008 9:40 pm

I am having a little trouble with this mod when i set it to
"Only administrators are able to fill out this profile field."

and save all seems fine but when i go back it has set it self back to

"Display in user control panel:
The user is able to change this profile field within the user control panel. "

User avatar
gavpedz
Registered User
Posts: 338
Joined: Thu Nov 16, 2006 12:00 pm
Contact:

Re: Administrator Profile Field MOD

Post by gavpedz » Tue Mar 04, 2008 11:06 pm

Ignore my last post i missed the code correction.

kris71
Registered User
Posts: 14
Joined: Tue Mar 04, 2008 5:14 pm

Re: Administrator Profile Field MOD

Post by kris71 » Wed Mar 05, 2008 7:30 am

The mod doesn't work well on my phpbb forum...
i can't see and choose the option when i edit the custom profil field, but users can change the value...
Do you have an idea of where can i make a mistake? in what files?
thank you

Kris

Locked

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