PDA

View Full Version : vBulletin 4 Request - Force member to enter all fields


Elixar
04-25-2016, 12:47 AM
So I have some members who do not have their age entered onto the profile, and I'd like for them to. Is there any way to force them to update it and add their age?

MarkFL
04-25-2016, 01:57 AM
Give this a try. :)

Elixar
04-25-2016, 07:36 PM
I'm so sorry, what I'm looking for is this: When a profile field is empty, I can force a member to update their profile field. I go to their profile and it will prompt me with the ability to force updates for certain fields, or just one. :)

Stratis
04-26-2016, 02:42 AM
I use this, for empty
:up: https://vborg.vbsupport.ru/showthread.php?t=270030

It would be great to force as you mention

MarkFL
04-26-2016, 02:47 AM
I'm so sorry, what I'm looking for is this: When a profile field is empty, I can force a member to update their profile field. I go to their profile and it will prompt me with the ability to force updates for certain fields, or just one. :)

Your initial post mentioned "So I have some members who do not have their age entered onto the profile, and I'd like for them to. Is there any way to force them to update it and add their age?"

What I uploaded does just that. :cool:

Now, I could edit that simple mod to allow for multiple required fields, and allow for excluded usergroups/users, etc.

Elixar
04-27-2016, 02:11 AM
Your initial post mentioned "So I have some members who do not have their age entered onto the profile, and I'd like for them to. Is there any way to force them to update it and add their age?"

What I uploaded does just that. :cool:

Now, I could edit that simple mod to allow for multiple required fields, and allow for excluded usergroups/users, etc.


Yes that would be great. :)

MarkFL
04-27-2016, 12:18 PM
Yes that would be great. :)

Okay, give this a try...:)

This doesn't exclude anyone...will upload that in a few...

edit: Okay, now usergroups can be excluded.

MarkFL
04-29-2016, 02:25 AM
This update allows you to select required profile fields using checkboxes. :)

Stratis
04-29-2016, 06:42 AM
This update allows you to select required profile fields using checkboxes. :)
I like this modification very much, as you made it its very useful.

I have one issue though.
See attach images, shows and my translation in my language

154872 154873

:p

MarkFL
04-29-2016, 01:56 PM
I like this modification very much, as you made it its very useful.

I have one issue though.
See attach images, shows and my translation in my language

:p

Hey Stratis,

Try this update, which I've attached. :)

ForceHSS
04-29-2016, 02:37 PM
Tested this to see what is was like but after editing all my fields on my profile it still said I needed to fill them in to browse the forums so had to remove

MarkFL
04-29-2016, 02:54 PM
Tested this to see what is was like but after editing all my fields on my profile it still said I needed to fill them in to browse the forums so had to remove

This was caused by a blank array element, which I have resolved...

ForceHSS
04-29-2016, 04:00 PM
Thx

--------------- Added 1461953300 at 1461953300 ---------------

Just tested still the same

MarkFL
04-29-2016, 04:42 PM
...Just tested still the same

Odd...the change I made cleared it up for me. :confused:

What type of profile field is it that you have filled in some text and it still says you need to fill it in?

MarkFL
04-29-2016, 05:20 PM
I updated the product so that profile fields that have a default value defined will not be selectable as required, as this would be nonsensical.

So, import this update and then save your settings, even if you make no changes to the settings themselves.

Stratis
04-29-2016, 06:37 PM
Mark my first problem with the language is ok.
But...

My opinion, I see in settings of modification all fields, even if they are Hidden to members, fields that not supposed to show up. if I check the box of that hidden fields to members, they will never pass the notice.

May be only to show those fields that they meet setting of the fields, fields that members can put the value.
OR
other philosophy, modification will have only one field to put by hand the id of the field that admins want. and the other one you have for Excluded Usergroups.

Any way as it is it does what I want, I must be careful to see the settings of my fields before checking box.

:)

MarkFL
04-29-2016, 09:15 PM
Good points, Stratis...I have updated such that now you are only given the choice of fields that do not have a default value, are not hidden and are user-editable. :)

As before, make sure you save your settings after you update. ;)

MarkFL
04-30-2016, 01:43 AM
I have officially published the product here:

