Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Restrict some profile fields to specific usergroup Details »
Restrict some profile fields to specific usergroup
Mod Version: 1.00, by Devanand (Member) Devanand is offline
Developer Last Online: Dec 2012 I like it Show Printable Version Email this Page

vB Version: 3.8.4 Rating: (2 votes - 5.00 average) Installs: 6
Released: 20 Jun 2010 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code  

Well, I was trying to do this last 3-4 hours and I found lot of questions about it but no answer. Finaly I got it working so I just want to share it with other people who were searching for this.
It is very simple. Go to your ACP--> Style Manager --> Edit Style --> User Control Panel Templates --> userfield_wrapper

At the top of it add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change "FIELD NUMBER" to the field number of the profile field you want to restrict.
Change "USER GROUP IDs" to the ID(s) of the User group(s) you want to have permission to use this field.

At the bottom of everything add:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That is all....enjoy

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 21 Jun 2010, 08:57
Sweeks's Avatar
Sweeks Sweeks is offline
 
Join Date: Jul 2008
Thank you for this, have needed it for quite some time now
Reply With Quote
  #3  
Old 18 Dec 2010, 21:24
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Real name: Tim
Thank you
Reply With Quote
  #4  
Old 06 Jan 2011, 12:27
etiangsonizer etiangsonizer is offline
 
Join Date: Apr 2007
thank you
Reply With Quote
  #5  
Old 27 Mar 2011, 11:54
kamakazy_kid kamakazy_kid is offline
 
Join Date: Mar 2010
Real name: Brad
Didn't seem to work for me
Reply With Quote
  #6  
Old 09 Apr 2011, 07:08
septimus septimus is offline
 
Join Date: Aug 2006
This hides it from the User CP, but not from the About Me tab, so they can still edit them :/
Reply With Quote
  #7  
Old 01 Jul 2012, 19:00
LostForWords LostForWords is offline
 
Join Date: Mar 2010
Great mod! Is there a way to make this work for various profile fields to various usergroups?

ie:

Hide field 9 from usergroups a,b and c, and then hide field 8 from d,e,f?
Reply With Quote
  #8  
Old 10 Nov 2012, 13:20
matrex722's Avatar
matrex722 matrex722 is offline
 
Join Date: Jan 2007
thank you
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 17:36.

Layout Options | Width: Wide Color: