Forum is closed

Installation Issues

Installation Issues

1. Internet Explorer bug:

Hi. Upon installation, login was possible with google chrome and firefox, but internet explorer did not work.

When logging in with the JFB connect in to facebook in internet explorer box pop-ups as usual to enter details. Upon click login the screen disappears and nothing happens. Autotune did not help either. I also tried the forum, including the following thread to no avail:

http://www.sourcecoast.com/forums/jfbco … version-ie

What’s the fix?

2. Error upon enabling Profile plugin in Jomsocial:


Use the tab(s) below to configure how JFBConnect should integrate with other components on your site.

Fatal error: Call to undefined method CommunityModelProfile::getProfileTypes() in /home/superweb/public_html/my-domain.com/plugins/jfbcprofiles/jomsocial.php on line 562

3. When a user logs in with Facebook and is taken to a page for an option to also register on our site, the page is very rough and needs redesign. What is the file extension to this page?

4. How do I remove the square inked border around the login fom? (image attached)?

5. Inquiry: I already have a working comments module installed for Jomsocial. Will this feature work with JFBCComments and other social extensions?

Regards. 

-----------------------------------------------------------------


http://www.sourcecoast.com/images/agorapro/attachments/16109/fbc-facebook-connect-errors.jpg

lionx
useravatar
Offline
6 Posts
Active Subscriptions:

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

Re: Installation Issues

1) I'm not sure what the issue is with IE. Can you post, or Private Message, a link to the site so we can test.

2) For the JomSocial error you're seeing, that's likely because you're using a very old version of JomSocial. The profile plugins are meant for JomSocial 2.0+, which is more than 2 years old now. Are you using JomSocial v1.8 or earlier?

3) The file for the login form is /components/com_jfbconnect/views/loginregister/default.php . Alternatively, you can switch the "Registration Mode" setting to "Automatic" to bypass that form altogether and create the user account automatically.

4) That's likely a setting from your template. If you can post a page we should be able to help you narrow down what style is being inherited.

5) Is the comment module a Facebook comments module, or something else? The easiest test is to enable ours. The main thing is if the other module uses the same parameters, specifically the href, and if they are up-to-date with all the recent changes Facebook has made this year including the upcoming Facebook July 2013 Breaking Changes.

I hope that helps get you started, but let us know any more ways we can help.

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
23893 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Installation Issues

Hi. Thanks for your last post.

1. I sent you a pm with url.

2. Jomsocial version in use is 1.88. (Version 2.0 was not compatible with latest Joomla 1.5x, and so wasn't used).

4. Page already posted through pm, but I'm certain that it's not own template. The module has been temporarily set to 'Show Login Form' for your quick view/action.

5. It's a Jomsocial third party Comments module which integrates and works well with Jomsocial.

Regards.

lionx
useravatar
Offline
6 Posts
Active Subscriptions:

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

Re: Installation Issues

Additional New Observation (Internet Explorer):


When module is set to 'Show Login Form', Facebook login fails to login user to the site as above  (but connects with Facebook). Clicking the 'Login with Facebook' button a second time seems to trigger automatic login this time around.

Is this some kind of setting issue or bug? What's the fix?

Regards.

lionx
useravatar
Offline
6 Posts
Active Subscriptions:

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

Re: Installation Issues

Lionx,
The problem is likely because you have another extension that's re-loading the Facebook Javascript API on that page. The FanBox you're using in the right sidebar is the module that's duplicating the Javascript. The way that the FanBox is initializing the Javascript library is in the most basic mode, which conflicts with the features that JFBConnect requires.

Each browser scans and loads Javascript in a different order, so IE is causing problems just because of how it loads things. It's likely that this problem would happen in other browsers too, but may be more sporadic.

We'd recommend replacing that module in the right sidebar with our JFBCFan module which should be a direct replacement.

Hope that helps,
Alex

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

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

Re: Installation Issues

Hi.

A. I've completely un-installed the extension in question and replaced with the one from SourceCoast as advised but the problem persists. There's definitely an ie issue!

B. Other Issues Mentioned Above:

2. Jomsocial version in use is 1.88. (Version 2.0 was not compatible with latest Joomla 1.5x, and so wasn't used). Please provide me with older version of Profile plugin compatible with Jomsocial 1.8.

4. Page already posted through pm, but I'm certain that it's not own template. The module has been temporarily set to 'Show Login Form' for your quick view/action.

5. It's a Jomsocial third party Comments module which integrates and works well with Jomsocial.

Regards.

lionx
useravatar
Offline
6 Posts
Active Subscriptions:

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

Re: Installation Issues

Sorry for not getting to the other questions. I got caught up in the IE issue, and missed those other points.

1) Regarding IE, the page is now working for me. I'm using IE10.0.9200.16540 on Windows7. I was definitely able to recreate the problem yesterday, but cannot now. When I click the "Login with Facebook" button, the permissions are asked, the "You are now being logged in" popup appears and I'm brought to the Login or Register page.

So it's working for me. Can you clear your browser cache and try again. If it's still not working, try from a different computer and Facebook account. If that still doesn't work, let me know your IE version and OS for testing.

2) Older versions of the JFBCProfile plugin wouldn't work as they wouldn't be compatible with the latest version of JFBConnect you're using. You'll need to make an edit to our plugin to skip that check. To do so, edit the /plugins/jfbcprofiles/jomsocial.php file. At line 558, you'll see:

