• Index
  • » Users
  • » alzander
  • » Posts

Posts

Posts

Jan-08-19 03:39:19
Error installing JFBConnect v8.0.4 on Joomla! 3.9.1
Category: JFBConnect

Pieter,
I'm sorry for the delayed response. I did access your development website to test. When I install JFBConnect, I get a popup message that simply says "Error". That's not something we've ever seen before or understand why it's happening.

In your first message, you noted that the error was:

I get the following error: 'Call to a member function get() on string'.

Where are you seeing that message? I seem to be seeing something different.

Also, on the development site, I see that JFBConnect v8.0.4 is actually installed. Can you tell me how you installed it? My only suggestion was going to be to try a Install From Directory option where you copy the JFBConnect package to your site and install locally. Maybe that's what you've already done, but any details you can provide on the error message you're getting (how you're seeing it) and how JFBConnect was actually installed will help.

Thanks,
Alex

JFBConnect can work with standard Joomla login module. Our social login buttons can easily be added to that module or in other locations that you may want them that don't necessarily have to have a Joomla login area. The SCLogin module can be added and set to not show the login form, we have our 'easy tag' system where you can add {JFBCLogin} anywhere to the site and our social login buttons will appear and other options.

Unfortunately, I don't know why the otpcheck.php file can't be loaded from your site. There are tons of possibilities and I don't know your site or infrastructure well enough to tell you. The only suggestions I have are to disable security and URL rewriting features to narrow down which is causing the problem. If it's not DFI, then turn off all of Akeeba (temporarily) to see if that fixes it.

I hope that helps get you started,
Alex

For the Login Form posttext, I don't think it's a bug. I think the pre/post text fields do extra filtering to prevent bad code and other problems. The easy-tags are a good way to get around those issues.

As for the Easy-Tag, I can't load either the svg or png file directly. Try going to this link (with your domain of course) and see if it loads for you:
media/sourcecoast/images/provider/facebook/facebook.svg
I get a 404 error. That's the URL that the Facebook login link is trying to load with the Easy-Tag, so once you get the image to work directly, the easy-tag should work as well.

Thanks,
Alex

The issue may be Admintools itself. There's a setting in their WAF (Web Application Firewall) for "Direct File Inclusion", which prevents direct access to PHP files like we need. Try turning that filter off to see if authentication with the SCLogin module starts working.

If so, there must be a way to let AdminTools know that hitting that file directly is ok. I don't know that offhand, but I'd look around to see if there are ways to add the file I references above to an exception list. If not, let us know and we can investigate further.

I can't recommend disabling 2FA. If you have enabled, you're doing the right thing and telling you to disable (reducing security) is never a good thing.

Thanks,
Alex

Blair,
Your subscription for JFBConnect is setup. Sorry for the delay on that.

As for SCLogin, the reason it's not working is because you have 2 Factor Authentication enabled on your site and the check the SCLogin performs is failing. When you try to login with SCLogin, it makes a call to the following URL to check if the user has 2FA enabled for their account:
/modules/mod_sclogin/ajax/otpcheck.php

For some reason, that URL is redirecting to /table on your site. I don't know why, but either your SEF extension (sh404SEF), an .htaccess rule or some other redirection rule is changing that URL making our call fail.

I'd check to make sure that file exists in the filesystem and, if so, then determine what could be redirecting from the correct call to the /table URL.

I hope that helps,
Alex

As Melissa noted, we're working on an update and some documentation on what to do with your apps. It pretty much should be 'not much' though as JFBConnect already has most of the updates required implemented, but installing another update later this month will help ensure you have no issues.

I hope that helps,
Alex

Glad to hear we could help. If you need anything else, just let us know.

Thanks,
Alex

I just tried to authenticate on your site with Google and I see the same issue. I'm unsure what's causing it from what I see, but here are the steps I'd recommend:
* Disable SEF URLs (temporarily to test)
* Disable caching on your site (in the Global Configuration area or any 3rd party extension)
* In the JFBConnect configuration area, set "Enable Debug Mode" to 'Yes'

Then, try to login again. Hopefully, it will work. If not though, a better error message may appear explaining why the Google authentication failed.

I hope that helps, but either way, please let us know what happens.

