# \[付费\] 基于用户主群组的用户搜索结果

**URL:** <https://meta.discourse.org/t/paid-user-search-results-based-on-users-primary-group/85376>\
**Category:** Marketplace\
**Created:** [2018年四月15日 14:40 UTC](https://meta.discourse.org/t/paid-user-search-results-based-on-users-primary-group/85376 "2018-04-15T14:40:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerry0](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jerry0/32/94523_2.png) [@jerry0](https://meta.discourse.org/u/jerry0)\
**Post date:** [2018年四月15日 14:40 UTC](https://meta.discourse.org/t/paid-user-search-results-based-on-users-primary-group/85376/1 "2018-04-15T14:40:53Z")

</div>

**What would you like done?**

A plugin - Our basic requirement is to restrict user search results to within user’s Primary Group (as defined in the users settings in user admin). Not even the username should be shown in the results list, other than to members of the user’s Primary Group.

(1) basic requirement

Right now, any search box entry will return results including users from across the site, like this:

 ![image](https://global.discourse-cdn.com/meta/original/3X/8/a/8adff389b40947cf45245bccf068274e9c84b1a2.png)

Same issue with mentioning of user within post:

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/a/0a0dd81872f13db12415e3ed80a3482371b0b1d1.png)

The plugin would limit output of user search to the user’s Primary Group.

The function would be very similar to that available already for Groups - in the Interactions settings:

 ![image](https://global.discourse-cdn.com/meta/original/3X/4/5/452c49b71759ba2e6d0dd43e990b17c5c521aad1.png)

The settings for the user would instead be:

A) Visibility  
Who can see this user?

- Everyone (normal setting)
- Members of the user’s primary group and admins

B) Posting  
Who can @mention this user?

- Everyone (normal setting)
- Members of the user’s primary group and admins

(2) advanced version

We have had to set Personal Messaging off entirely to prevent PM to everyone on site, and also turned off the User Directory. However ideally we would allow both of these if we could restrict these to only user’s Primary Group.

So in the advanced version the two following settings would also be available:

C) Personal Messaging  
Who can message user?

- Everyone (normal setting)
- Members of the user’s primary group and admins

D) User Directory  
Who can see this user?

- Everyone (normal setting)
- Members of the user’s primary group and admins

**When do you need it done?**

ASAP, 1-2 months max

**What is your budget, in $ USD that you can offer for this task?**

For basic requirement (1) - a fair price, please PM me with a proposal  
For the advanced version - more!

---

<div class="post-metadata">

**Author:** ![jerry0](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jerry0/32/94523_2.png) [@jerry0](https://meta.discourse.org/u/jerry0)\
**Post date:** [2018年四月17日 06:09 UTC](https://meta.discourse.org/t/paid-user-search-results-based-on-users-primary-group/85376/2 "2018-04-17T06:09:06Z")

</div>

We are still looking for a developer to help us work on this plugin…

---

<div class="post-metadata">

**Author:** ![mbcahyono](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mbcahyono/32/97721_2.png) [@mbcahyono](https://meta.discourse.org/u/mbcahyono)\
**Post date:** [2018年四月19日 12:54 UTC](https://meta.discourse.org/t/paid-user-search-results-based-on-users-primary-group/85376/3 "2018-04-19T12:54:53Z")

</div>

Drop me an email: [muhlisbc@gmail.com](mailto:muhlisbc@gmail.com) if you’re still looking for someone. I’d be happy to help you out.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2018年五月19日 12:54 UTC](https://meta.discourse.org/t/paid-user-search-results-based-on-users-primary-group/85376/4 "2018-05-19T12:54:55Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
