× Joomla LinkedIn support forum

Topic-icon Adaptions of loginregister template

Active Subscriptions:

None
12 years 1 month ago #19840 by guero
Hi!

I have several question around the styling and adaptions of the Jlinked Register Page (com_jlinked/views/loginregister/tmpl/default.php)

1. how can I override this template and have an own instance within my Joomla template?
2. Within the template I do see the kind of two columns - the part for the returning users and the part for new users. Within the column of the new users I also see a Facebook button - how
File Attachment:
how can I get rid of this one?
3. I do have to set "Show Non-Mapped Required Fields" because I have one mandatory field. Of course the Community Builder email field is also mandatory. Within the Facebook registration process I added this to hide the email fields during the registration:
              if this->configModel->getSetting('registration_show_email') || !$this->fbUserEmail ) { ?>
                   show fields
              else  html field type=hidden value="php echo this->fbUserProfile['email'];
What is neccessary to get rid of the email fields for JLinked. It is working fine for JFBConnect.

4. Is the checkbox "Permission for profile import granted. " mandatory and is Linkedin forcing this because of their terms of service? I do not understand why this checkbox is coming at the registration here because the user has already granted on the LinkedIn Page the permission. I would like to get rid of this field as well.

Thanks for your great support
Frank
The topic has been locked.
Support Specialist
12 years 1 month ago #19855 by alzander
1) For template overrides, you simply copy com_jlinked/views/loginregister/tmpl/default.php to
/templates/<YOUR_TEMPLATE>/html/com_jlinked/loginregister/default.php
Edit it there and your changes will take effect. That's called a "Template Override" in case you need to search for more info.

2) The Login With Facebook button is set to automatically appear if you have JFBConnect installed as well. If you want to disable it though, if you look in the code for a line with "echo $this->jfbcLoginButton", you can remove that.

3) There's a new version of JLinked coming out today (or tomorrow). That version has some more flexibility over what fields are displayed. I'd wait till that release is available, update, and if you still have issues showing/hiding some fields, let us know.

4) Yes, LinkedIn has a requirement that anytime user information is imported that there is explicit consent for this to happen. With the JLinked v1.1, that box will hide if you are not importing any information (using the profile plugins). It sounds like you are though, so that will still show. If you want, we can help you to remove it, but please understand that that's against LinkedIn's terms of service if read strictly (we always err on the conservative side for our extensions to make sure we don't get users in trouble).

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

None
12 years 1 month ago #19890 by guero
Hi Alex,

thanks for your quick answer. Your support is on the fly - amazing.

I have two questions left.
1. I still see the the two fields Email and Confirm email address - which I like to get rid off.
2. If I fill out all the neccessary fieldsand push register I do get an error message saying "Error Unable to save user. Please ensure your username is not taken and that your passwords match." 100% sure the username is not taken and the passwords match. Watch else could be the case? I'm using Joomla 1.5.22/CB 1.3.1 and your latest JLinked. I also enabled Display API Errors On Front-End:

Thanks
Frank
The topic has been locked.
Active Subscriptions:

None
12 years 1 month ago #20040 by guero
Hi Alex,

did you get some time to have a look to the two remaining problems? I'm stucked and could need some help.

All the best
Frank
The topic has been locked.
Support Specialist
12 years 1 month ago #20061 by alzander
Frank,
Sorry, I guess I got caught up with the first request that I missed the others.

Just to make sure, you want to just get rid of the CB email fields, not the Joomla ones, right? For JLinked, you need the Joomla email address as it's required to be filled out and it's not something we can fetch from LinkedIn. However, the CB fields should already be hidden, so I'm not sure why you're seeing those... can you check to make sure the email field inside CB is of type "primaryemailaddress"? If it's something else, let us know. We basically hide that field by default, but if you created your own, that would be a problem.

As for the error message you're getting on registration, can you post (or PM) us a link to the page you're working with? We'll need to see what fields are getting submitted to figure out why it's failing.

Thanks,
Alex
The topic has been locked.
Support Specialist
12 years 1 month ago #20191 by alzander
Frank,
I just saw your PM with your site information. The email and confirm email messages are going to be required when using LinkedIn. We don't have the ability to get the email address from LinkedIn, and therefore, need the user to provide it.

As for the problems creating an account, can you let us know how the URLs on your site are being created? When I click the Login With LinkedIn button, I'm directed to the following page:
site.com/l2x3pt0vbglua2vkaw5hdxrozw50awnhdgu=/loginregister
That's an awfully strange URL. Not sure what's messing with it, but it's possible that whatever optimization extensions you have on the site are conflicting with us somehow. If you can disable them and see if that works, that would help narrow down the issue.

Thanks,
Alex
The topic has been locked.