Hello everyone,
Sorry for the delay, was gone few weeks for necessary restorative holidays
and back on our bridge project since few days.
We have now something operationnal. The two first points I mentioned earlier are now solved. The member groups update is ongoing but from less importance and not a blocking point to start.
There remains one last issue on which I would like to have your opinion, and maybe ideas to solve it.
Here is the case :
When the user registers in XF, a session is opened, which allows the user, even if its account is not activated yet, to modify its account information, in particular its e-mail.
Thanks to the bridge, the user is at this time, created in Joomla, in a "not active" status. BUT no session has been opened in Joomla as sessions are only transferred when a user logins.
Then, when the user validates its account by clicking in the confirmation e-mail sent by XF, his account is validated in XF (and also in Joomla due to the bridge).
Its session in XF
is still open and now with full permissions due to its validated status.
But
there is still no session opened in Joomla. If the user goes in Joomla side of the site, he is not connected. The only way for him would be then to unlog and login again in XF, which is not a particularly positive first experience on the site.
We thought to 2 options that we are currently investigating :
> Open a session in Joomla at the same time than in XF (at user registration). The issue then is that this "pre-session" function does not exist in Joomla and I am afraid users would have then full access to Joomla functions before having confirmed their account.
> Force session creation in Joomla just after confirmation of account by the user (click on e-mail link). The problem is that this action do not include the password information (contrary to the login action).
I assume putting Joomla as master and using it as registration tool would avoid this problem but I imagine that like me most of you do not want to do this way.
Thanks a lot for any input.
@Cheesegrits no problem to start testing it now. Give me your email by pm and I will send you the files.
Marina