Topic-icon Trying to figure out how to use JFBC to log in

Active Subscriptions:

None
Hi folks,

I finally have time to try and I figure out how to use this plug in. You closed the topic I originally started, so trying here again. Sorry for the duplicate. I did not understand the response and what I needed to do. Is there a guide for me to mimic your login and registration?



I am trying to steal you implementation for login and registration in 3 perspectives

1) Override Joomla login. I like you pop up with SCLogin and the social buttons below. In my implementation, I can't figure out how to get a pop up off the menu and I get two login forms (joomla and SCLogin).

2) Ability to use JFBC to register users also cannot seem to override the normal registaration form

3) Pop up on menu. I cannot figure out how to assign JFBC to a menu item.

My login is here www.iheartsin.com/index.php/login
My results didn't end up like yours.
Thanks for your help.
The topic has been locked.
Support Specialist
9 years 4 months ago #50413 by alzander
Topics are automatically closed after 45 days of inactivity. It helps prevent very old threads from being resurrected. Hopefully we can help with your questions above.

1) As Melissa noted in her original response, we use the SCLogin module in the top right of our page. The SCLogin module has an option for a modal popup view and it will show the standard Joomla login page along with the social login buttons. We don't have a built-in option to place the SCLogin modal popup in a menu position. In our Common Support Questions area for the SCLogin module, we have an item that describes how to make the modal popup work in a menu item:
www.sourcecoast.com/sclogin/documentatio...n-support-questions/

2) Again, as Melissa mentioned, there is an option for "integrate with Joomla login" in the JFBConnect -> Configuration area. When enabled, JFBConnect will automatically show the social network login icons you have configured in both the Login and Registration views. I'm not really sure what you're asking here, but hopefully that helps get you going.

3) Please see number 1

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
9 years 3 months ago #50735 by sison2466
Thanks for the assist.

3 follow up questions, the first 2 you might tell me is a template question.

www.intelligenthustler.com/TEST_SERVER/TEST_iheartsin/
1) How can I style the module to integrate into the top right module position you see on the page?
2) How can I cut the length of the module box off, so it looks more like what you have on your home page?

www.intelligenthustler.com/TEST_SERVER/T...n/swimsuits/checkout
3) I have a different registration for for Hikashop. Is there a way for JFBConnect to handle the log in and registration for that component? Right now, it looks like it add social buttons, but the reg form is different and user is not given any indication what the social buttons are used for.


Thanks again.
The topic has been locked.
Support Specialist
9 years 3 months ago #50754 by mel

1) How can I style the module to integrate into the top right module position you see on the page?

Yes, this is a template and CSS issue.

However, you could also try the suggestion on the www.sourcecoast.com/sclogin/documentatio...n-support-questions/ page for using Modules Anywhere to insert the module into a menu item.

How can I cut the length of the module box off, so it looks more like what you have on your home page?

I don't see the module at the link www.intelligenthustler.com/TEST_SERVER/TEST_iheartsin/ so please take a screenshot to tell me what you are talking about.

I have a different registration for for Hikashop. Is there a way for JFBConnect to handle the log in and registration for that component? Right now, it looks like it add social buttons, but the reg form is different and user is not given any indication what the social buttons are used for.

For Hikashop integration, JFBConnect currently only provides a social profiles plugin. When configured properly and the user clicks on any of the social network buttons to log in, any mapped profile data from the social network will be pulled into HikaShop.

Looking at the hikashop checkout form, it looks like they are just loading the Joomla Users component registration form. Since you have the Integrate into Joomla Login option enabled, that is why the social network buttons are being displayed here. To remove the social network buttons from here, you would need to do a template override for /components/com_hikashop/views/checkout/tmpl/login.php
The topic has been locked.
Active Subscriptions:

None
9 years 3 months ago #50834 by sison2466
For 1) that is actually a module position, not a menu. Where do I change the CSS of SCLogin? I have this code from the template.
<div class="module-ct">
<div class="customshopping-cart">
    <p><a href="/henry/index.php/login"><em class="fa fa-user"> </em></a></p></div>
