I have a profile field called "company" (profiles_companyname) which shows in the setings page for displaying and ordering the content. However, when i access it, no data is populated in that column, although all the others are. is this a bug or did I miss something?
thanks!

Comments

Haroldc’s picture

I have just discovered that any new additions would show up and that I needed to go in and re-enter the already existing user's fields. Having done that, all seems to be fine now.

pukku’s picture

Hmmm. This sounds weird. What kind of field is it?

Thanks,
Ricky

Haroldc’s picture

Sorry for the delay - was away from this and I have been using a work around.
I will try to explain what is going on in better detail.
I have a private news forum for my corporate customers only. There can be several users from each company, so to keep them organized, I have created a "profile" called "company". I do not want the actual users to see or interact with each other and I do not want them to see or be to able to alter the company profile - it is for admin purposes only, therefore the profile security setting is set to "Hidden field - accessible only by admin, modules, etc".
The version of Site User List downloaded in November does show the Company profile header in the columns, but the content is blank. In order for me to have the colum populated I must first change to profile security to anything other than hidden, create and/or edit the users company profile field, regenerate the database, then go back into profile security and change it back to "hidden".
Hope this is more clear.

pukku’s picture

Are you using a view or a table?

Can you go into your database and do a SELECT * FROM site_user_list_[view|table] LIMIT 10 and see if there is data in the field there?

I'm trying to determine if the issue is with the view/table, or with the display of the data.

Thanks,
Ricky

Haroldc’s picture

Sorry, I am new at this stuff and not quite sure how to access the data base to answer your question, so let me explain what I am doing in more detail - perhaps that will help.
In the Profiles Module, I created a new "single line text field". I gave it a category name of "Groups" and the title is called "Company" with the associated form name of "profile_companyname". The privacy setting is at "Hidden" because it is strictly for my purposes only and I do not want users to see or access it. So, now when I create a new user, there is an additional field for Groups / Company.
Site User List properly shows the "Company" column and it is populated with all of the company names that I have put in for each user thus far. The problem is that when I add a new user, Site User List does not pick up the Company Name when the privacy setting for that single line text profile group is set to "hidden". The only way that I can get my new user's company name to show up in the column is if I remember to first edit the profile security to anything other than hidden, create my new user, regeneragte the database, then put the security setting back to hidden.
Hope this helps!
Thanks

pukku’s picture

Hi!

- What version of MySQL are you using? And are you set to use a table or a view for Site User List?

- The module will only take data from public profile fields. This is sort of a "security" issue. But also, if the data is supposed to be private, why would you want to display it to everyone?

What I can do, though it may take a few days, is to add in a configuration option about respecting the privacy settings, so you can choose to ignore them if you wish.

Ricky

pukku’s picture

Assigned: Unassigned » pukku
Status: Active » Fixed

I've just committed a patch for this — at least, I think I have. You should now be able to allow hidden fields to be available.

pukku’s picture

Status: Fixed » Closed (fixed)