• Hello Fabrik Community

    Fabrik is now in the hands of the development team that brought you Fabrik for Joomla 4. We have recently transitioned the Fabrik site over to a new server and are busy trying to clean it up. We have upgraded the site to Joomla 4 and are running the latest version of Fabrik 4. We have also upgraded the Xenforo forum software to the latest version. Many of the widgets you might have been used to on the forum are no longer operational, many abandoned by the developers. We hope to bring back some of the important ones as we have time.

    Exciting times to be sure.

    The Fabrik 4.0 Official release is now available. In addition, the Fabrik codebase is now available in a public repository. See the notices about these in the announcements section

    We wish to shout out a very big Thank You to all of you who have made donations. They have really helped. But we can always use more...wink..wink..

    Also a big Thank You to those of you who have been assisting others in the forum. This takes a very big burden off of us as we work on bugs, the website and the future of Fabrik.

User name concat

leblancphil

Member
Hello Fabrik team

I use user plugin, works fine. I have a table liked to joomla_users with lastname and firstname and I would like to concat them in the joomla_users.username field. Is it possible ?

Thanks for your attention.
 
Hi

I am not from the Fabrik team. You can do this but not in the Joomla name, and still less in the Joomla username !!! And even if possible, I think it is not recommended.
Maybe prefer a calc field (read only) or a databasejoin element (just to choose a user).
I have a french page about concatenation in Fabrik: http://hg-map.fr/astuces/38-astuces-php-sur-le-cck-fabrik?showall=&start=2

But maybe you just need to considerer the joomla name like a "user pseudo", and just pre-fill your last and firstname fields with this pseudo but allowing changes.
I have a french page about pre-filling two fields with the Joomla name: http://hg-map.fr/astuces/38-astuces-php-sur-le-cck-fabrik?showall=&start=4
Then you will keep to use the Joomla username, a calc element or the lastname and firstname fields, all independently but always linked to one Joomla user.
It is my favorite way to do this, free and secure I think because the users are entirely free on all their identity fields, and the Joomla core user management keep work as usual.

But remember I think, to never touch the Joomla username, it is used by the Joomla core.

###Fabrik
 
Last edited:
Yup, if you mean you want to concat it into username when juser runs to create the user, have a calc on your form that does ...

Code:
return "{yourtable___first_name} {yourtable___last_name}";

... and use that as the username field in your juser plugin settings.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top