6 years 6 months ago - 6 years 6 months ago#1by biaozhang
It is working now. Thanks for the quick action.
I noticed two issues in the user search result page.
1. It queries all the users including super user, and non-activated users.
Which file I can make changes to put additional condition to select the user types I want?
2. The left page of the search result page gives user the filters admin defined for search.
Instead of check box, how can I change to a drop down list, when user select a value from drop down,
it triggers the page to do the query.
The reason I raised this concern, is that in our search result page, we need to put a filter with 50 states
of USA, and put another 80 types of professional. It is taking too mush space if we put each state as
a check box option and another 80 check box at the left side.
If you do not have plan to fix this soon, you can just let me know on which file to make changes.
6 years 6 months ago - 6 years 6 months ago#2by biaozhang
3. Another question:
In the search result page, how to display other field value next to the user name and creation date?
Let's say I defined field_id 5 for State and field_id 6 for city, how can I display State and City under the user name of each user?
1 and 3, both feature is not available yet in Joom Profile. We will be giving these option in its upcoming release. We have not started yet, so it will take time.
for 2, you can do it by simple template overriding.
Copy the file
Root => comopnents => com_joomprofile => libraries => fields => <FIELD TYPE> => templates => field.<FIELD TYPE>.search.php
Root => templates => YourTemplate => html => com_joomprofile => field.<FIELD TYPE>.search.php
and make the required changes.
We are getting complain from users. Please let us know how to change the code to query the users excluding the super users, disabled users, and inactive users.
This is security related question, we need to provide the fix ASAP.
Thanks for the quick action.
The package I received works for excluding system seeded group( such as super user, registered), but it does not work for the new user groups I created. Everything else is fine. I like your idea defining the excluding group for each user group. Please investigate and fix this issue before you release the version 1.1.6.
Please cross check configuration.
Like the which you are expecting to be removed from search list, must not have multiple usergroup. Like if any usergroup can not search users of usergroup A and any user has usergroup A and B both. Then that user will be listed, because Usegroup B users will be displayed in search.
Hope, It makes sense.
If still issue is there, then please share the screen shot of Joom Profile usergroup configuration and users usergroup assignment screen.