Topic-icon Connect and select choice of group?

Active Subscriptions:

None
13 years 3 weeks ago #33254 by petwal
I am not a programmer but want to achieve the following...please let me know if this can be done?

When users register, I want them to choose one of two user groups to belong to (i.e (normal)registered or Event Planner group).
Can this be done with the FB connection and if so how?

Using joomla ver 2.5. and JFBConnect5.0
Thank you.
Newbie Pete
The topic has been locked.
Support Specialist
13 years 3 weeks ago #33256 by alzander
Peter,
This isn't something that's available in JFBConnect yet (as I'm sure you know). However, we were planning to add the ability of "Select a group" to the next (v5.1) release. The biggest issue to tackle is making sure that adding a selection box doesn't open up a vulnerability where a user could 'force' themselves into a more privileged group (like a super admin). So, there's a lot of checks and balances to put in there.

With that said, I saw your PM about wanting to launch Monday. I'm going to try to work on the basics of this feature later today so that you (hopefully) have something you can implement. A more fleshed out versino would be in the 5.1 release next month.

Also, to do what you're looking for with a selection, you'd need to use the "Normal" registration flow. The "Automatic" flow, where an account is immediately created, doesn't have any way to let users see or enter any fields. Just want to make sure you are aware ahead of time.

Finally, are you using any profile extensions, like Community Builder or JomSocial?

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

None
13 years 3 weeks ago #33257 by petwal
Thank you Alzander,
I look forward to that. At the moment i am not using any community builder but plan to implement jomsocial in the very near future.
in regards to security issues, my requirements are low in that i'm defining two types of user (for an events site) one is a registered user and the other an event planner - the planner gets access to a few further menu options none of which can compromise security!. Higher group membership like Moderators etc will be added by me in the backend for now, so a simple choose either A or B group will do nicely for now.

I appreciate your very kind efforts and speedy reply....excellent support. worthy of a high recommendation which i will post later :)
thanks again
The topic has been locked.
Support Specialist
13 years 3 weeks ago #33260 by alzander
Peter,
Whew!! I think I got something going for you. You'll need to test and let me know how it goes though as this has definitely not been put through the paces. Any feedback you have is welcome though.

* First, download the new Social Profiles - Joomla Group plugin.
* Then, install and enable it in your Plugin manager.
* Then, go to the "Profiles" configuration area of JFBConnect. From there, select the groups you want the user to be able to choose to be a part of. Please be very careful not to select an admin-y type group or something.

Once complete, when a user registers, if you have the "Registration Mode" set to "Normal", there will be an extra option allowing the user to choose their group.

Let me know how that goes, and good luck!
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 2 weeks ago #33263 by petwal
Hi Alex,

thank you so much. Installed quickly and worked first time i tested it. Appears so simple from the outside. I will get some more testing done this week but straight off it all appears fine. :)
i look forward to the official release when it comes out.
i will leave more comments here as and when i find any thing or suggestions ..
thanks again
totally blown away
Peter
The topic has been locked.
Support Specialist
13 years 2 weeks ago #33267 by alzander
Peter,
Very glad to hear that got it going for you. I didn't mean to scare you with the 'hasn't been put through the paces' comment. It definitely should work. The security issues I mentioned above (which are more on our implementation side, not on yours) were taken care of as well, so things should be good. We even put this in the 'release' status, instead of a beta or something like that.

The main thing that really needs to be done is changing the "Select your group" to a language string.. right now it's hard-coded. That will happen with the next release.

Anyways, definitely keep us posted on what you find, and best of luck with your launch tomorrow!

Finally, if you haven't already, please consider leaving a rating and review for JFBConnect on the Joomla Extension Directory. It's certainly not required, but very appreciated:
extensions.joomla.org/extensions/social-...ook-integration/7215

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

None
13 years 2 weeks ago #33268 by petwal
You read my mind.
Was hoping to find a language override to change the select group text to something a bit meaningful. But you answered that already lol!.
No panic Ill wait for the release to change that as I expect a slow take up to start with for the site while we begin our marketing which will allow me to impliment your upgrade when it becomes available :) ,
Just released I have to create the same for non facebook users - totally forgot about those users lol. I suppose one way to get both to work together would have been to create a separate page and redirect both types of registration to that page to select a user group! I'll think about this more, but from your side it works beautifully for FB users!!
thanks again.
The topic has been locked.
Support Specialist
13 years 2 weeks ago #33297 by alzander
Peter,
Glad we could help. For the text, you can edit that very easily right now by manually changing the text. The file is /plugins/socialprofiles/joomlagroup/joomlagroup.php . Just search for the string and modify it. Your change will be deleted when you upgrade to the next release, but that release should have the language string ability in it.

My guess is we'll get the language string stuff in and released in early June, but no guarantees. Just want to let you know that it may be a while before we re-release, so if the text is important, update it manually for now.

Just released I have to create the same for non facebook users - totally forgot about those users lol. I suppose one way to get both to work together would have been to create a separate page and redirect both types of registration to that page to select a user group! I'll think about this more, but from your side it works beautifully for FB users!!

You can't redirect non-FB users to our registration page. Currently, our code is setup in such a way that the user must be authenticating through Facebook to see that page. We're investigating a new 'registration' page which would do what you're looking for and allow anyone to register through it.. Joomla or Facebook (or other social networks). That way, you can take advantage of one registration screen while still using our profile plugins.

It's not here yet, and not something that would be available for at least a few months though.. but we already can see the value in it with the way our extensions are headed (make a great 'registration' flow for all paths, instead of just social networks).

As always, feedback or suggestions are welcome.

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

None
13 years 2 weeks ago #33328 by petwal
Hi Alex,
wanted to feedback to you. I had to implement a similar action for non facebook users upon registration and now when fb users register, using the profile links, the field is duplicated, once by the FB profile component and once by the new field I added to the registration form. (but obviously not affected by non facebook users). So now I have turned off the profile option to avoid duplication. :|
The topic has been locked.
Support Specialist
13 years 2 weeks ago #33333 by alzander
Can you explain more about how you implemented it for normal Joomla users? That may help us understand the current dilemma better and provide a better solution that won't cause the duplication. My guess is that you're using a User plugin (like the User - Profile plugin) and created the option there. Let us know if that's the case, or not, and we'll help how we can.

Thanks,
Alex
The topic has been locked.