Topic-icon JLinked button not visible plus some errors

Active Subscriptions:

None
10 years 9 months ago #34734 by Murphz
Hi,
I've managed to get JFBConnect work like a charm, but, actually I have some problems with JLinked.

First of all the button {JLinkedLogin} is visible with text, but not with the image graphic. Before reading the forum there was a Linkedin Javascript API error that now seems to be fixed (the url was added to the linkedin textarea), but anyway the button is still only text (just to let you know, as far I remember, the same button is visible in the facebook registration page, but I need it outside in the login box).

Plus of that, after clicking the button, the registration page never appear. The registration process needs to be like the facebook one, after the user is created, must be redirected to the edit profile. Actually, when the button is clicked is going to be redirected immediately to the edit page, but obviously it show a log in page. Why the JLinked page is not visible?

URL: www.gospeakenglish.com/ (see the login box in the header)

Thanks in advance,
Andrea
The topic has been locked.
Support Specialist
10 years 9 months ago #34752 by alzander
Andrea,
The button isn't displaying correctly because our CSS file isn't being properly loaded on your page. You look to have an SCLogin instance being loaded into the page, but the whole section is commented out. In that section is the CSS file that needs to be loaded. Our code will only try to load the CSS one time on the page, so when it's inserted there, it won't insert it again when you use the {JLinkedLogin} tag.. even though it's commented out.

You'll need to either:
* Disable that other SCLogin instance that isn't being used
* Manually include /components/com_jlinked/assets/jlinked.css in your template or code somewhere

For the registration process, I'm not sure why the user is being redirected to the login page. I'm seeing the same behavior when I test, but I've never seen that before. Can you try:
* Make sure the JLinked - Authentication, System and User plugins are enabled
* Disabling your SEF URLs (temporarily) to see if that fixes the problem.
Let us know if any of the above helps and we'll gladly help diagnose things further.

Finally, since I saw it, you have something else loading the Facebook Javascript API on your page. You should disable whatever else is loading that as it will likely cause issues with JFBConnect and will also slow down your page load time since the same files are being downloaded and executed twice.
The topic has been locked.
Active Subscriptions:

None
10 years 9 months ago #34771 by Murphz
Hi,
thanks for the reply. Now the button is okay, the button is now visible.

The redirect problem is still there by the way :( when clicked the user is redirected to the standard joomla login. I've tried with SEF disabled and, yes, the plugins are all enabled (the user plugin is set order first too).

Thanks also for the double FB API loading, will get over it asap.

Still waiting for suggestions about the button problem. That one was never ok, but, was most strange is that sometime I found my linkedin user map in the component (occasionally request me the linkedin access) and when the button is clicked (from offline) it redirect me to the right profile page.....anyway, I've never see the registration page with that button...seems really weird no?

Andrea
The topic has been locked.
Support Specialist
10 years 9 months ago #34786 by alzander
Andrea,
It's definitely strange that you're not going to the registration page at all. I'm not sure what's going on there and would likely have to investigate that further on-site if SEF didn't seem to be causing the problem. All I can guess is that there is some authentication, system, or user plugin that is trying to redirect the user before JLinked can properly register them, but I just can't be certain with the information you've provided.

Would it be possible to Private Message us admin credentials to your website so we can look into what may be happening? You can PM me by clicking the mail icon under my picture to the left.

Thanks,
Alex
The topic has been locked.
Support Specialist
10 years 8 months ago #34866 by alzander
Andrea,
I'm not sure what's happening on your site. If I switch to "Automatic" login, I'm able to click the Login with LinkedIN button and my account is automatically created. So it seems that communication is working with LinkedIn and profile information can be properly pulled. When Normal registration is enabled, instead of going to our Login/Register form, the user is redirected to the Joomla login page.

There's nothing in JLinked that should redirect the user to the Joomla login page, so I'm not sure what's doing this. I'd like to try with a different template, but you don't have any others installed and look to have modified the default Joomla atomic template. My only guess is that there's something in your template, or some other extension, that's forcing the user to redirect to the Joomla login page instead of the JLinked login/register page.

Do you have any ideas as to what may be causing that redirection? I can't see any cause for the issue though.

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

None
10 years 8 months ago #34986 by Murphz
Strange thing is that is the same options of jfbconnect, so why a redirect only on JLinked?

It would be the same with the automatic registration, but I need user to fill at least the user type (teacher, school and so on) and that's not possible using the automatic one. I've tried everything but still no luck, as far as I know there is nothing that roughly redirect the CB registration page, my question is why with JFBConnect everything's fine?
The topic has been locked.
Support Specialist
10 years 8 months ago #35020 by alzander
Murphz,
Sorry for the delays on this. I'm still not sure what's happening and wanted to let you know I'm still investigating and will be doing a lot more in-depth checks tomorrow. Something is preventing our normal redirection from functioning, but I'm still not sure what. Strangely, if I go directly to the JLinked Login/Register page, it works:
http://www.gospeakenglish.com/index.php?option=com_jlinked&view=loginregister&return=L2VuL2xvZy1pbi8=

Right now, I see that your JFBConnect version is 5.0.0. There is a new release of JFBConnect (v5.0.1) which has a slightly updated version of our shared library code (v2.1.1 vs 2.1.0). I don't think there's anything in that library update that should fix the problem, but it's worth a shot and there are a lot of other minor JFBConnect related fixes in that release. If you have time, could you update your site to JFBConnect v5.0.1 and see if it helps with the LinkedIn issues?

Either way, let us know and we'll be investigating more soon.

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

None
10 years 8 months ago #35024 by Murphz
No problem and thanks for your support Alex. I have tried the link but it just return me to the index, could be the return param maybe and I'll check better tomorrow too. Anyway, that lead me to think that is not a redirect problem, as it will redirect in this case too.

Just to let you know, in JFBConnect (and JLinked too) I've had to modify the route function because it was leading to a 404 error, but everything I did was to change the router to that direct link (with the normal return param too) and everything went ok in JFBConnect, strangely is not the same with JLinked. How this link can work directly but not if used inside the loginregister page, where the JRoute function was modified to point to that link??

I'll update all the extensions this week, hope this help to fix the problem but, as you said, this cannot be the real problem here. Will also renew my subscription because JFBConnect and JLinked worth every single money and are center of my customer marketing strategy, so we really need to fix this issue.

Thanks,
Andrea
The topic has been locked.
Support Specialist
10 years 8 months ago #35036 by alzander
What was the 404 link you were getting with the router? There's no issues you should be having with our router file, and that alone is indicative of an underlying issue on your site. Can you tell us more about the error you were getting before hand and the changes you needed to make for things to work? That may greatly help us understand what's going on.

I hope the updates help, but keep us posted. Also, keep an eye on our blog tomorrow for a preview post of the upcoming JFBConnect v5.1 release, later this month, as well as the future roadmap. We're very excited about what's to come.

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

None
10 years 8 months ago #35147 by Murphz
Hi,
I've update all the extension to the last release. You can check, JFBC is still good but JLinked have the same problem.

Plus, I have removed my modifications and now it's the original one. The error was a "500 - View not found [name, type, prefix]: loginregister, html, contentView" if JRoute is used. Instead of using JRoute I've had modified to the direct link using JRoot and index.php?option=com_jlinked&view=loginregister&return=L2VuL2xvZy1pbi8=.

Recently renewed the subscription anyway :) let me know if you have ideas to resolve...
The topic has been locked.