February 21, 2014 - JFBConnect v6.0 Released! Go to The blog announcement | The full changelog | The JLinked Migration guide

Forum is closed

Adaptions of loginregister template

Adaptions of loginregister template

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 http://www.sourcecoast.com/components/com_agora/img/members/2611/loginregister.png 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:

Code:

            

              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

guero
useravatar
Offline
66 Posts
Active Subscriptions:

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Adaptions of loginregister template

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

If you use JFBConnect or JLinked, please post a rating and a review at the Joomla! Extensions Directory:
Joomla Facebook Connect | LinkedIn for Joomla

alzander
Alex
useravatar
Offline
17845 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Adaptions of loginregister template

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

guero
useravatar
Offline
66 Posts
Active Subscriptions:

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Adaptions of loginregister template

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

guero
useravatar
Offline
66 Posts
Active Subscriptions:

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Adaptions of loginregister template

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

If you use JFBConnect or JLinked, please post a rating and a review at the Joomla! Extensions Directory:
Joomla Facebook Connect | LinkedIn for Joomla

alzander
Alex
useravatar
Offline
17845 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Adaptions of loginregister template

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

If you use JFBConnect or JLinked, please post a rating and a review at the Joomla! Extensions Directory:
Joomla Facebook Connect | LinkedIn for Joomla

alzander
Alex
useravatar
Offline
17845 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
7401
Total Polls:
0
Total Posts:
32527
Posts today:
20
User Info
 
Total Users:
21449
Newest User:
maualv
Members Online:
1
Guests Online:
731

Online: 
srushlo

Earn 20% Through Referrals

Like our extensions? You're not alone. That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word, and we'll take care of the rest.

Learn More About Our Affiliate Program