</div>

For 2) This is what I mean by wanting to "cut off"
File Attachment:


New 3) How do I get the module to act like the one on your home page after log in? In mine, it keeps a box on the module with some overlaid text. I thought "Joomla Login Redirection URL" would leave them on the same page, but it loads a blank on e instead.
File Attachment:
The topic has been locked.
Support Specialist
9 years 3 months ago #50850 by alzander

For 1) that is actually a module position, not a menu. Where do I change the CSS of SCLogin? I have this code from the template.

SCLogin lets you create or edit one of our already defined themes very easily. For information on the files to create or edit, see our theme guide for the SCLogin module .

For 2) This is what I mean by wanting to "cut off"

When you're editing the CSS above, add the following style, which will fix the overhang:
#login-modal {
bottom: auto;
}

New 3) How do I get the module to act like the one on your home page after log in? In mine, it keeps a box on the module with some overlaid text. I thought "Joomla Login Redirection URL" would leave them on the same page, but it loads a blank on e instead.

I'm not sure what you mean here. After you authenticate, you should be brought to whatever page you select in the JFBConnect -> Configuration area. I'm not sure what you mean by 'a box on the module with some overlaid text'. I also can't test because there's a FB error message about your app not being configured correctly when I try. Please fix that error or post a picture and more of a description of what's going on and we'll gladly help further.

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

None
9 years 3 months ago #50927 by sison2466
Please see the attached screenshot that occurs when a user successfully logs in.
www.intelligenthustler.com/TEST_SERVER/TEST_iheartsin/



File Attachment:
The topic has been locked.
Active Subscriptions:

None
9 years 3 months ago #50928 by sison2466
Sorry, forgot to say thank you for helping with #2.

Also, to clarify, the setting for the redirect is "Same Page", but is still loads the screenshot you see with the overlayed text.

When login using your home page, I stay on the same page and there is no expanded box around the login (like you see in my screenshot).

Does that make sense now?
The topic has been locked.
Support Specialist
9 years 3 months ago #50930 by mel
Please PM me login credentials for a Joomla user on the front-end. When I attempt to create a user at www.intelligenthustler.com/TEST_SERVER/T...eate-an-account.html there is an error since it doesn't look like your reCaptcha has been set up correctly. Therefore, I cannot test how the SCLogin setting for the joomla login redirection is working.

Additionally, it does not seem like your Facebook application is set up correctly either, as I am receiving the following error when attempting to create a user via FB:
"Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains." Therefore, I also cannot test how the two redirection settings in the JFBConnect component are working either.

When login using your home page, I stay on the same page

Please give me the specific URL that you are on when you log in. When the above errors are fixed, I can look into it further. Are the values for all three of the following settings 'Same Page'?
1. Components > JFBConnect > Configuration > New User Redirection
2. Components > JFBConnect > Configuration > Returning User Redirection
3. SCLogin > Login View Settings > Joomla Login Redirection URL

there is no expanded box around the login (like you see in my screenshot).

The extra info around the log out button is controlled by settings in SCLogin. The "Connect this site to your social buttons" text and Google/Twitter buttons can be turned off by setting the Logout View Settings > Show Connect Account Button(s) option to Hide. The Welcome USERS_NAME text on the left of the button can be turned off by setting the Logout View Settings > Greeting option to None.
The topic has been locked.
Active Subscriptions:

None
9 years 3 months ago #51093 by sison2466
I just made all the changes to my production site. The issues you were having troubleshooting I think were due to being on my test server.

www.iheartsin.com

The two issues

1) After SC Login logs the user in, the home page changes and the home page slider disappears. All the settings are set to set to "Same Page". This occurs for new and returning users.
1. Components > JFBConnect > Configuration > New User Redirection
2. Components > JFBConnect > Configuration > Returning User Redirection
3. SCLogin > Login View Settings > Joomla Login Redirection URL

2) OK, I was able to remove the social buttons and custom greeting. I would like to keep the options, I just don't like the implementation. Can these be keep as a pop up, so the menu bar stays clean?
The topic has been locked.