Topic-icon Community Builder - How do I Map fields?

Support Specialist
9 years 6 months ago #48237 by mel

1 New Issue : when I return to the site without clicking anything - it logs me in... This is unwanted because visitors will feel mislead - please can we get rid of that I am sending you Admin Details to have a look.


Please turn off the JFBConnect > Configuration > Facebook > 'Auto Login Facebook Users' option. Looking at your page on the front-end shows that you have this enabled. Setting this to No should fix the behavior, so let us know if it does not.

The Module on the Home page - I want to achieve the exact same thing as in the screenshot - please can you assist me to do this


Since you already have the SCLogin module at the bottom of the page, you can use the following code (which is the same HTML) in the module from the screenshot
<div class="sourcecoast sclogin-modal-links sclogin">
<a class="btn btn-primary" href="#login-modal" role="button" data-toggle="sc-modal">Log in</a>
<a class="btn" href="/index.php/component/comprofiler/registers">Register</a>
</div>

I have also just discovered SCLogin doesn't work on Mobile - We tested both iPhone & Samsung - is there a reason for this?

Using the SCLogin at the very bottom of your page on my Samsung, I was able to log in just fine with 1) Joomla user/password that I created and 2) the associated Facebook account that I mapped to the account. Therefore, please provide exact steps to reproduce the issue and what exactly you're expecting that's not working as you want it to.

-Melissa
The topic has been locked.
Active Subscriptions:

None
9 years 6 months ago - 9 years 6 months ago #48240 by uriel
Hi Mel, thank you for your comprehensive reply.

Ok The Auto Login Issue is sorted - thank you.

Navigate to Profile and on a Mobile phone (iPhone) this is all i am able to see when I Click Login : prntscr.com/50y7nv

Is there perhaps a way to put "OR Login with" and then the Facebook Button next to Login & Register?
Last edit: 9 years 6 months ago by uriel.
The topic has been locked.
Support Specialist
9 years 6 months ago #48249 by mel

Navigate to Profile and on a Mobile phone (iPhone) this is all i am able to see when I Click Login : prntscr.com/50y7nv

I went to the Profile page and hit the Log In button on my Samsung Android phone. It launched the prompt and I was able to log in as expected. Is your problem that 1) the modal is cut off and you can't see the whole Facebook button or 2) that the log in isn't actually working for you?

Is there perhaps a way to put "OR Login with" and then the Facebook Button next to Login & Register?

There is a language string you can define in the mod_sclogin.ini file called 'MOD_SCLOGIN_SOCIAL_INTRO_TEXT_LABEL'. This will allow you to add text right before the social login buttons and then you can play around with the styles to do positioning.

For advanced theming/styling of the SCLogin module, please see our Themes documentation:
www.sourcecoast.com/sclogin/documentation/themes
The topic has been locked.
Active Subscriptions:

None
9 years 6 months ago - 9 years 6 months ago #48253 by uriel
Hi Mel,

I don't know if you Noticed but I now have a Module on the Front Page as you suggested with the Login / Register button in it - this works to an extent but not completely.
On Mobile and Laptop, once logged in it doesn't show logged in... its Confusing for visitors because now they have clicked to Log in with Facebook and when they return it still shows Log In.... All I want is the Modul Module Looking and working like it should but within the 1st module (styled like mine where it states Step 1)

Another issue - I set up everything to redirect to the "Post a Free Classified Ad" once logged in with the Facebook Button. It redirects fine on Laptop but not on Mobile (iPhone)
What could be the cause of this? - I have Copied an instance of SCLogin and Called it Register/Login 2 - when this is used the user is NOT redirected to Post a Free Ad, even though I set the Parameters to Redirect there.

I am very close to being complete with this mission - its only the last 2 things I can not seem to get right.

This is the code in my current Module as it is on the Front Page in Step 1
<p>&nbsp;</p>
<div class="rstpl-box-vertical-image">
<div class="rstpl-box-image">
<div class="rstpl-title-down">&nbsp;</div><img src="templates/rsdinah/images/sampledata/images/290x350-1.jpg" alt="" />
<div class="rstpl-title-up">&nbsp;</div>
</div>
<div class="rstpl-box-content">
<h4 class="rstpl-box-title m-bot-small">&nbsp;</h4><span class="rstpl-box-decoration">&nbsp;</span>
<div class="sourcecoast sclogin-modal-links sclogin"><a class="btn btn-primary" href="#login-modal" data-toggle="sc-modal">Log in</a><a class="btn" href="/index.php/component/comprofiler/registers">Register</a>
</div><a class="btn rstpl-box-link" href="index.php/blog">Join Now</a>
</div>
</div>

It appears I have 2 Options here - I can Style SCLogin Module to look like the above OR
I can put the buttons inside my Module as you suggested - but I need it to Show Logout when a User is logged in...
Last edit: 9 years 6 months ago by uriel.
The topic has been locked.
Active Subscriptions:

None
9 years 6 months ago #48262 by uriel
Another Issue : Please Click My Profile > you will get prompted with an error : Error Please log in or sign up to view or modify your profile.

