HomeForumsProfile Builder ProHide Custom Profile Fields

This topic has 4 voices, contains 5 replies, and was last updated by  petacat 152 days ago.

Viewing 6 posts - 1 through 6 (of 6 total)
Author Posts
Author Posts
August 1, 2011 at 8:52 pm #1756
 Jomar

Hi,

I purchased profile builder pro but am wondering if there is any way to do this with the plugin. I want to create custom profile fields, some of which are visible to the end user, some of which are not. Is there any way to hide the custom fields I create using the plugin?

Thanks

August 2, 2011 at 8:48 am #1758
 Gabriel Barina

Hello Jomar,
at the moment there is no way (implemented) to hide the custom field (only by deleting it, but that isn’t really characterized as “hidden”, now is it :P ). It can be done though via custom coding (the easiest solution would be to hide a certain input type, e.g. a textarea or a select, rather than only one textarea, for instance).
What we had in mind for a future release the possibility to hide certain fields on the registration page, and then to complete them later on on the edit profile page.

Gabriel

August 3, 2011 at 11:55 pm #1775
 Clark

Another vote for this request! I’m surprised that these new fields (that are managed by the plugin itself) aren’t loaded in both views (“Default profile fields” and “Extra profile fields”).

I’d even push the request a step further and ask that my own previously added custom profile fields be usable. As far as I know, I added them in the correct way, via a hook, and that should be detectable by other plugins…

September 3, 2011 at 6:56 am #2080
 petacat

Hello, I have a similar comment/request/suggestion
It would be an excellent feature to have a setting that turns on/off showing a heading and all its contents on the register and profile pages. Better still to define what user level can see the heading. That will allow administrators to logically keep user information organised

This would make your product near perfect.

September 3, 2011 at 6:58 am #2081
 petacat

I also agree with the idea of hiding some fields at registration (i my case most of them) and showing them when logged in for filling at a later date.

September 5, 2011 at 5:45 am #2083
 petacat

Here is a code snippet that I used to kludge the result I wanted
I edited the file extra.fields.php in the premium/functions folder.

It works but only to exclude all after the default header when it is the last of the header. a much more elegant solution can be implemented by changing the array structure and providing a display/dont display option or much better a user_can(‘editor’) style check in the code for display when entering/modifying the header field.

if (!(( count($wppbFetchArray) == 1) && ($wppbFetchArray[0]['item_id'] == 'default_header') && ($wppbFetchArray[0]['item_title'] == 'Extra Profile Fields') && ($wppbFetchArray[0]['item_type'] == 'heading'))){
foreach($wppbFetchArray as $key => $value){
/*exclude Club only information */
if ($value['item_id']=='default_header') {echo 'Club Information hidden';break;}
/* end kludge */

switch ($value['item_type']) {
case "heading":{
echo ''.$value['item_title'].'';
break;
}

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.