It shouldn't be used by CB Auto Actions in nearly all cases as CB Auto Actions can't really do anything on it except possibly risking breaking field output. It's for custom plugins to alter field output. For example it's used by CB Privacy to remove field values when privacy doesn't match.Don´t you think this sounds contradictionary? I should not use it unless I know how to use it but you do not provide any documentation on how to use it. Weird.
Move it to a tab in a not shown on profile position. Then add the delimiter field to a column in your userlist. It now is only visible in userlist view. To remove its profile edit display use CB Privacy (CB 1.10 will have an option to disable edit display of a field). The field needs to be set to display on profile for it to show on userlist, but since its tab doesn't show on profile it won't be visible on profile.Well there are some weird things happening when I try to follow this advice. For this delimiter field you have suggested, I dont´t want the user to be able to search for it. Well basically this delimiter field should only show up in the userlist view. While the field the delimiter field relies on should appear on profile and on the search form.
The field needs to be API accessible for CB to grab its value. I'd have a better idea of what to suggest if you provide your substitution usage and what you want to accomplish with it.2. When I use the IF statement in the delimiter field to validate a specific value from another field it seems that it will only return a result when the other field is visible. When I set the condition for the field to check on to "hide" and try to validate the value, then nothing gets returned. I would have expected the IF-statement to check on real value and not on visiblitiy. Or is there a way to tell the IF-statement to disregard the visibility state of the field?
Please Log in or Create an account to join the conversation.
Yeah right, but there is no documentation for plugin usage as well? Unless I have overlooked it.krileon wrote: It's for custom plugins to alter field output. For example it's used by CB Privacy to remove field values when privacy doesn't match.
I will try that.krileon wrote: Move it to a tab in a not shown on profile position. Then add the delimiter field to a column in your userlist. It now is only visible in userlist view. To remove its profile edit display use CB Privacy (CB 1.10 will have an option to disable edit display of a field). The field needs to be set to display on profile for it to show on userlist, but since its tab doesn't show on profile it won't be visible on profile.
I need to transform the search by value into a binary search. For some fields for my users it is only important to know if a field contains a value and not what value it is.krileon wrote: The field needs to be API accessible for CB to grab its value. I'd have a better idea of what to suggest if you provide your substitution usage and what you want to accomplish with it.
Please Log in or Create an account to join the conversation.
It's not documented, but we've several plugins utilizing it that provide good starting points/example. We've also our API documentation in the free downloads section that may help with creating your own custom plugin.Yeah right, but there is no documentation for plugin usage as well? Unless I have overlooked it.
The only way to do this is to completely replace the search functionality of a field (I don't recommend doing this) using a new CB plugin.I need to transform the search by value into a binary search. For some fields for my users it is only important to know if a field contains a value and not what value it is.
For example: A user has a field for his car: A BMW (to make this exciting)
For a user performing a search in my case it is only important to know if the field "car" has a value and not what value it is. So for the search form the user only ticks the box "car" and the search returns all users with field car not empty.
That is the first part of my requirement. Basically to transform the search into a binary search and not a search by value.
This is very doable with a delimiter field and an IF substitution to test the value of the field. If the value is a match then display the HTML you've supplied (could be an image tag, etc..).My second requirement is to make better use of the space within the userlist. So for some values I prefer displaying an image instead of the value term.
For example: When I have a select field that contains the value if a user has a pet. While the value for displaying in profile view and for registration would be "Yes I have a pet", for user list as due to the limited space it should only be a pet icon.
Please Log in or Create an account to join the conversation.
That is only one part of the solution. The delimiter field will show on the user list. But the original field shows up on user list as well. So when I try to hide the original field by using conditionals then the delimiter field loses the value too.krileon wrote: This is very doable with a delimiter field and an IF substitution to test the value of the field. If the value is a match then display the HTML you've supplied (could be an image tag, etc..).
Once the delimiter field is setup you move it to a tab that is in a not shown on profile position. Next you hide the tab or the field from profile edit using CB Privacy. This will allow you to use the delimiter field on your userlist without it displaying anywhere else. Note the field must still be set to display on profile, but it won't because its tab is in a hidden position.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.