× Joomla Facebook Connect support forum

Topic-icon The redirect protocol

Active Subscriptions:

None
15 years 3 weeks ago #625 by xgportal
or whatever you may call it.

I would like , as so many have already done, that the first time a FB member logs in, he/she goes to the edit data form (or via AJAX popup) and that when they log in after that just be pointed to the main JomSocial page or whatever page I choose as admin.

I think this could be done in the default.php of the template, but am not sure.

I've bought the component and the 2 other plug, mods. but this is getting ennoying and nobody seems to be of great help <!-- s:cry: --><img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very Sad" /><!-- s:cry: -->

Can somebody please advise or send me a PM with modifications, so you don't damage your license?

I promise, I won't tel, lol :D

But I've been struggeling with this for four days straight and am loosing it here.

Please advise,
greets.
The topic has been locked.
Active Subscriptions:

None
15 years 3 weeks ago #633 by jdundon
Replied by jdundon on topic The redirect protocol
xgportal-

this is built right into the component.

go to the JFB Connect component configuration and notice the "New User Redirection" parameter. Set this to something along the lines of:

/index.php?option=com_user&view=user&layout=form&Itemid=282

Notice that i have attached an itemid to mine. In order to do that, i first created a menu item on a hidden menu that goes to user-user form. I then copied the link to this menu item and pasted it into the new user redirection box. This way, I was able to publish a module right above the user form that says "welcome facebook user... please set your email so you get wall posts and message notifications, etc...". The only time people can get to this page is after they first login using facebook connect. After all other logins they are redirected to the normal page set in the jfblogin module. I have a different menu item for users to change their passoword, email, timezone, etc, which links to the user form but with a different itemid, meaning they don't see the welcome message.

Hope this helps,

Jesse
The topic has been locked.
Active Subscriptions:

None
15 years 3 weeks ago #636 by xgportal
Replied by xgportal on topic The redirect protocol
thx for the tip,

I completely overlooked that part.
The topic has been locked.
Active Subscriptions:

None
15 years 3 weeks ago #637 by jdundon
Replied by jdundon on topic The redirect protocol
No prob.
The topic has been locked.