Use SCLogin to the right of that and try to Log in via Facebook.

You will see you get to an ERROR 404 Page - I have no idea why this is happening after logging in with Facebook.
The topic has been locked.
Support Specialist
9 years 6 months ago #48269 by mel

On Mobile and Laptop, once logged in it doesn't show logged in... its Confusing for visitors because now they have clicked to Log in with Facebook and when they return it still shows Log In.... All I want is the Modul Module Looking and working like it should but within the 1st module (styled like mine where it states Step 1)

Please check your caching settings, or disable them entirely. The SCLogin module simply asks Joomla if they are logged in. If it's reporting the user isn't logged in, when they really are, there is a configuration problem somewhere outside of our module.

Another issue - I set up everything to redirect to the "Post a Free Classified Ad" once logged in with the Facebook Button. It redirects fine on Laptop but not on Mobile (iPhone)
What could be the cause of this?

Do you have any plugins/templates or other extensions that are altering the page for mobile users? If so, some of those have features to redirect the user to a mobile-version of the site and are likely interfering. Please try disabling them to see if things work normal without them. If so, you'll need to contact their developers to determine how to prevent the redirection.

- I have Copied an instance of SCLogin and Called it Register/Login 2 - when this is used the user is NOT redirected to Post a Free Ad, even though I set the Parameters to Redirect there.

How are you logging in? Through a social network or through the Joomla login credentials? There are different redirects in the SCLogin module for standard Joomla logins. Please make sure those are correct. Also, verify the JFBConnect -> Configuration login redirect settings.

It appears I have 2 Options here - I can Style SCLogin Module to look like the above OR
I can put the buttons inside my Module as you suggested - but I need it to Show Logout when a User is logged in...

If you're using your own custom HTML, you'll need to add your own logic to detect if the user is logged in or not and update the HTML accordingly.

Another Issue : Please Click My Profile > you will get prompted with an error : Error Please log in or sign up to view or modify your profile.
Use SCLogin to the right of that and try to Log in via Facebook.
You will see you get to an ERROR 404 Page - I have no idea why this is happening after logging in with Facebook.

We don't see that error. We were properly redirected to:
index.php?option=com_jomclassifieds&view=categories&Itemid=128
Please test more.

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

None
9 years 6 months ago #48271 by uriel

Please check your caching settings, or disable them entirely. The SCLogin module simply asks Joomla if they are logged in. If it's reporting the user isn't logged in, when they really are, there is a configuration problem somewhere outside of our module.


The SCLogin is not Caching anything - the only thing Caching is JFBConnect

Do you have any plugins/templates or other extensions that are altering the page for mobile users? If so, some of those have features to redirect the user to a mobile-version of the site and are likely interfering. Please try disabling them to see if things work normal without them. If so, you'll need to contact their developers to determine how to prevent the redirection.


But it works when I use instance 1 of SCLogin Module which is on the page when you Click > Post free Ad > ON the right hand side. So why is it fine there and nothing on my site is causing any problems?

How are you logging in? Through a social network or through the Joomla login credentials? There are different redirects in the SCLogin module for standard Joomla logins. Please make sure those are correct. Also, verify the JFBConnect -> Configuration login redirect settings.


This is working now thank you.

If you're using your own custom HTML, you'll need to add your own logic to detect if the user is logged in or not and update the HTML accordingly.


Can you assist me to make the SCLogin Module look like my module please - This will also solve the above problem with my Step 1 Module not showing a user is Logged in.
The topic has been locked.
Support Specialist
9 years 6 months ago #48306 by alzander

Please check your caching settings, or disable them entirely. The SCLogin module simply asks Joomla if they are logged in. If it's reporting the user isn't logged in, when they really are, there is a configuration problem somewhere outside of our module.
The SCLogin is not Caching anything - the only thing Caching is JFBConnect

I'm not sure what you mean here then. You're saying that when you're logged in, the SCLogin module is reporting that the user isn't logged in? Can you enable the standard mod_login (Joomla login) module somewhere on the page and see if it thinks the user is logged in or not?

But it works when I use instance 1 of SCLogin Module which is on the page when you Click > Post free Ad > ON the right hand side. So why is it fine there and nothing on my site is causing any problems?

I'm unsure. Again, are there things that are altering the site for mobile views? If so, when you disable them, does the other instance of the SCLogin module work? Without understanding the different interactions between all the extensions on your site, it's impossible to narrow things down, which is why we ask these types of questions. Responding to what we're looking for will help us provide better solutions, faster.

Can you assist me to make the SCLogin Module look like my module please - This will also solve the above problem with my Step 1 Module not showing a user is Logged in.

I'm sorry, but we're not a template club or designers at all, really. We have 2 styles in our SCLogin module that work for most users. If they don't work for you, there's a full styling guide where you can override our output PHP/HTML and CSS which Melissa already posted. For more information on creating your own (or altering one of our) SCLogin themes, see:
www.sourcecoast.com/sclogin/documentation/themes

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