vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Need to create user profile field viewable only by Admin (https://vborg.vbsupport.ru/showthread.php?t=224227)

Merriweather 09-29-2009 07:48 PM

Need to create user profile field viewable only by Admin
 
I need to create a user profile field that a user can enter data, but what is entered there is viewable ONLY by the admin.

I am searching now for how to do this, but thought a post might bring faster answers in the meantime.

Thank you!

Lautaro 09-29-2009 07:58 PM

Go to your vB Admin CP > User Profile Fields > Add New User Profile Field.

you will see this option:
Private Field ----- set this to YES.

Then go to Admin CP > Usergroups > Usergroup Manager

and click edit to the usergroup that you want it to have the permission and press CONTROL +F and search for "Can View Private Custom Fields" .. just set it to yes.

Merriweather 09-29-2009 08:21 PM

So telling it "NO" for private field makes it private, or not private?

HMBeaty 09-29-2009 08:26 PM

If you want that field to be only viewable by admins, you would actually set that field to YES. I believe that may have been a typo by Lautaro

Lautaro 09-29-2009 08:28 PM

Oh yes sorry, my mistake...

you must set private field to yes, and for the usergroups, if you want only admins to be able to view private fields set the option "an View Private Custom Fields" of all the other usergroups to NO and for the admin to YES.

good luck.

Merriweather 09-29-2009 08:50 PM

I've done that. Set to YES for the field to be private, set all groups except admin to NO for "Can View Private Custom Fields" and users can all see it anyhow. Help!

--------------- Added [DATE]1254261181[/DATE] at [TIME]1254261181[/TIME] ---------------

Never mind -- had two of the fields set wrong. Whew!


All times are GMT. The time now is 08:50 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00972 seconds
  • Memory Usage 1,715KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete