Topic-icon 4Qs Redirect Login 403 error | Registration Component | Found KA issue

Active Subscriptions:

None
Jomsocial: 2.4.0
Joomla: 1.7.3
Php: 5.2.17
Community Builder: 1.7.1
Tested on Chrome & Firefox

1) User log’s in by entering name and pwd
To test: www.nordicspotlight.com
User: john Pwd: john123

The user is actually logged in but the page redirect is (in settings it's set to Profile)
403 - You are not authorised to view this resource.
You may not be able to visit this page because of: an out-of-date bookmark/favourite
a search engine that has an out-of-date listing for this site
a mistyped address
you have no access to this page
The requested resource was not found.
An error has occurred while processing your request.
Please try one of the following pages:

2) Registration Component Which one should I use? What is the main difference?
Joomla
JomSocial
Community Builder

2a) If I change this now, will it affect current users when logging in?

3) Homepage Login With Facebook Button stopped working.
I found the issue to be the KA Facebook FanBox Pro. Do you have any recommendations to work around this?

4) Where/How do I set it so the user stays logged in so they don’t have to log in each time?
The topic has been locked.
Support Specialist
Pete,
Hopefully the below answers get you going. If not, let us know:
1) When you setup a redirect in the SCLogin module, use a menu item that is not an Alias or URL link. If you are using a menu item that is for an extension, can you tell us (from the menu manager) what kind of menu item it is? Looking for something like "Articles » Category / Blog".

2) The Registration component setting just chooses where the "Register for this site" link goes to. If you have custom profiles setup for Community Builder or JomSocial, you should set it to one of those (so the user is asked to fill out that information during registration). If you just want the basic username, email, password, set it to Joomla.

2a) That setting shouldn't affect logging in. It also can be changed at any time without affecting previous registrations.

3) I'd recommend switching the JFBCFan module. If you'd prefer not to, the issue is because other Facebook extensions include the Facebook Javascript library in the 'simple' form, which prevents a lot of advanced functionality from Facebook (like authentication) from working. You'll need to prevent the other extension from including the Facebook library file (all.js) on the page either through a setting (if available) or by modifying their template output.

4) In the Configuration area of JFBConnect, there's a setting for "Automatically Log Facebook User's In". Enable that, and it should do what you're looking for.

Finally, I'm not sure why you're using Community Builder and JomSocial on the same site. Those extensions have very similar features and overlap a lot. Additionally, it may be confusing for your users to have 2 profiles, 2 walls, etc. Just wanted to point out that that's not a common configuration for a site... there are times where I've seen it useful, but not often. Just wanted to point it out.

Hope that all helps,
Alex
The topic has been locked.
Active Subscriptions:

None
Hey Alex,
Once again thank you for the timely response.

I'll go backwards in response solved to not solved

4) I installed both to test out when I first started, CB isn't live though.
3) Totally forgot it was in there...works great, Thanks!
2) Thank you for the clarification!

1) Still have 403 error.
In my JFBCLogin these are my settings
Redirect on Joomla Login: Yes
Joomla Login Redirection URL: jomsocial > Profile (from pulldown menu)
it goes to nordicspotlight.com/ns/index.php/profile

On a couple tests, it does properly redirect to joomla pages, but not anything under jomsocial.
The topic has been locked.
Support Specialist
I'll just type how I think :)
Good that you're not using both. Generally, we recommend JomSocial. It has it's issues (every extension does), but CB is very cumbersome and hard to work with/modify, and generally not nearly as easy as JomSocial is.

Glad you found our JFBCFan module. We think we pretty much do what every other extension does.. just all-in-one, and hopefully simpler/better where possible. Glad you can reduce what you have installed.

As for the 403 error, if you go to the Menu Manager in Joomla, can you open the Menus manager in the Joomla admin area and look up that menu item. It should be of type "JomSocial -> Profile" (I think that's what you meant above, but check). If you click into that menu item (where you can change the title of the link and set parameters and stuff), there's a Link field in there. It's not editable, should be read-only, and I think should be:
index.php?option=com_community&view=profile
If it's not that link, let us know what it is.

Other things to try:
* Disable SEF URLs (temporarily) and see if that fixes it.
* Disable your language translation stuff (JoomFish?) and see if that fixes it.

If either does fix it, let us know, and we'll do what we can to help you get around them.

Thanks,
Alex
The topic has been locked.
Support Specialist
Oh, also, on your JomSocial home page ( here ), you have 2 Login With Facebook buttons. Please check out our JomSocial integration information for some pointers on the best way to make JFBConnect and JomSocial work best together:
www.sourcecoast.com/jfbconnect/docs/thir...ration-for-jomsocial

Alex
The topic has been locked.
Active Subscriptions:

None
Ok, so it’s fixed…yet this was one of those HUH? Fixes.
I’ll give you the full report as to everything I did/checked in case someone else has this issue or at least for your purposes…but the bottom will be the huh moment.


No language or JomFish on site
I tried turning off SEFs, no difference.
I noticed my jomsocialredirect plug-in was disabled and switched the override = no difference…I have disabled it again.

Menus > JomSocial Toolbar > Profile
index.php?option=com_community&view=profile
Menu Item type says – Edit my page
I could not change that to just profile.

JFB Connect settings:
Enable Returning User Yes
Returning User Redirection: Jomsocial > Profile

Full Joomla User selection

JFBCLogin settings:
Redirect on Joomla: Yes
Joomla Login Redirection: Jomsocial > Profile

JomSocial Config
Redirect successful logins: Frontpage
Redirect successful logout: Frontpage
I tried setting these to profile, no effect



So here’s the HUH moment.
The reason you saw two FB logins on the page was I had entered the FB API into the JomSocial FB Connect.
So now, I turned off Import facebook profile on first sign up and deleted the API – hit save.
That’s when it all worked! I even turned the import back on and re-added the API (which brought back the 2nd login button) and it STILL worked. I have deleted the API since then and everything is fine.
Note: this whole login issue was happening before I added the API key – I thought by adding it, that may solve it. I guess something was just stuck somewhere?

And Last question…I promise
After clicking the activation link and logging in how do I get it to go directly to the profile instead of the edit profile page
This is the URL the activation link redirects to: nordicspotlight.com/ns/index.php/component/users/profile

You can only edit your profile and there’s no link to go to your profile on that page
JFB Connect settings:
Enable New User Redirection: Yes
New User Redirection: Jomsocial > Profile
The topic has been locked.
Support Specialist
Pete,
I'll agree.. huh?! I'm not sure what caused it to work (or not work) above.. but am glad to hear it sounds like it is going. I looked over your details, and everything seems correct. The API key in JomSocial should definitely be turned off, but that's for other reasons, and shouldn't affect the redirect at all. Hopefully the 'huh' should be more directed at why it -didn't- work before, instead of how it works now. Of course, if you find issues, just let us know.

For your final question.. when the user clicks the activation link, it doesn't log the user in. That should just be a "Thanks for activating" page, and then the user actually has to login from there. Do you have anything different setup that would cause the user to be logged in?

Let us know, and we'll try to help further.

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

None
Hi Alex,

I mentioned the wrong authentication process.

You click the email link and it takes you to a log in page. That then takes you to an edit your profile page which doesn't have any links to go to your actual profile, even if you edit it, you're stuck on the page unless you click my navigation link "communities' on the top of the page.

I attached a jpg with the two pages.

File Attachment:
The topic has been locked.