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

Fixed All prefixes show in search - even with lack of permissions

Liam W

Well-known member
#2
I would say it isn't, as users can view them when they've been applied to a thread, and people may want to search for them...

Liam
 

Mike

XenForo developer
Staff member
#3
Are the prefixes available in a forum they can view? If so, they're known and can be filtered on.

If they're not applied to a forum they can view, that would be a bug -- but I know there is code to handle that case.
 

Razasharp

Well-known member
#4
Are the prefixes available in a forum they can view? If so, they're known and can be filtered on.

If they're not applied to a forum they can view, that would be a bug -- but I know there is code to handle that case.
Hi Mike, they are in the private mod forum and set to be only usable by the admin and mod groups.
 

Mike

XenForo developer
Staff member
#5
Are they in their own unique group? I believe that case was handled already.

The workaround is to change library/XenForo/Search/DataHandler/Post.php:
Code:
foreach ($viewParams['prefixes'] AS $key => &$prefixes)
Add the character in red.