- Posts: 8
COMMUNITY FORUM
Custom user fields
- Chris Brown
-
Topic Author
- Offline
- New Member
Less
More
9 years 2 weeks ago #153821
by Chris Brown
Custom user fields was created by Chris Brown
I'd like to create a directory of K2 users that can be shown on the front end of my website.
I'd like to create a registration page where users can add their name, email address, city, and fill in 3 other custom fields. These users would be members of my website and would have access to a members-only directory of other users.
New users would need to be approved by admin (me) before being able to join the website. Once approved, they would have access to the above mentioned directory (that shows all of those fields for each member) and other exclusive content.
Can I use K2 to achieve this?
I'd like to create a registration page where users can add their name, email address, city, and fill in 3 other custom fields. These users would be members of my website and would have access to a members-only directory of other users.
New users would need to be approved by admin (me) before being able to join the website. Once approved, they would have access to the above mentioned directory (that shows all of those fields for each member) and other exclusive content.
Can I use K2 to achieve this?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 2 weeks ago #153830
by Krikor Boghossian
Replied by Krikor Boghossian on topic Custom user fields
Yes you can.
The custom users fields should be stored via a K2 plugin, you can use this plugin as a starting point - github.com/getk2/user-extended-fields-for-k2
You might need to tweak it to your needs. From that point everything else ACL/ User approval is pretty much standard Joomla!.
The list of the users can be generated via a Latest Items by Users menu or with a K2 Users module.
The custom users fields should be stored via a K2 plugin, you can use this plugin as a starting point - github.com/getk2/user-extended-fields-for-k2
You might need to tweak it to your needs. From that point everything else ACL/ User approval is pretty much standard Joomla!.
The list of the users can be generated via a Latest Items by Users menu or with a K2 Users module.
Please Log in or Create an account to join the conversation.
- Chris Brown
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 8
9 years 2 weeks ago #153847
by Chris Brown
Replied by Chris Brown on topic Custom user fields
I installed K2 and the extended fields plugin. How do I edit/change the fields to the ones I need?
Thanks!
Thanks!
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 2 weeks ago #153875
by Krikor Boghossian
Replied by Krikor Boghossian on topic Custom user fields
You can use this plugin as base to develop your own.
Just as any other plugin the fields are defined in the .xml file.
If you do not wish to code, you can look at the JED or the KED for a similar extension.
Just as any other plugin the fields are defined in the .xml file.
If you do not wish to code, you can look at the JED or the KED for a similar extension.
Please Log in or Create an account to join the conversation.