Keyword

Custom user fields

  • Chris Brown
  • Chris Brown's Avatar Topic Author
  • Offline
  • New Member
More
8 years 5 months 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?

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 5 months 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.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Chris Brown
  • Chris Brown's Avatar Topic Author
  • Offline
  • New Member
More
8 years 5 months 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!

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 5 months 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.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum