• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 Hide members from autocomplete

MOZ

Well-known member
#1
For security measures I would like to remove admins from the autocomplete suggestion box that appears when users add other users to any field such as conversion recipients, members to follow, etc.
 
R

ragtek

Guest
#2
Security measures?
Why do you think this would help?


But, if you want to do it=> all the standard public xenforo username autocomplete fields get the data from XenForo_ControllerPublic_Member::actionFind

you would need to overwrite this, another way is to filter the user inside of the view object ( XenForo_ViewPublic_Member_Find )
 

MOZ

Well-known member
#3
Second option sounds nice, filtering from XenForo_ViewPublic_Member_Find.

How would I go about doing this.