No Profie Fields In Registration Form!
I have "Include in user registration form" enabled in:
Home > Administration > Configuration > People > Profile types
But no fields appear below the Username / Email fieldset, only the 'Display label' for the Profile
- If I uncheck the option, the label does not show up (as expected)
- I am experiencing this problem and it keeps recurring with all recent installs!
Or at least since Drupal 8.8x or Open Social 8.x
- I have tested this Open Social (social-8.x-7.1) and the issue is not present / the profile fields show up!
- I have tested this with a plain Drupal install (v8.8.5) and the issue is not present / the profile fields show up!
- It doesn't matter whether local or online!
- No response in the Open Social Slack forum
Does anyone else have this problem with newer installations?
This is important because my site requires potential users/members to be approved by admins and also has required fields necessary in the registration process to qualify the candidate!
The first two Screenshots are from a fresh install of Open Social And one from a further developed site where the issue is not present!
Comments
Comment #2
bas123 commentedComment #3
bas123 commentedComment #4
bas123 commentedComment #5
bas123 commentedComment #6
michaelschutz commentedYes, this is a known issue. I have the problem too. More info here: https://www.drupal.org/project/social/issues/3056814
It seems to be an issue with a conflict between field_group and opensocial's code. Right now you have to make a choice between having profile fields available on registration and being able to add attachments in comments. If you update field_group (as per the issue I linked) it seems it will give you what you want, but you then won't be able to add attachments in comments. Maybe that's OK for your use case?
Comment #7
bas123 commented@michaelschutz ,
i Cannot tell you how relieved I am to finally get a response on this and that it is a known issue by the Drupal team!
I was unable to find that resource via my searches!
However I must ask!
At https://github.com/goalgorilla/open_social/pull/1407 /
Issue #3056814 by truls1502: Update drupal/field_group from 3.0-beta1 to 3.0-rc1 #1407 the status is Closed
I reported this here over 19 days ago and even farther back in the Open Social channel on Slack, with no responses!
Indeed the error code validates your analysis!
See: https://www.drupal.org/project/social/issues/3121043
And in my case, yes I need both, in fact I am hoping they spend even more time developing the capabilities of adding the attachments to extend to posts (at least increase the limit above one) as my goal is to emulate as much of a Facebook experience as possible in order to attract as many users from that platform in my demographic as possible :)
In that I am willing to wait for a resolution (even though its been over two weeks since YOUR reply in #3056814 has gone unanswered), my first instinct is to let this issue sit because it seems to have no other ramifications for the site I am developing in an online subfolder/domain with no real users and no applicants!
I did start another instance online just to try and troubleshoot the problem and one or two locally that I could experiment with as well so I could verify this but I must ask you if you think updating Field Group from 8.x-3.0-beta1 to its latest stable incarnation of 8.x-3.0 - 28 January 2020 OR if disabling the social_comment_upload module is a viable choice at least to test this!
I suspect that in the final analysis the answer is to update the field_group to fix that issue at the EXPENSE of losing the attachments in comments, and hope that the Open Social team picks up the ball on the conflict!
What do YOU think?
Comment #8
michaelschutz commented@bas123,
What I think doesn't matter much, as I'm not a coder and can't help actually solve the coding problem. Also, I'm just a free user of the OpenSocial distribution, so I don't have much pull. :)
It's a known issue by the OpenSocial team, just for clarification.
I've also experienced slow response times with other issues. However, they all have been eventually resolved, so I trust that this one will be as well.
I know that the OpenSocial team has to manage not just one issue at a time, but (as with this example) how all the different modules of the profile need to interact.
I know that they provide it as a service to paying customers who pay hundreds of dollars a month or more, so I am guessing that they are the team's priority, and then fixes are eventually pushed out to updates to this free version. I can't speak for their timelines or what their process is for addressing issues.
Being that this is an open source project, you are free to offer patches and improvements. Then I and others can test things, and if it works, the OpenSocial team will review it and include it in a future update. You can speed along the development if you choose.
That's why I'm always looking forward to new features and fixes, but I'm not going to complain about not seeing things happen according to my desires or my timeline because I can't actually be of help in coding a solution. I'm never going to demand something be fixed. I will report issues and bugs, but I'm never going to make demands. So I'll wait and trust that someone (maybe you?) can offer coding help and speed things along.
Re: this specific issue,
I don't have time to test immediately - maybe next week - but yes, that's what I am planning to do on a test site - set it up the way I wish it worked, then update field_group to 3.0 stable, and see what happens. If it doesn't work, disable the ability to add attachments on comments, and see what happens. I can offer reports on testing, but I can't tell you from the code *why* it's not working. If you can, all the better!
Comment #9
bas123 commented@michaelschutz,
First I wish to thank and commend you for your technique of stepping through my concerns.
This is a method I wish more folks would use in addressing others' discussions!
Second, I wish to clarify what seems to be an overall misconception about my understanding or appreciation of the process of cooperation and sharing of information in the Community Commons Space!
I am fully aware of the prioritization of efforts the developers of this now "monetized" distribution had adopted and fully understand and appreciate the time they commit to serving the Open Source aspect.
I just wish that rather than ignore a request regardless of its duplication, they would take 10 seconds to say: "We are aware of this and have it in queue, see xyz-[link] to follow its progress", or similar. It just seems to me that by doing so would save a great deal of their time as well as those of us who are dependent upon their feedback!
I have followed this Drupal Distribution for several years now, since it's initial release which predates their current business model. It wasn't only until just recently that the Distribution evolved into the viable product that it has become!
My question referred specifically to the two choices that had preceded that:
I can report that:
With my thanks again to you, I HAVE tested this on two distributions and can report that you are 100% correct that by updating the Field Group module, the Profile Fields are indeed rendered in the Registration form!
Secondly, the comment attachments and the ability to add new ones have disappeared from the reply forms!
As if they were never there!
And in addition, the functionality of the 'Filed Grouping' capabilities in the forms seems to be greatly improved and self correcting!
I don't know how much time you have spend setting up Vertical/Horizontal Tabs, Accordions, Fieldsets etc. with Open Social and particularly in the Profile form and display, but for me it has been a struggle and any hierarchical misstep or coding error could potentially throw errors or even lock up the form completely... This seems to have been resolved as in my hour or so in working with it, found it to be a much smoother operation!
My only other frustration is that the only technique this module offers of Horizontal Tabs (that I have successfully used in other distributions) simply does not work in Open Social and the next best thing is Accordion Items which in the event of a lengthy Introduction (Which I provide as a means for the user to enter a Biography and Resume) can get quite lengthy an thus using the accordion, can be a browser scrolling issue!
So, I too would like to share this with the O.S. Team and if nothing else validate that the issue with the Profile Fields is indeed resolved with the Field Group Module upgrade HOWEVER, by doing so, that wonderful feature of Comment Attachments has been lost!
But I am not sure if you were suggesting in confirming that:
You were suggesting that my feedback would not be of value as they are already aware of and have performed these tests themselves but have down priortized it in their "grand scheme"!
Best Regards!
Comment #10
bas123 commentedComment #11
kingdutchThis is probably caused by our registration block rendering fields directly instead of using a form mode.
Changing the status to "Normal" as this is not a major bug: Open Social can be used as intended, there's no data loss or feature unavailability.
Please read the text underneath the issue tags field
Additionally, please follow basic internet etiquette and use normal case or Title Case in your issue title. All-caps is considered shouting.
Thanks for using Open Social
Comment #12
bas123 commentedThank you @Kingdutch for lending your attention to this!
I leave it to you and your wonderful team members to determine the priority of making coding fixes, however for our purposes the ability to have the Profile Fields appear in the registration process is essential to us as we must approve applicants on the basis of certain criteria that cannot be determined by a Username and or email address!
I have solved this in the short term by following the advice provided above in updating the Field Group module at the Loss of users having the ability to upload attachments in comments which I can only assume is something you may already be working on... No?
And my apologies for utilizing the "all caps" in the thread's headline (now corrected) as I was of the impression that doing so was only considered "Shouting" in chat rooms etc. - by using it in this application I considered it a means of "headlining" (drawing attention to) the subject as in the of the attribute:
text-transform: uppercase;which is commonly used for that purpose. I will rely on the use of the 'heading' and 'strong' attributes in the future!Comment #13
michaelschutz commentedKingDutch, thanks for your response. I would disagree with this characterization, though:
There is an advertised feature that's unavailable due to this bug. It's advertised as being able to simply click a box in the Profile type and have it show up properly on the registration form. But that feature is currently unavailable. Or, if a person goes outside of the normal open social update path to update field_group on one's own so that this one works, then a different feature becomes unavailable: uploading files in comments.
When a person needs to choose between breaking one of two advertised features of the distribution, I think it's fair to categorize that as "major". Can I ask if there's been progress on addressing this bug so that both this feature and being able to upload files in comments will both be available?
Comment #14
michaelschutz commentedPer https://www.drupal.org/project/social/issues/3056814, this issue is now resolved in the PR realm, and per https://www.drupal.org/project/social/issues/3127937 the fix will be available in 8.3.
I'm trying to test it from the PR files, but am running into issues. I await the imminent release of 8.3. :)
Comment #15
michaelschutz commentedJust installed 8.3 on my test site, and I can confirm that profile fields show up properly on the registration form, and I can upload attachments on a comment. Closing.
Comment #16
ronaldtebrake commentedThanks for getting back to us!
Comment #17
bas123 commentedAgreed on this, comments are indeed back in play!
As well as what appears to have been a lot of other fixes :)
Comment #19
MCMLB commentedI had a similar problem in case it helps someone — Custom Fields were not showing on the Registration page in Drupal 8. The solution for me was to go to:
Admin Home > Administration > Configuration > People > Account settings > Manage form display > Click on 'Register' tab.
From there, enable the field by dragging it up from the Disabled group.
Comment #20
bas123 commented@MCMLB,
Thank you for your reply, however that setting was activated! See screenshot: https://www.drupal.org/files/issues/2020-04-07/settings-no-profile-field...
This was a coding issue that was resolved by the Open Social Developers and rolled out in a new release!
That is why you see at the top of this thread that is says "Closed (fixed)"