Code:

function getProfileTypes($showDefault = false)

{
   $profileModel = CFactory::getModel('profile');

   $profileTypes = $profileModel->getProfileTypes();

Add the following return line directly after the {

Code:


function getProfileTypes($showDefault = false)
{
   return array();
   $profileModel = CFactory::getModel('profile');

   $profileTypes = $profileModel->getProfileTypes();

That will skip the multiprofile integration that works with JomSocial 2.0+. I'd still honestly recommend upgrading to JomSocial 2.0, 2.2, 2.4, or 2.6 since those are all much newer and all support Joomla 1.5. It's up to you though.

4. How do I remove the square inked border around the login fom? (image attached)?

I don't see a border around the login form. Is this still an issue?

http://www.sourcecoast.com/images/agorapro/attachments/64/lionx-login-form-border.png

5. It's a Jomsocial third party Comments module which integrates and works well with Jomsocial.

I think I answered this above. You'll have to test and see if it works, but as long as it meets the notes I posted above, it should work fine with JFBConnect.

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
23893 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Installation Issues

Thanks for the last post.

2. (Wish I could use my Jomsocial 2.0 but it just doesn’t work. After having moved through back-breaking experiences over the years from Jomocial 1.5x and recently to 1.8x a few months ago, ‘guess I’m forced to stick to this for the moment; but shall be migrating/upgrading in the future).

Changed code as advised. The line’s actually 1115 I my copy, very different from yours. I wonder if I was provided the most current version?

My Lines 1115-1127 read :
    function getProfileTypes($showDefault = false)

    {

        $profileModel = CFactory::getModel('profile');



        $profileTypes = $profileModel->getProfileTypes();

        if ($showDefault)

        {

All varied options to include recommended code throw up errors on the entire site, eg:

Parse error: syntax error, unexpected $end, expecting T_FUNCTION in /home/path-to-website-com/plugins/jfbcprofiles/jomsocial.php on line 1202

a.    Do I have the latest jfbcprofiles
b.    Using your example, what’s the new full combined code like?


4. I’ve, again, now reset the module to 'Show Login Form' for your attention.


The site’s in constant use so I’m under real pressure!

Best regards.

lionx
useravatar
Offline
6 Posts
Active Subscriptions:

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

Re: Installation Issues

The last release of the JomSocial profile plugin for Joomla 1.5 was v4.2.4. You should be able to check your version on the JFBConnect Overview page or in the Joomla extension manager. If you're not using that version, you should upgrade using the file in the JFBConnect package you downloaded from us. If you have issues, let me know what version you're using.

As for the code, try this full example of that function. I updated it so that it shouldn't cause any errors now:

Code:

    function getProfileTypes($showDefault = false)

    {
        $profileTypes = array();
        if ($showDefault)
        {
            $defaultType = array(0 => array('id' => 0, 'name' => 'Default'));
            $profileTypes = array_merge($defaultType, $profileTypes);
        }

        return $profileTypes;
    }

SCLogin Style
The style in your template that's causing the problem is this:
/theme422/css/template.css, line 1321:

Code:

.input {

color: #616060;
border-top: 1px solid #404040;
padding: 2px 0 2px 4px;
margin: 0;
border-left: 1px solid #404040;
border-right: 1px solid #D4D0C8;
border-bottom: 1px solid #D4D0C8;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;

That's specifically putting a style on our fieldset with a class of "input" (that style name was taken from Joomla itself).

To fix, add the following to your stylesheet:

Code:

fieldset.input {

border: none;
}

Hope that helps,
Alex

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

alzander
Alex
useravatar
Offline
23893 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:
11543
Total Polls:
0
Total Posts:
48565
Posts today:
1
User Info
 
Total Users:
47558
Newest User:
dawfaz
Members Online:
3
Guests Online:
1101

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