Thanks,
Alex

Dec-31-18 02:23:34
Error installing JFBConnect v8.0.4 on Joomla! 3.9.1
Category: JFBConnect

I'm definitely perplexed. If you could private message me your site and admin credentials, we'll gladly try to install and see what could be going wrong.

You can PM me by clicking the mail icon under my name to the left.

Thanks,
Alex

Facebook doesn't make it easy to re-request permissions. The idea is that if you've limited permissions, the app shouldn't be able to continuously re-request them and pester you.

The only way I know to re-request that permission is to revoke the permission first. To do that, go to:
https://www.facebook.com/settings?tab=applications

Then, find your app and you can remove the Manage Pages permission (or just remove the app entirely). When you log back in to your site with Facebook, the permissions will be requested again.

I hope that helps,
Alex

Can you give a little more explanation as to what isn't working? Since it sounds like you aren't using JFBConnect yet, I'm assuming you're logging in with standard Joomla username/password credentials.

Beyond that, what happens? Do you get an error message, does the page reload, does 'nothing' happen when you click login? Any details you can provide will help us investigate and provide some solutions for you.

Thanks,
Alex

I'm not sure if the text you posted above is missing some fields because of how you posted it, or if you made the mistake. Either way, please make sure there is a double-quote after the href=, like:

Code:

<a href="javascript:void(0)" onclick="jfbc.login.provider('Facebook');">Login with Facebook</a>

If that doesn't work, try using our easy tag in that field:

Code:

{JFBCLogin providers=facebook image=facebook.svg}

The facebook.svg file must be in the /media/sourcecoast/providers/facebook directory.

This is our documentation section for the raw HTML tag, by the way:
https://www.sourcecoast.com/jfbconnect/ … gin-button

I hope that helps,
Alex

When you grant 'manage_pages' for a user, it should show all pages that that user is an admin of. If it's not, then I'd double check that you are the admin of those extra pages.

With Facebook, there really isn't a way to grant permission for just one permission. The permission is for all pages that you administer, so I'm unsure why it wouldn't show the extras.

Thanks,
Alex

Dec-27-18 14:19:12
more social buttons on line
Category: JFBConnect

The SCLogin module doesn't limit how many are on a line. The limit is set by the width of the container that the SCLogin module is in and the width of the buttons themselves. I'd suggest any of the following:
* Placing the SCLogin module into a wider module position. If you're using the popup / modal option, you may need to use some CSS to make the popup wider (we can help if you need)
* Use smaller buttons. In the SCLogin module, there are settings for which buttons to use. Choose smaller buttons for one, or all, of the social networks.
* Create your own buttons. You can add your own social login buttons to the /media/sourcecoast/images/provider directory so that they can be selected in the SCLogin module as well.

I hope that gives you some ideas, but if you need anything else, please let me know.

Thanks,
Alex

Glad to hear that helped. If you need anything else, just let us know!

Thanks,
Alex

JFBConnect v8.0 updated our Google integration to use their newer APIs. When you login with the "Google+" button, you're actually logging in with any of the Google services that support their single-sign on mechanism.. so user's with a Gmail, YouTube or a few other accounts can actaully authenticate on your site. It's not just Google+.

We do need update the logo, documentation and promote our Google integration a bit better. However, I'll be honest that there may very likely be some hiccups as Google+ is shut down. We've been working to make the migration as smooth as possible, but Google isn't being exceptionally clear on what may happen either current/smile

Thanks,
Alex

JFBConnect lets the connect to your site with their social network account in multiple ways, and it's very configurable in the JFBConnect settings to allow/prevent some methods.

If the user doesn't have an account, they can use the social login buttons (Google/Microsoft or others) to have a Joomla account automatically created for them. From then on, they can login with that social account. You can also configure JFBConnect to send them their Joomla username and password that was created so they can login with standard Joomla credentials instead of their social account.

If they already have a Joomla account (whether they created it or you, the admin, did), JFBConnect allows the user to 'connect' their existing account to any social network. To do that, they click the social login button (you should see these on this site by hovering over the My Account menu item in the top right when you are logged in). They'll have to approve your site to link their account. Once they do, they'll be able to login to your site in the future with their social network or Joomla credentials.

