Topic-icon Joomla User Profile Fields Not Showing on Registration Page

Active Subscriptions:

None
Joomla User Profile Fields Not Showing on Registration Page and K2 User Profile Fields are Showing up which I don't want to show. I will use a plugin to add the Joomla User Profile Fields to the K2.

How do I show the Joomla User Fields and Joomla User Profile fields on the Registration and My Profile pages and nothing else.
The topic has been locked.
Support Specialist
Are you talking about the standard Joomla registration and My Profile pages? If so, those fields aren't being added (or removed) due to JFBConnect. You'll need to configure how you want the K2 fields to display in the parameters of that extension.

Additionally, the User - Profile plugin is what Joomla has built-in to let you show additional fields during registration. You can configure that plugin to show/hide fields however you want.

I hope that helps explain, but if you're looking for something else, just let us know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
9 years 5 months ago - 9 years 5 months ago #48927 by webdevtim
Thanks Alex, I created the user registration flow on a dev site first see; webdev.911truthoutreach.org/my-profile.html?view=registration

When I ported this over to the live site things didn't work the same even though I though I was updating files on both site as I went through the process: see: www.911truthoutreach.org/my-profile.html?view=registration

I made some changes on the live site and added CSS to make the form and Captcha responsive, but otherwise I believe everything else is exactly the same.

I noticed one thing, however, and that is that JFB Connect isn't picking up the Language overrides on the live site.

Once once logged in an edit the User Profile, things are very different.
Last edit: 9 years 5 months ago by webdevtim.
The topic has been locked.
Support Specialist
That page is completely generated by Joomla, so JFBConnect wouldn't be in control of showing or hiding any fields on that page.

The User - Profile fields are definitely missing vs the dev site you show. All I can recommend is double-checking that the User - Profile plugin is enabled and configured how you want it to be. Unfortunately, I'm not sure how much more we can help because I don't think this is related to JFBConnect at all, but if there's something specific from JFBConnect that you think is causing the problem, just let me know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
9 years 5 months ago - 9 years 5 months ago #48935 by webdevtim
This has got me stumped, because everything enabled on the dev site is enabled on the live site, in fact I put the two side by side and went down the lists for every selection in both JFBConnect and Joomla Users and User Profile and everything is exactly the same.

One thing that does involve JFBConnect and that is the Edit My Profile page is using the K2 Users information and I have specifically indicated everywhere in every plugin, module and component that I would be using Joomla Users and Joomla User - Profile and yet I am still getting the K2 fields on the Edit My Profile Page. Can you point me to the instructions for setting up the Joomla Users Registration and Edit My Profile pages again. With Users - Joomla and User - Profile as well as Social Profiles - Joomla and Social Profiles - K2 enabled I should be getting the Joomla Extended Profiles displayed on the Edit My Profile page. Do I have to turn Social Profiles - K2 off to keep the K2 fields from appearing? What about the K2 Extended Profiles plugin does this affect anything? I have Easy Profiles, but I have disabled all it's plugins as I don't want to complicate things.

There was something I did on the dev site however which involved enabling something and after that something was enabled more options appeared and then I selected those options. Don't remember where that was.

One other thing I don't understand and that is JFBConnect isn't picking up any of the Language overrides on the live site, but is picking up the language overrides on the dev site. I have to edit the files directly in /language/en-GB/en-GB.com_jfbconnect.ini and modifying /template/my-template/language/en-GB/en-GB.com_jfbconnect.ini has no effect on the live site. I wonder if this is an indication that something is amiss on the live site? Maybe a re-install of JFBConnect on the live site? The dev site is http. but the live site is https, but I made sure that everything was configured for https on the live site.

The reason I am using the Joomla Registration, Profile and Login pages instead of JFBConnect Registration, Profile and Login pages is because ACYMailing is adding a check-box through a plugin that will allow subscribing to the newsletter on the Registration page, but the plugin is for Joomla Users. I told them that JFBConnect does support Joomla Users, so If I use the Joomla Registration page, I will be able to add a check-box for users to subscribe to our newsletter at the same time they register an account. I couldn't get them to make a plugin specifically for JFBConnect, they said they would make a plugin for Joomla Users such that any component that supports Joomla Users would be able to display the Newsletter subscription check box; maybe you guys could connect?

But thanks for the attempt, I believe you are right, this is a Joomla thing and not a JFBC thing.
Last edit: 9 years 5 months ago by webdevtim.
The topic has been locked.
Support Specialist

With Users - Joomla and User - Profile as well as Social Profiles - Joomla and Social Profiles - K2 enabled I should be getting the Joomla Extended Profiles displayed on the Edit My Profile page.

