Topic-icon Identifying resource during first time registration/login

Active Subscriptions:

None
We had set autologin after registration on jfbc component. We have two popups(both have different ids) which display jfbc social login buttons. Now, we want that when a person login through social buttons from first engage box, we want to store this info into some table. Same case for second table. I am not getting where to put query for this. Kindly advice me on this.
The topic has been locked.
Support Specialist
What information are you looking to store? JFBConnect has a "Custom DB" profile plugin that's included in the package. With this, you can setup JFBConnect to import available data from the user's profile into a custom table on your site. It's a developer-friendly way to let you import custom data into your database, but it does take a little bit to get it setup by making sure you have the MySQL table setup already along with the appropriate columns to store the data. We can help with that though.

If you're trying to store specific information only when a user logs in from a specific set of buttons, that's not something we currently support. Right now, all login buttons are processed the same way. If that is what you're trying, can you let us know:
* Is it profile information, or some other data you're looking to store?
* Where is the data being stored?
We may be able to help come up with some solution, but I don't know if it's easily possible or not. It's just not something JFBConnect has been built-up to do.

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

None
Let me elaborate my requirements a little more.

There are two main sources from which we expect people come to our website: facebook and Quora. We have two different popups for these two resources. Suppose a person enters our website following link from facebook, that time popup meant for facebook appear. Both of these popups have fjbc login buttons. As they enter our website first time, they register to our website using these social links. Here we want to store whether they entered our website from facebook or quora.

I hope I had cleared my point.
The topic has been locked.
Support Specialist
Thanks for the explanation. Unfortunately, that's not something JFBConnect can do and not something we'd really recommend doing within JFBConnect.

What you're describing is very much like an affiliate system. Even if you're not generating commissions or need referral links, there are extensions for Joomla which can add a session variable or cookie when a user comes to your site. That session/cookie data can have details about where the user came from or the initial page they landed on, and then, a Joomla User plugin can store that data when the user decides to register and help decide where they should be redirected, what group they should be in, etc.

There's a whole bunch of customization that could be done there and it's really not a rabbit hole we plan to pursue. I'd really recommend looking into affiliate software at a high level or user tracking extensions at a lower level. I don't have any recommendations, but I do know there are plenty of options out there.

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