Skip to Content Skip to Menu

adding a cb_field column in user manager backend

9 years 5 months ago #265027 by tlwebdesign
Hi,

I already asked this in the open forum to avoid double posting but was asked to ask it here.

So here i go.

I added a custom CB Field with employee number. I would like to have this visible / filterable in the user manager in Joomla backend. From what the other post said this was going to be a feature in CB 2.
Would like to know if this is already implemented and if yes how i use it.

Kind regards
Tom

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
9 years 5 months ago #265032 by krileon
You can filter by any CB field with a DB column by clicking Search Tools in CB > User Management. Then the bottom search tool lets you select a field, the operator for the compare, and a value to search for. This is a repeat usage so you can press the + and add more field filters as well. CB can't extend Joomlas user manager. You need to use CB > User Management.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

9 years 5 months ago #265041 by tlwebdesign
Replied by tlwebdesign on topic adding a cb_field column in user manager backend
Hi Krileon,

I am talking about the CB > User Management. I need to add a column in the table. And maybe remove a column too.

From that other post it said that it would become available in CB 2.

This is a different thing from the search feature.

Regards
Tom

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
9 years 5 months ago #265044 by krileon
Ah, the only way to add a new column is using our XML API. We just recently implemented support for this. CBSubs is utilizing it now to add the Subscriptions column to CB 2.0.9.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

9 years 5 months ago #265078 by tlwebdesign
Replied by tlwebdesign on topic adding a cb_field column in user manager backend
Is there any documentation on this api? I can't find anything. Maybe you could share the one file that has the code for that extra column?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
9 years 5 months ago #265103 by krileon
The below file in CBSubs is what is adding the new column and new filters.

components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/xml/views/view.com_comprofiler.showusers.xml

The path is strict. Your plugin would need to have exactly the following.

xml/views/view.com_comprofiler.showusers.xml

It'd then load that XML file from your plugin and add its XML to the existing user management XML.

We won't have any API documentation until later. There's just no time for that right now. This was also just implemented with 2.0.9. We'll probably have a way of adding more columns easier in a later release or letting you toggle field columns on at some point, but I've no idea when.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

Moderators: beatnantkrileon
Powered by Kunena Forum