There's no way for you, the admin, to link an account to another user's social network account. The user needs to do that as they have to authenticate on that social network and give permission to your app, which only they can do.

I hope that helps explain things, but if you need anything else, please let me know!

Thanks,
Alex

Dec-20-18 16:06:16
Error installing JFBConnect v8.0.4 on Joomla! 3.9.1
Category: JFBConnect

The channel error you get will happen whether you are in development mode or live mode. When you create a channel, the user you setup must authenticate on the front-end to grant that permission before you can continue setting up the channel in the admin area. You will want your app in Development mode *and* the user will need to be an admin of the Facebook app to be able to have that permission requested of them. If you need to setup channels for users that aren't admins of the Facebook App, you'll have to go through the review process, which is a lengthier and more tedious process.

We also experienced difficulties trying to login in the font end using SCLogin. In firefox the console shows:

I'm unsure what that error means. Can you tell me what else happens when you try to login? There are usually multiple Javascript errors that occur when integrating with social networks as each browser blocks and enables specific features, and so the social networks try many avenues to get around those limitations. Some suggestions/questions:
* Can you try in Chrome and let me know if it works there?
* In Firefox, there are tracking and privacy options. Please disable those as some privacy tracking features can disable large portions of Facebook. There's nothing we can do about those limitations when they are enabled.
* In JFBConnect, set the "Show 'Login Credentials' in Popup" setting to 'No'. That disables the Javascript based login routine and uses a server redirect mechanism, which eliminates many tracking/browser issues that can happen.

As for the JFBConnect installation, I just tested installing JFBConnect 8.0.4 on Joomla 3.9.1 using PHP 7.2.11 and did not receive any errors or warnings. Other than the slightly off PHP version, it's the same as what you're doing, so I'm not sure where the difference is.

For my test, it's a fresh Joomla installation with no other extensions installed. JFBConnect does try to detect some other extensions (JomSocial, K2, EasySocial, etc) and will install additional plugins. Do you have any other components installed when you try to install on the PHP 7.2 site?

Finally, for the issues you're having.. are there any on the PHP 7.2 site, are you able to get into the admin area on that site? I understand the errors on your dev site, but I can't tell if the error you get on installation on PHP 7.2 is preventing any use or if you're just running into the same types of issues as on the development site.

Thanks,
Alex

Dec-19-18 14:45:42
Error installing JFBConnect v8.0.4 on Joomla! 3.9.1
Category: JFBConnect

In looking through our Autotune logs, we can see that you've been able to run all the Autotune tools on your site. Autotune is run after JFBConnect is installed, which means things seem to have installed properly.

Can you let me know:
* When you get the error message above? I'm assuming it's when you use the Joomla installer. If there are other messages, like "Installation success", please let us know those as well.
* If you're experiencing any issues with JFBConnect, and if so, what?
* You mention a fresh Joomla 3.9.1 installation. Just to be sure, no prior version of JFBConnect has been installed on this site?

We'll try some further tests installing on Joomla 3.9.1, but right now, I'm unsure what could be wrong. Knowing if there are any functional issues, and what they are, can help narrow things down further as well.

Thanks,
Alex

All JFBConnect social buttons can be included manually anywhere you want on your site. You can use our SCLogin module, any other login module or even a custom HTML to fully customize the login area experience.

For each social network login button, all you need to use is the following code:

Code:

<a href="javascript:void(0)" onclick="jfbc.login.provider('NETWORK');">Login with NETWORK</a>

Where network is any of the networks we support, like facebook, twitter, googleplus, linkedin, etc.

With that, you can wrap it in a div or use the anchor link to use the Font Awesome icons however works best for your site.

I hope that helps, but if you need anything else, please let us know.

Thanks,
Alex

I'm glad to hear that 8.0.1 fixed the issue on one of your sites. I'm unsure what's happening on the other site, but I'd double-check your settings in JFBConnect and your Google application.

On the site that doesn't work still, please make sure you've tried the debug and SEF steps I mentioned above. In addition, please disable any caching you have enabled.. either in Joomla or 3rd party caching extensions.