The Social Profiles - Joomla and Social Profiles - K2 plugins will *only* affect JFBConnect's component pages. The Edit My Profile page is generated by the com_users component and our plugins do not alter the look of that page at all. Whether those Social Profile plugins are enabled or not will have no impact on the standard com_user login, register or edit pages.

Do I have to turn Social Profiles - K2 off to keep the K2 fields from appearing? What about the K2 Extended Profiles plugin does this affect anything? I have Easy Profiles, but I have disabled all it's plugins as I don't want to complicate things.

If the K2 fields are appearing, you need to configure that in K2 (or disable the K2 - System plugin entirely). K2 Extended Profiles is not our extension, and I don't know how to configure that either.

have to edit the files directly in /language/en-GB/en-GB.com_jfbconnect.ini and modifying /template/my-template/language/en-GB/en-GB.com_jfbconnect.ini has no effect on the live site. I wonder if this is an indication that something is amiss on the live site? Maybe a re-install of JFBConnect on the live site? The dev site is http. but the live site is https, but I made sure that everything was configured for https on the live site.

I'm didn't know that the template language override method still worked, actually. I know that was a feature of Joomla 1.5, but thought it was removed in 2.5+. I'd have to look into that ability further. There's a separate Language Override feature in Joomla 2.5 that can be used to override output language strings from the Language Manager.

The reason I am using the Joomla Registration, Profile and Login pages instead of JFBConnect Registration, Profile and Login pages is because ACYMailing is adding a check-box through a plugin that will allow subscribing to the newsletter on the Registration page, but the plugin is for Joomla Users. I told them that JFBConnect does support Joomla Users, so If I use the Joomla Registration page, I will be able to add a check-box for users to subscribe to our newsletter at the same time they register an account. I couldn't get them to make a plugin specifically for JFBConnect, they said they would make a plugin for Joomla Users such that any component that supports Joomla Users would be able to display the Newsletter subscription check box; maybe you guys could connect?

If you need the checkbox to display, then using the Joomla registration component is probably the best option. Alternatively, you could use the auto-registration flow and automatically sign users up for newsletters, but that doens't always go over well.

Again though, if you're using the Joomla registration page, whether the user gets there through a social network registration via JFBConnect or by going to that page directly, the page is controlled by Joomla and other plugins that modify it (like K2). JFBConnect *only* adds the social login buttons to that page if you have the "Integrate with Joomla Login" setting enabled. We don't add or remove any fields that are shown on that page.

I hope that all helps,
Alex
The topic has been locked.
Active Subscriptions:

None
9 years 5 months ago - 9 years 5 months ago #48956 by webdevtim
Thanks Alex. that removed a lot of possibilities and narrowed my targets down to a manageable number.

The Social Profiles - Joomla and Social Profiles - K2 plugins will *only* affect JFBConnect's component pages.

If I used the JFBConnect Registration Page, would it bring in the newsletter subscription check-box from Joomla Users, or would I have to modify, through an override, the JFBConnect plugin responsible for that? In your opinion, am I better off using the JFBConnect Registration flow rather than the Joomla registration flow. It will take ACYMailing two months to crank out the plugin I mentioned, in less time I could modify the JFBC plugin and add the ACYMailing code.

Again though, if you're using the Joomla registration page, whether the user gets there through a social network registration via JFBConnect or by going to that page directly, the page is controlled by Joomla and other plugins that modify it (like K2). JFBConnect *only* adds the social login buttons to that page if you have the "Integrate with Joomla Login" setting enabled. We don't add or remove any fields that are shown on that page.

Alex, in your opinion, what is the best approach to setting up the login - register -edit pages with JFBConnect?

If the K2 fields are appearing, you need to configure that in K2 (or disable the K2 - System plugin entirely). K2 Extended Profiles is not our extension, and I don't know how to configure that either.

I will look into K2 to find the answers for the display anomalies as you pointed out. In the Components -> K2 -> Users, select "Parameters" in the upper right corner of the page, Then select the "Advanced" tab near the top of that page, and set "Enable K2 User Profile" to No. That will prevent the K2 Users fields from being added to the Joomla User Profile page.

I'm didn't know that the template language override method still worked, actually. I know that was a feature of Joomla 1.5, but thought it was removed in 2.5+. I'd have to look into that ability further. There's a separate Language Override feature in Joomla 2.5 that can be used to override output language strings from the Language Manager.

