The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Add user profiles and update all to YES ???
I looked around and didn't really see the answer so sorry if its been covered.
What Im trying to do is add a profile field that's either yes or no. Ive added the field using the Single-Selection Radio Buttons and with the first option as default. No problem but when I check my users profiles it doesn't show either of the options as default. How can I set all my members to have the first (yes) option set to default? Thanks. |
#2
|
||||
|
||||
When you first created the field, did you set a default of Yes? If you did not, and you changed it to be that way later, then it will not change what you had initial set for the users - it will only change it for future registered users. You would need to manually alter your database. Once the field is created for the users, it will stay as created in the database.
|
#3
|
||||
|
||||
Thanks Lynne
I went ahead and just created a new one since its only 2 days old and set the first option as default. Then checked a random profile and still neither option is ticked. So if its a Yes or No option and Yes is on the first line its still set as Yes in the database regardless of what it says in the profile. Or did I miss something again. |
#4
|
||||
|
||||
So when you created it, you had for the first line in Options, "Yes" (and second line is "No" - no quotes) and the you had Set Default (radio button) set to Yes also? Field Editable by User is Yes? Perhaps post a screen cap of your settings.
|
#5
|
|||
|
|||
It is kind of strange...seems if you create a single-selection radio button field with Yes and No options, and select 'Yes" to the default, the field will still have no value in the database (and on the user profile page in the adminCP) until the user edits their settings. The field does show the default selected when the user visits the profile page, but it won't actually have a value until the settings are saved.
|
#6
|
||||
|
||||
Screen shot.
|
#7
|
||||
|
||||
And you have Display Page set to be Edit Profile? I did this same thing on my site and it is showing Yes for the users on the Profile Page.
|
#8
|
||||
|
||||
Yes its on the Edit Profile page.
If I open my profile it simply says N/A with the option it edit it manually. In my profile in the CP neither are ticked. I just tried to rebuild broken user profiles and no change to anyone's profile. |
#9
|
||||
|
||||
I suppose you can just alter the database to have Yes set as default.
|
#10
|
||||
|
||||
I can run a query from the CP but I have no ideal what to use.
And did I say thank you yet? Lynne your the best !!! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|