Additionally, try:
* If you have any social network extensions installed, which may be in your template or other places, try disabling those as well.
* Re-order the JFBCSystem plugin to be the first in the System group. That can help it execute before any other plugins that may try to recognize the Google authentication.

Let us know if that helps or not and we'll help however we can if not.

Thanks,
Alex

I apologize for the delay in getting back to you! Thank you for sending the details on how to view the page. That helped a lot.

JFBConnect is properly adding the tags to the page for each widget. The issue is that those tags are only parsed by each social network on page load, or when the social network is told to re-parse the page to look for their tags. Since new content is added dynamically to the page, you'll need to call the following Javascript in order to have Facebook and Twitter re-scan the page for tags and render them properly:

Code:

twttr.widgets.load();

FB.XFBML.parse();

Once that's called, any new Twitter or Facebook widgets on the page will render properly. Those calls should be made whenever a new article (or batch of a few) are loaded into view.

Google+ doesn't have as easy of a mechanism to re-render their tags. Google+ is planned to shut down in April 2019 though, so we're not recommending using their widgets any longer.

I hope that helps, but if you need anything else, please let me know.

Thanks,
Alex

I just tried to authenticate and it does seem like the login is working, but JFBConnect isn't processing it properly. Can you try the following to see if they fix the issue or help narrow down a cause:
* Disable SEF URLs on your site -- temporarily, just to see if the authentication works.
* In JFBConnect -> Configuration, set "Debug Mode" to "On". A message may appear after you're returned to your site from Google explaining why authentication is failing.

Hopefully, the above will help us determine where things are going wrong.

Thanks,
Alex

I'll try to answer all the questions as best I can, but most are related to styles in your template itself that are conflicting with our styles.

1a) Password icon
/templates/shaper_helixultimate/css/template.css at line 809 is setting:

Code:

input[type="password"]:not(.form-control) {

display: block;
}

That makes the password field always be on a line on it's own.
1b) Font-awesome - We use the Glyphicons set for those images. You can create your own CSS to override our style for ".sourcecoast .icon-white" which currently loads the image out of media/sourcecoast/css/img/glyphicons-halflings-white.png

2) Joomla comes included with Bootstrap 3. That is the version we use for our styling. We use a namespaced version of Bootstrap 3, which means our styles should only apply to our modules and there shouldn't be conflicts with other Bootstrap styles. We don't support Bootstrap 4 styling right now as that would cause conflicts with the majority of templates that are still built for BS3. There isn't a good way around this for us right now, though at some point in the future, we may consider supporting both Bootstrap 3 and something else. It really depends on which direction Joomla 4 takes.

We call the style "Default" because it's the most close to the standard Joomla module, with only slight tweaks. Unfortunately, there is no standard for how all buttons or other elements of templates for Joomla should be made, so there isn't a way for us to inherit everything. Trust me, we wish it were possible. Bootstrap 3, which ships with Joomla, is the closest we get to a standard library and definitions, but other templates want to use the latest frameworks (which is understandable), but there's just no way to support every possible template's choice of framework and version.

I don't honestly know Bootstrap 4 well enough to let you know what would have to change in our module to support it. It's just not something we've investigated.

I hope the above makes sense, but if you need any help getting the above going, please let me know.

Thanks,
Alex

The page you linked to is restricted, so I can't see the issue. I tried to register with Facebook, but I get the following message:

URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs.

Twitter brings me to a red page with "0 - Bad request token!". That is usually caused by having the Twitter app setup incorrectly. I'd recommend checking out the Twitter Setup Guide and making sure the Callback URL is setup properly in your app.

I couldn't find a way to register otherwise on your site, and can't see the page without logging in. Once you get that going, let me know and I'll gladly help however I can.

As for the actual issue, can you let me know what's happening to the social buttons in the stories that pop in? Are the social buttons just missing or are the raw JFBConnect tags just showing?

Any details you can provide will help us understand ahead of time before we see the issue when we login.

Thanks,
Alex

  • Index
  • » Users
  • » alzander
  • » Posts

Board Info

Board Stats
 
Total Topics:
11741
Total Polls:
0
Total Posts:
49282
Posts today:
19
User Info
 
Total Users:
48034
Newest User:
renmen
Members Online:
2
Guests Online:
1030

Online: 
LeRan, edwardpeck
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