As far as Language overrides, using the old method works on the dev site, but not on the live site. Using Joomla's Language Override component works, but when I add a character like 👉 Joomla doesn't seem to know what to do with it. That character is a white hand with a finger pointing left. I thought that when I configured Joomla to use Unicode UTF-8 encoding that Joomla then supports the entire character set. I noticed that Google Chrome doesn't support the entire UTF-8 character set either, Firefox does. When I edit en-GB.jfbconnect.ini in /language/en-GB 👉 displays correctly, at least, in Firefox.
Last edit: 9 years 5 months ago by webdevtim.
The topic has been locked.
Support Specialist

If I used the JFBConnect Registration Page, would it bring in the newsletter subscription check-box from Joomla Users, or would I have to modify, through an override, the JFBConnect plugin responsible for that? In your opinion, am I better off using the JFBConnect Registration flow rather than the Joomla registration flow. It will take ACYMailing two months to crank out the plugin I mentioned, in less time I could modify the JFBC plugin and add the ACYMailing code.

The JFBConnect flow has the following benefits:
* There is a "Login" side of our registration page, which is useful if you have many existing Joomla users on your site already as it allows them to connect their social network to an existing account *or* register a new account. There's also the "Automatically link users by email" setting and other ways which will connect social network accounts to existing Joomla accounts, so this likely isn't a huge benefit
* You can show registration fields from multiple different extensions, like JomSocial, K2, Kunena, and the User Profile plugin, for example, all on the same page.
If none of that is beneficial to you, I'd recommend the Joomla registration flow. By doing that, you'll only have one registration page to manage and it should make things simpler.

If you want to use JFBConnect, it probably wouldn't be overly difficult to add the checkbox to our registration flow.

Alex, in your opinion, what is the best approach to setting up the login - register -edit pages with JFBConnect?

For the edit page, again, there isn't any control that JFBConnect has over that page *at all*, so nothing to do there. The Login & Register pages are best to get working on their own so users that go there without using a social network login work how you'd expect. Once that's done, then you can use the "Integrate with Joomla Login" setting to add our social buttons to it, but beyond that, there's not much else to configure in JFBConnect to alter those pages.

Language stuff
If you use the Language Override method, that creates a file called (I think) /language/en_gb/overrides/en_gb.ini where all the overrides are stored. You can edit that file directly. It's possible that the characters are just being saved improperly there from the web interface. Check and edit that file to see if it helps with what you're looking to do.

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
Another thank You Alex. Thanks for the tip on the language overrides. You are probably correct that the web interface isn't representing the Unicode correctly.

We only have a handful of users right now so it isn't a big deal to connect all those users to their Social Media accounts as that should happen as new users register and elect to connect their user account to their Social Media account; i.e. we get confirmation from them that they want to do this.

As far as having all the user profiles from all the installed components on one page is a bit much, I would actually have to have them each on their own tab, a bit of overkill for what we need now. Besides the K2 component requires a lot of styling work to make the fields they contribute behave. This may change when K2 3.0 comes out, if it ever does, Foitis has been promising this for over a year now.

I have also enabled the EasyProfile plugin, and I am intrigued by this, it gives me a lot of control over user profile and I can add fields to the database and to the Joomla interface without having to manually hack com_users, which isn't difficult, but of course my work is lost when I upgrade and I would have to copy my hacked version of com_users for both the user side and the admin side back into their respective directories and then I have no guarantee that Joomla didn't change the structure of those files possibly making my hacked version break the site.

Is there any known issues with using EasyProfile together with JFBConnect that you are aware of. I like EasyProfile because I can order the fields any way I choose and add any fields unique to this site, and include an avatar as well. Now the question is will this work with JFBConnect. I will not be enabling the Social Media plugins that come with EasyProfile as I am totally sold on JFBConnect. EasyProfile just provides a slick way of creating really nice registration / edit my account pages.

Sorry to start down this different avenue, but EasyProfiles solves a lot of the deficiencies of the default Joomla Registration.
The topic has been locked.
Support Specialist
We've heard of users with EasyProfile and JFBConnect living happily together and without issue. In general, JFBConnect creates 100% standard Joomla users that any other extension can add-on to by adding their own fields or doing whatever they do, just like JFBConnect extends the user to have an associated social network account.

Right now, we don't have a Social Profile plugin for EasyProfile though, which means that you won't be able to directly import user information from the user's social network into EasyProfile. The user can fill that data out after they register (or during the registration process) though.

Unfortunately, I've never used EasyProfile, so I'm not sure if they extend the standard Joomla registration form, which we already can redirect the user to, or if they have their own registration form, which would likely require work for us to integrate with and redirect the user too after they login with a social network.

Any info you can provide there will help, but it sounds like you're on the right track.

Thanks,
Alex
The topic has been locked.