Force User To Define Profile Fields (https://vborg.vbsupport.ru/showthread.php?t=322488)

If you have installed any of the versions found in this thread, uninstall them, since the productid is different. :)

Stratis
04-30-2016, 06:12 AM
Tested, with new install.

Much more better. And as I say above it is good and makes what we want.
We are not goin to play every time with settings :D

I will wright what I see, to just let you know:
if you want some time to get forward if it is feasible.

1) Modification must be on top of settings we have in the first place in the fields.
What I mean? If we have in field "Biography" (Field Required) = Yes xxxxx
and in settings of mod we have unchecked box, we have problem in this situation and so on. (even if member fills all other prompt required fields by mod) if biography not filled up he will get the official note "A required field called Biography is missing or has an invalid value." when he will press to fill that to, non of all others fields are saved that was fill before.

2) With the change you made Hidden fields now is not show up, this is ok, but
In the option "Field Required" even if it is to "NO" modifications calls it and I see it with the checkbox. That means that when field is Private than only does not show up.

3) "Grace Posts" This is a good point, But this does not give many choices as it is for all. Some admins may want to get the "names" of members as first priority or what else they have. What about it? as I see in your other mods you have like this..

field id, how many posts
1|10
2|5
3|5
4|2
...and so on

;)

MarkFL
04-30-2016, 11:53 AM
1) Modification must be on top of settings we have in the first place in the fields.
What I mean? If we have in field "Biography" (Field Required) = Yes xxxxx
and in settings of mod we have unchecked box, we have problem in this situation and so on. (even if member fills all other prompt required fields by mod) if biography not filled up he will get the official note "A required field called Biography is missing or has an invalid value." when he will press to fill that to, non of all others fields are saved that was fill before.

In the product settings, I have the profile fields sorted by field number. As far as how fields initially defined as "required" when you define them in the "User Profile Field Manager," the behavior of the page when editing one's settings is not altered by this product.

2) With the change you made Hidden fields now is not show up, this is ok, but
In the option "Field Required" even if it is to "NO" modifications calls it and I see it with the checkbox. That means that when field is Private than only does not show up.

Yes, the product allows you to force users to fill out profile fields that have not been designated as "required" in the field settings. :)

3) "Grace Posts" This is a good point, But this does not give many choices as it is for all. Some admins may want to get the "names" of members as first priority or what else they have. What about it? as I see in your other mods you have like this..

field id, how many posts
1|10
2|5
3|5
4|2
...and so on

;)

I put in the "Grace Posts" the same way I did for the avatar forcing product. I don't think it is necessary to give different usergroups a different number of grace posts. The added complexity would far outweigh the utility of such a feature.

Stratis
04-30-2016, 12:07 PM
For all above I agree, as we know some times is how we see it. Its only opinions.

I put in the "Grace Posts" the same way I did for the avatar forcing product. I don't think it is necessary to give different usergroups a different number of grace posts. The added complexity would far outweigh the utility of such a feature.
For this maybe I don't understand the answer, or I was not clearly what I mentioned. I did not say for usergroups but for id fields.

id field(biograghy) | 5(posts)
id location | 10 posts

and so on

If you mean all this as usergroup, its ok, sorry for misunderstanding :confused:

MarkFL
04-30-2016, 12:14 PM
Yes, I did not read your post thoroughly, for some reason I saw usergroupid rather than fieldid. :)

However, to me I think it is better to have 1 number for grace posts that applies to having to fill out any fields. For example, suppose you have 6 profile fields you have set as required via this product, and field1 has 10 grace posts, field2 has 20 grace posts, and so on. A new user would be "bothered" by the error message instructing them to fill out a profile field at 6 different times. I think it is better to bother them once, and get everything done at the same time. :)

Stratis
04-30-2016, 02:13 PM
Yes, that's a good point.
It depends what fields has every forum that needs to force users.
If you put them all at once maybe it will happen as you say.

I don't think that there will be so many fields to use this modification. But it will be much help when ever we make a new field. You know what will happen. Mod will force users with the standard post count. Many fields that I have seen are different regardless of the type of forum.

We may force them to put there "Real name" after 1 post, but we cannot force them to write in which forum are fun, after three months (this field I had experience before 6 months on a Site that I was register.

Any way this could be an + option and all other exists to.
Lets see here other users what to say. And finaly as it is, is very good :D