vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Field Required setting for User Profile Field (https://vborg.vbsupport.ru/showthread.php?t=314240)

induslady 09-11-2014 02:03 PM

Field Required setting for User Profile Field
 
1 Attachment(s)
Hello All,

Have custom user profile field - "City".
Some of the old users who haven't filled this, I want to force them to fill this before they continue using the forum. Have the setting as

Field Required - Yes, always
Also refer the settings for this user profile field screen shot as attached.
Attachment 150348

But it does not seem to be working. Can anyone tell me what is going wrong and how to force the users to fill this field for those who hasn't filled it.

Lynne 09-11-2014 03:26 PM

I think you need a modification to do that. If they happened to go modify something else in their profile, then it would require them to fix that. But, they aren't going to be stopped from using the forum because of a profile field unless you do something (plugin/modification) to make it so.

tpearl5 09-11-2014 04:11 PM

This setting is meant to require that a user update that field when they edit their profile. You would need some kind of plugin, like this one, but for vb4

ozzy47 09-11-2014 05:56 PM

Perhaps this mod, https://vborg.vbsupport.ru/showthread.php?t=270030

induslady 09-12-2014 05:58 AM

Quote:

Originally Posted by Lynne (Post 2514678)
If they happened to go modify something else in their profile, then it would require them to fix that. But, they aren't going to be stopped from using the forum because of a profile field unless you do something (plugin/modification) to make it so.

Hello Lynne,

If that is the case, then for the setting "Field Required" what is the difference between the options -

Yes, at registration and profile updating - User will be required to complete this field at registration and when updating their profile.

Yes, always - User will be required to complete this field at registration. Enabling this setting will force all users to complete it before they can continue using your forum. This applies only if the field is shown on the "Edit Your Details" page.

Lynne 09-12-2014 05:05 PM

Hmmm, I just tested this on my site on a non-Admin regular Registered Users user and it worked just fine with the Display Page set to Edit Profile (is yours set to that?) and Yes, Always. If an admin is missing the field, then it doesn't force them to fill it out. (It's been a long time since I played with that setting and I thought it left old users alone, but apparently it shouldn't.)

So, if you tried it on a regular user and it's not working, I'd suggest disabling all your modifications.


All times are GMT. The time now is 01:53 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.00950 seconds
  • Memory Usage 1,720KB
  • 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)bbcode_quote_printable
  • (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