With registration plugin for DJ-Classifieds you can overwrite regular Joomla registration and allow users to fill fields that will be then visible in their DJ-Classifieds profile.
The DJ-Classifieds registration solution comes with 3 plugins:
- plg_djcflassifieds_registration.zip - main registration plugin
- plg_system_djcfregistration.zip - this plugin redirects from regular registration to DJ-Classifieds registration
- plg_djcflassifieds_acymailing.zip - allows to add user to AcyMailing during registration (This plugin works ONLY when AcyMailing component is installed and in use)
I assume, that you already have a running website with DJ-Classifieds component and database of ads. If not, then firstly read the documentation and tutorials:
and tutorials about profile options:
- User profiles in DJ-Classifieds
- How to add custom fields to user profile
- How to add user profile picture/image/avatar
I’ll show you step by step how to set DJ-Classifieds registration plugin.
Plugins installation
Go to Extensions->Manage-> Choose file “plg_djcflassifieds_registration.zip” and click Upload & Install.
You should see the message:
Do the same with “plg_system_djcfregistration.zip” and “plg_djcflassifieds_acymailing.zip” files.
Go to Extensions-> Plugins and make sure, that installed plugins are enabled. If some of them is disabled, enable it.
Let's go
Now let's move on to the merits. Our registration form looks like that:
and we want it to look like this:
As You can see there are a new field in registration form- “eye color”
And view of custom profile:
Here we have new field, too. I want to add new field in Profile and allow the user to fill this field during the registration process.
Go to Components-> DJ-Classifieds-> Fields and click New.
Set fields as follow:
Type label, Use in-> Custom fields in Profile, Choose Type of fields and type Values, Select Required-> Yes, In registration-> Yes. Click Save and Close.
Well done. Our registration form has increased by one item.
Now let's register a new user.
As you can see the plugin displayed a new registration look with profile field visible:
I don’t fill in required field, so when clicked Save a message asking for the fill in missing information was displayed.
OK, now profile have all required information. The profile looks like that:
Acymailing support
As You can see in registration form there is new field available: Sign up for our newsletter. This is due from “plg_djcflassifieds_acymailing.zip”. Now anyone can opt in to the newsletter during registering.
New location settings
Since DJ-Classifieds 3.7.8 version, the registration form can contain fields related to the user's location. There are new settings in DJ-Classifieds options available.
And that's how it looks on the front page:
Let's see how entering user location data during registration looks like.
The same location data later can be found in the user's profile.
During the registration, the user can fill in the data of his location, which will then appear automatically when adding the new advert.