Topic-icon Customized jomsocial - need to modify jfbconnect.

Active Subscriptions:

None
Hi - I have customized jomsocial so that I can have the user fill out additional fields after the 2nd page - the custom fields screen - this all works fine - need to get special data from user at login.
I was wondering how i can do this with the latest version of jfbconnect ???
I know when the user fills out the jfbconnect window for new user and chooses profile type - they automatically get redirected to facebook and logged in.
Can I do anything with jfbconnect to continue the flow that I already have with regular jomsocial registration process ??

also smaller questions :
2. do you think of putting your jfbconnect screen into a lightbox versus just a redirect ??
3. is there an easy way to customize the dropdown profile to show the description for each of the profile types??
thanks
mjh
The topic has been locked.
Support Specialist
14 years 8 months ago #13438 by alzander
The extra fields you require during registration can be shown by enabling the "Show non-mapped required fields" setting in the JomSocial profile plugin. The extra fields will all display on the initial registration page though, JFBConnect doesn't do a multi-page registration flow. An example (with just one extra field and the terms of service) can be seen on the following page:
www.sourcecoast.com/jfbconnect/features/...n/jomsocial-facebook

As for the other questions:
2) No, we likely won't be doing a lightbox version. There are so many ways to configure the Login/Registration page with all the different profile types we integrate with that a lightbox version would be very difficult to make work across a broad range of sites.
3) Right now, there isn't a way to show the descriptions, but we're looking into adding a tooltip which would show the descriptions for each that you have entered into JomSocial.

Hope that helps, and good luck,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 8 months ago #13444 by mjh5598
thanks for the quick reply - always! :)

1.I know jomsocial does not do multipage registration --- I did a little hack on the jomsocial registration - to do multi page registration that i need and it works - it works in jomsocial - but does not show when i use the jfbconnect. Can you give some instruction or how to so i can make that happen with jfbconnect ???

2. About the description in a tooltip for profiletypes - do you know when that will come out ?? I hate to pay someone to do it - if you are going to do it yourself :) Anytime soon ?? please ??? or if you give me the line numbers and code..i will update myself...thanks.
mjh
The topic has been locked.
Support Specialist
14 years 8 months ago #13451 by alzander
1) Actually, I though JomSocial does do a multi-page registration. The first page, you select your username, password, and email (the normal Joomla stuff), then you select your profile type, then you fill out the fields for that profile type. Not sure if that's changed, or how you hacked things differently. If you can explain a little more what you're going for, that would help. Specifically, if there's something you see lacking from our registration page that your multi-page system offers, let us know. Right now, I'm just a little confused what you're looking for.. other than having registration spread over a few pages.

2) Depending on how you want to do it, the template file that displays the multi-profile stuff during registration is in the /profiles/jfbcprofiles/jomsocial/jomsocial.php file. There's a function in there called "jfbcProfilesOnShowRegisterForm()" that builds up the extra fields to display, and there's a section in there (~line 62) that generates the select list. You can easily add some code here to display more information about the different profile types, if you want to hard-code it. When we implement something, it will obviously pull from your settings in JomSocial.

Currently, we don't have a timeline as to when this would be implemented. This is in queue of to-do's, but not the highest on it. It won't be in the next week or two, but will be by the end of the year.

Hope that helps, and good luck,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 8 months ago #13460 by mjh5598
thanks for the quick reply - as always.
thanks for #2 - i will take that to my developer for work.
As for #1 - I know jomsocial has multi-page - Page1- Userid etc Page2-Custom fields shown at registriton Page3- Avatar pic page.
I want my additonal special fields to be between Page2 and Page3 -- they will be the new Page3 -- they are interactive fields that send out text messeges,etc and location informaiton - these are needed for my site and not implementable by jomsocial - so i need the hack.

I looked at your configuration page for login/logoff for user -- I think the field is New user registration redirect field - I will try to use that function of the code..to get my pages that i need when a new user registers...I just thought you can pinpoint me to some where in your code so i can do this without hacking too much.
thanks again.
The topic has been locked.
Support Specialist
14 years 8 months ago #13589 by alzander
Instead of hacking the code, here is what I'd recommend you do:
* Create the page you need with the links, fields, etc
* Create a new menu in Joomla, and call it 'hidden' or something. Do not create a module to display this menu anywhere, so that no one will normally be able to click somewhere to get there.
* In this new menu, create a menu item that points to the new page you created. This can simply be a "URL" menu type, or a specific component menu link.
* Then, in JFBConnect, simply set the New User Redirection to go to this new menu item you created.

If that doesn't work for you, for some reason, we can help you hack the code.. but that will force you to make the same change with every release, which isn't really optimal.

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

None
14 years 8 months ago #13685 by mjh5598
I thought of the samething - but the issue is that there are variables at login that i need for that particular user.
The "Next Page" is not a generic page - it further builds the user profile with other data regarding that particular user.
That is why this would not help me.
thanks
mjh
The topic has been locked.
Support Specialist
14 years 8 months ago #13706 by alzander
I understand what you mean that the page is for that user, but generally, you ask the same questions of each user. Is that not the case? If it is (normally), then showing a 'generic' page is fine. When the form is submitted, whatever is processing the form can say "Who's the logged in user?" and save whatever information was input by that user.

If somehow the form is tailored to each user, you'll have to explain how you tailor it to each user based on information from previous pages, and then, we can likely help you replicate that functionality by redirecting to other pages, or letting you know how to check how the previous fields were filled in so that you can present the right data for the 'current' user.

Hope that makes sense, but keep us posted on what you're looking for,
Alex
The topic has been locked.