Forum is closed

JLinked button not visible plus some errors

JLinked button not visible plus some errors

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: http://www.gospeakenglish.com/ (see the login box in the header)

Thanks in advance,
Andrea

Murphz
useravatar
Offline
22 Posts
Active Subscriptions:

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

Re: JLinked button not visible plus some errors

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.

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

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

Re: JLinked button not visible plus some errors

Hi,
thanks for the reply. Now the button is okay, the button is now visible.

The redirect problem is still there by the way current/sad 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

Murphz
useravatar
Offline
22 Posts
Active Subscriptions:

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

Re: JLinked button not visible plus some errors

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

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

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

Re: JLinked button not visible plus some errors

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

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

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

Re: JLinked button not visible plus some errors

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?

Murphz
useravatar
Offline
22 Posts
Active Subscriptions:

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

Re: JLinked button not visible plus some errors

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:

Code:

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

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

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

Re: JLinked button not visible plus some errors

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

Murphz
useravatar
Offline
22 Posts
Active Subscriptions:

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

Re: JLinked button not visible plus some errors

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

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

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

Re: JLinked button not visible plus some errors

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 current/smile let me know if you have ideas to resolve...

Murphz
useravatar
Offline
22 Posts
Active Subscriptions:

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

Re: JLinked button not visible plus some errors

Murphz,
Can you tell me exactly the change you made the change you mentioned above about JRoute? I'm still a bit confused as to what you did and really don't understand why it's required on your site.

I still see that I can navigate directly to the non-SEF route for our Login/Register page at:

http://www.gospeakenglish.com/index.php?option=com_jlinked&view=loginregister&return=Lw==

The error you're seeing with the SEF route explains a lot. The main problem is that the "500 - View not found [name, type, prefix]: loginregister, html, contentView" message is indicating that Joomla thinks that you're loading the Joomla Content component (articles) based on the contentView word in that line. There can be a few reasons I can think of for that:
* You have a menu item named "component" that is loading a Joomla article
* Joomla is not properly finding com_jlinked and defaulting to content. Shouldn't be happening, but if you've altered other router functionality, that could be the reason

If you update the redirect in /components/com_jlinked/controller.php around line 94 and remove the JRoute, that may fix your issue as it will go to the 'raw' URL which seems to work. Test that, and let us know how it goes.

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

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

Re: JLinked button not visible plus some errors

The exact change I've made is, from:

$app->redirect(JRoute::_('index.php?option=com_jfbconnect&view=loginregister' . $returnParam), 'Your session timed out. Please try again', 'error');

to:

$link_JFBLogin = JURI::root()."index.php?option=com_jfbconnect&view=loginregister".$returnParam;
$app->redirect($link_JFBLogin,'Your session timed out. Please try again', 'error');

in every redirect, because it was leading to a 505 error. Actually, with your suggestion is everything fine in JFBConnect and in Jlinked too.

I have no menu item named component, and the router functionalities is from sh404sef (but set to joomla router for JFB & JL), never modified.

All is ok now, can't wait to implement Google+ login/registration current/smile

Thanks a lot Alzander current/smile bye!

Murphz
useravatar
Offline
22 Posts
Active Subscriptions:

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

Re: JLinked button not visible plus some errors

Murphz,
Very glad to hear you got things going. Still honestly not sure why that change is required, but the important thing is that it works.

The next JFBConnect release should be out next week. Definitely keep an eye on that problem when you install the new version in case that change is required again.

Best of luck,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24100 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:
11663
Total Polls:
0
Total Posts:
48978
Posts today:
6
User Info
 
Total Users:
47791
Newest User:
alex01
Members Online:
1
Guests Online:
820

Online: 
alex01
Social Stream
Refer and Earn

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 About Our Affiliate Program